modified as docker does not installed so use python. 07/41807/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Wed, 13 Sep 2017 00:22:56 +0000 (19:22 -0500)
committerNarinder Gupta <narinder.gupta@canonical.com>
Wed, 13 Sep 2017 00:22:56 +0000 (19:22 -0500)
Change-Id: I9ecffb002ec5886bf7c4b7e139a299310698a920
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/openstack.sh

index 8d25a4e..a32bb99 100755 (executable)
@@ -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