Skip to content

Instantly share code, notes, and snippets.

@salv-orlando
Created June 13, 2013 22:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save salv-orlando/5778055 to your computer and use it in GitHub Desktop.
Save salv-orlando/5778055 to your computer and use it in GitHub Desktop.
cleanup script
for (( k=0; k<$1; k++ ))
do
for (( j=0; j<$2; j++ ))
do
quantum port-delete port-$k-$j
done
quantum net-delete net-$k
quantum net-list
quantum port-list
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment