summaryrefslogtreecommitdiffstats
path: root/jjb/joid/joid-deploy.sh
diff options
context:
space:
mode:
authormeimei <meimei@huawei.com>2016-01-21 11:16:21 +0800
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-01-21 09:57:22 +0000
commit39b1b26786cb1f576c3ca6b0646089cf26e70a03 (patch)
treecc1ed2c2c4d437477f814bab15354f5156dba257 /jjb/joid/joid-deploy.sh
parent9f28a180402d27608b03e9343e852aa40c8884ac (diff)
don't create external network when we have onos
because onos will create ext-net itself Change-Id: If7b080f1a53b62af1ce50d5140adcd557810e846 Signed-off-by: meimei <meimei@huawei.com>
Diffstat (limited to 'jjb/joid/joid-deploy.sh')
-rw-r--r--jjb/joid/joid-deploy.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/jjb/joid/joid-deploy.sh b/jjb/joid/joid-deploy.sh
index 991a2bc5a..c0fdfe512 100644
--- a/jjb/joid/joid-deploy.sh
+++ b/jjb/joid/joid-deploy.sh
@@ -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 \