diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2015-11-11 15:02:42 -0600 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2015-11-11 15:03:23 -0600 |
commit | 69ec5a0749eddb8c484d9f62dc087c163372edac (patch) | |
tree | c69d5e2197437bd08dea10a059e5119a6986d729 /ci/odl/juju-deployer/scripts/cloud-setup.sh | |
parent | b7b23a46f98bf279fd6b31ed5928e3045cfc746e (diff) |
modified scripts to configure network
Change-Id: I141ffc30dae91240619b32e9c8361d53e06655a6
Author: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/odl/juju-deployer/scripts/cloud-setup.sh')
-rwxr-xr-x | ci/odl/juju-deployer/scripts/cloud-setup.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ci/odl/juju-deployer/scripts/cloud-setup.sh b/ci/odl/juju-deployer/scripts/cloud-setup.sh index b18d798f..b151ce36 100755 --- a/ci/odl/juju-deployer/scripts/cloud-setup.sh +++ b/ci/odl/juju-deployer/scripts/cloud-setup.sh @@ -14,11 +14,11 @@ neutron security-group-rule-create --direction ingress --ethertype IPv4 --protoc keystone tenant-create --name demo --description "Demo Tenant" keystone user-create --name demo --tenant demo --pass demo --email demo@demo.demo -nova keypair-add --pub-key ~/.ssh/id_rsa.pub ubuntu-keypair +nova keypair-add --pub-key id_rsa.pub ubuntu-keypair # configure external network neutron net-create --router:external --provider:physical_network external --provider:network_type flat ext-net -neutron subnet-create --name ext-subnet --no-gateway --allocation-pool start=10.2.65.201,end=10.2.65.255 --disable-dhcp ext-net 10.2.65.0/24 +neutron subnet-create --name ext-subnet --no-gateway --allocation-pool start=10.2.65.201,end=10.2.65.254 --disable-dhcp ext-net 10.2.65.0/24 # create vm network neutron net-create demo-net @@ -33,7 +33,7 @@ neutron router-gateway-set demo-router ext-net # create pool of floating ips i=0 while [ $i -ne 10 ]; do - neutron floatingip-create public-net + neutron floatingip-create ext-net i=$((i + 1)) done |