diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2017-09-09 14:12:34 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-09-09 14:12:34 +0000 |
commit | a4d2035eb10bff0017fff90ac3797db38074704a (patch) | |
tree | 74ab328061dc3464125f804982f8069562a3980a /ci/openstack.sh | |
parent | b29acb43879728de373f643ee0e3ca684c42df8c (diff) | |
parent | 6a7cd39b6fd468fde67fa8a95f31cf7c06cbbadb (diff) |
Merge "Revert "External network for ocl""
Diffstat (limited to 'ci/openstack.sh')
-rwxr-xr-x | ci/openstack.sh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/ci/openstack.sh b/ci/openstack.sh index b9504d2a..d449fb1b 100755 --- a/ci/openstack.sh +++ b/ci/openstack.sh @@ -169,18 +169,6 @@ if [ "onos" == "$opnfvsdn" ]; then launch_eth neutron net-show ext-net > /dev/null 2>&1 || neutron net-create ext-net \ --router:external=True -if [ "ocl" == "$opnfvsdn" ]; then - if [ ! neutron net-show ext-net > /dev/null 2>&1 ] - then - neutron net-create ext-net - LAST_UNIT=`juju status | grep nova-compute/ | tail -1 | cut -c14` - for ii in {0..$LAST_UNIT} - do - ssh $II sudo docker exec contrail-controller \ - python /opt/contrail/utils/provision_vgw_interface.py\ - --oper create --interface vgw1 --subnets $SUBNET --routes 0.0.0.0/24 --vrf default-domain:admin:$FIP-VN:$FIP-VN - done - fi else neutron net-show ext-net > /dev/null 2>&1 || neutron net-create ext-net \ --router:external=True \ |