summaryrefslogtreecommitdiffstats
path: root/ci/nosdn/juju-deployer/scripts/cloud-setup.sh
diff options
context:
space:
mode:
authorSamantha Jian-Pielak <samantha.jian-pielak@canonical.com>2016-01-15 12:13:59 -0800
committerNarinder Gupta <narinder.gupta@canonical.com>2016-01-23 00:02:50 +0000
commit9c44b12f90f111ca3536c2b49a4e5a79365d4ead (patch)
tree5b04224c661ac676ae34e7b637ef76ca80e04d21 /ci/nosdn/juju-deployer/scripts/cloud-setup.sh
parent327e284267ecb164fb84a706556ca7c9e08d358f (diff)
The external net configuration on the OpenStack Cloud should be set to be shared in order to access the floating IP of the instance.
Change-Id: If3e1644d16265a942189321cbcf321661b1f2a34 (cherry picked from commit 28e3c1f2e363be953958a549b965c6f6f80a0979)
Diffstat (limited to 'ci/nosdn/juju-deployer/scripts/cloud-setup.sh')
-rwxr-xr-xci/nosdn/juju-deployer/scripts/cloud-setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/nosdn/juju-deployer/scripts/cloud-setup.sh b/ci/nosdn/juju-deployer/scripts/cloud-setup.sh
index 184cecc6..de0dd764 100755
--- a/ci/nosdn/juju-deployer/scripts/cloud-setup.sh
+++ b/ci/nosdn/juju-deployer/scripts/cloud-setup.sh
@@ -17,7 +17,7 @@ keystone user-create --name demo --tenant demo --pass demo --email demo@demo.dem
nova keypair-add --pub-key id_rsa.pub ubuntu-keypair
# configure external network
-neutron net-create ext-net --router:external --provider:physical_network external --provider:network_type flat
+neutron net-create ext-net --router:external --provider:physical_network external --provider:network_type flat --shared
neutron subnet-create ext-net --name ext-subnet --allocation-pool start=10.5.8.5,end=10.5.8.254 --disable-dhcp --gateway 10.5.8.1 10.5.8.0/24
# create vm network