From 39b1b26786cb1f576c3ca6b0646089cf26e70a03 Mon Sep 17 00:00:00 2001 From: meimei Date: Thu, 21 Jan 2016 11:16:21 +0800 Subject: [PATCH] don't create external network when we have onos because onos will create ext-net itself Change-Id: If7b080f1a53b62af1ce50d5140adcd557810e846 Signed-off-by: meimei --- jjb/joid/joid-deploy.sh | 2 ++ 1 file changed, 2 insertions(+) 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 \ -- 2.16.6