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 |
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 | |
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 |
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
do | |
# WRITE | |
(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)& | |
done | |
# READ |
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 | |
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 |
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
while : | |
do | |
echo "BOOTING VMs" | |
nova boot --flavor 84 --image $1 --nic net-id=$2 --key-name test-key test1 | |
nova boot --flavor 84 --image $1 --nic net-id=$2 --key-name test-key test2 | |
nova boot --flavor 84 --image $1 --nic net-id=$2 --key-name test-key test3 | |
nova boot --flavor 84 --image $1 --nic net-id=$2 --key-name test-key test4 | |
nova boot --flavor 84 --image $1 --nic net-id=$2 --key-name test-key test5 | |
nova boot --flavor 84 --image $1 --nic net-id=$2 --key-name test-key test6 | |
nova boot --flavor 84 --image $1 --nic net-id=$2 --key-name test-key test7 |
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
diff --git a/neutron/db/db_base_plugin_v2.py b/neutron/db/db_base_plugin_v2.py | |
index 479b816..4ac2a66 100644 | |
--- a/neutron/db/db_base_plugin_v2.py | |
+++ b/neutron/db/db_base_plugin_v2.py | |
@@ -149,15 +149,16 @@ class NeutronDbPluginV2(neutron_plugin_base_v2.NeutronPluginBaseV2, | |
def _delete_ip_allocation(context, network_id, subnet_id, ip_address): | |
# Delete the IP address from the IPAllocate table | |
- LOG.debug("Delete allocated IP %(ip_address)s " | |
+ LOG.warn("Delete allocated IP %(ip_address)s " |
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
set -x | |
OVS_REPO=${OVS_REPO:-http://github.com/openvswitch/ovs.git} | |
OVS_REPO_NAME=$(basename ${OVS_REPO} | cut -f1 -d'.') | |
OVN_REPO_NAME=$OVS_REPO_NAME | |
OVN_REMOTE=${OVN_REMOTE:-tcp:$HOST_IP:6640} | |
OVS_BRANCH=${OVS_BRANCH:-origin/master} | |
USE_SCREEN=${USE_SCREEN:-True} | |
SCREEN_NAME=${SCREEN_NAME:-ovn} | |
SCREEN_SLEEP=${SCREEN_SLEEP:-1} |