summaryrefslogtreecommitdiffstats
path: root/ci/openstack.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/openstack.sh')
-rwxr-xr-xci/openstack.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/ci/openstack.sh b/ci/openstack.sh
index 1e759ff7..80b6b3da 100755
--- a/ci/openstack.sh
+++ b/ci/openstack.sh
@@ -229,13 +229,15 @@ elif [ "nosdn" == "$opnfvsdn" ]; then
neutron net-show ext-net > /dev/null 2>&1 || neutron net-create ext-net \
--router:external=True \
--provider:network_type flat \
- --provider:physical_network external
+ --provider:physical_network physnet1
neutron subnet-show ext-subnet > /dev/null 2>&1 || neutron subnet-create ext-net \
--name ext-subnet --allocation-pool start=$EXTNET_FIP,end=$EXTNET_LIP \
--disable-dhcp --gateway $EXTNET_GW $EXTNET_NET
else
- neutron net-show ext-net > /dev/null 2>&1 || neutron net-create ext-net --router:external=True
+ neutron net-show ext-net > /dev/null 2>&1 || neutron net-create ext-net --router:external=True \
+ --provider:physical_network physnet1
+
neutron subnet-show ext-subnet > /dev/null 2>&1 || neutron subnet-create ext-net \
--name ext-subnet --allocation-pool start=$EXTNET_FIP,end=$EXTNET_LIP \
--disable-dhcp --gateway $EXTNET_GW $EXTNET_NET