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
committerSamantha Jian-Pielak <samantha.jian-pielak@canonical.com>2016-01-15 12:13:59 -0800
commit28e3c1f2e363be953958a549b965c6f6f80a0979 (patch)
tree88c327bf29e342df236eb4fe14bca0cbc5098f26 /ci/nosdn/juju-deployer/scripts/cloud-setup.sh
parent6f217c3f6b5151546148409a28f9b14a2e3a0a61 (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
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