don't create external network when we have onos 41/7541/3
authormeimei <meimei@huawei.com>
Thu, 21 Jan 2016 03:16:21 +0000 (11:16 +0800)
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>
Thu, 21 Jan 2016 09:57:22 +0000 (09:57 +0000)
because onos will create ext-net itself

Change-Id: If7b080f1a53b62af1ce50d5140adcd557810e846
Signed-off-by: meimei <meimei@huawei.com>
jjb/joid/joid-deploy.sh

index 991a2bc..c0fdfe5 100644 (file)
@@ -199,6 +199,8 @@ exit_on_error $? "Deploy FAILED to auth to openstack"
 # If we have more information than only the name, try to create it
 if [ -z "$EXTNET_TYPE" ]; then
     echo "------ No data for external network creation, pass ------"
+elif [[ "$DEPLOY_SCENARIO" =~ "onos" ]]; then
+    echo "------ ONOS have created the external network, pass ------"
 else
     echo "------ External network creation ------"
     neutron net-create $EXTNET_NAME --router:external True \