Created
May 17, 2013 10:43
-
-
Save salv-orlando/5598358 to your computer and use it in GitHub Desktop.
Create stuff on quantum
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (( k=0; k<$1; k++ )) | |
do | |
quantum net-create net-$k | |
quantum subnet-create net-$k 10.0.$k.0/24 --name sub-$k | |
for (( j=0; j<$2; j++ )) | |
do | |
quantum port-create net-$k --name port-$k-$j | |
done | |
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