summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-09-12 19:22:56 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2017-09-12 19:22:56 -0500
commit8752ecf2cf91e027bd2f722129ada65fbb8c0183 (patch)
treea7507eedd460ec83f1ae1b6b71723d3b8f741779
parent85be80d968e676c4f0eeb85ecdc54867a43bafe7 (diff)
modified as docker does not installed so use python.
Change-Id: I9ecffb002ec5886bf7c4b7e139a299310698a920 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
-rwxr-xr-xci/openstack.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/openstack.sh b/ci/openstack.sh
index 8d25a4e7..a32bb998 100755
--- a/ci/openstack.sh
+++ b/ci/openstack.sh
@@ -187,8 +187,8 @@ neutron subnet-show ext-subnet > /dev/null 2>&1 || neutron subnet-create ext-net
# Ocl can push packets to the fabric network in order to reach a gateway if BGP/L3VPN hasn't been configured.
if [ "ocl" == "$opnfvsdn" ]; then
echo "Creating simple gateway functions on ocl vRouters"
- juju run --application nova-compute "sudo docker exec contrail-controller \
- python /opt/contrail/utils/provision_vgw_interface.py\
+ juju run --application nova-compute "sudo \
+ python /opt/contrail/utils/provision_vgw_interface.py \
--oper create --interface vgw1 --subnets $EXTNET_NET --routes 0.0.0.0/24 --vrf default-domain:admin:ext-net:ext-net"
fi