diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2016-10-18 13:06:06 -0500 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2016-10-18 13:35:10 -0500 |
commit | 08aff60e052b5b697d8b4e53ef55c6827611999f (patch) | |
tree | 335d632cf9b447ff4b0b7ce19cd619338f85a3c9 /ci/openstack.sh | |
parent | e9d7bab1c99f0c5cbac1265d3cbd661bc9c62dbc (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-x | ci/openstack.sh | 6 |
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 |