summaryrefslogtreecommitdiffstats
path: root/ci/openstack.sh
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-10-18 13:06:06 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2016-10-18 13:35:10 -0500
commit08aff60e052b5b697d8b4e53ef55c6827611999f (patch)
tree335d632cf9b447ff4b0b7ce19cd619338f85a3c9 /ci/openstack.sh
parente9d7bab1c99f0c5cbac1265d3cbd661bc9c62dbc (diff)
adding support for Newton and correct provide type.
Change-Id: I98cc23946891c785b1056e5d1d9486ab2f591422 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
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