summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Riley <justin.t.riley@gmail.com>2015-04-29 11:41:30 -0400
committerJustin Riley <justin.t.riley@gmail.com>2015-04-29 22:17:24 -0400
commitc1ae4018233679b703dfe56a839d422d66eb0a1b (patch)
tree63eda2c4a86218eff0dd3c5dd74704168ef054e9
parenta59918375f1be3ab9ed05a6acbab62ce8c27ce41 (diff)
downloadkolla-c1ae4018233679b703dfe56a839d422d66eb0a1b.tar.gz
kolla-c1ae4018233679b703dfe56a839d422d66eb0a1b.zip
neutron subnet-create requires args at the end
The network name must be next to the CIDR otherwise `neutron subnet-create` gets confused. Change-Id: Ie8b19d3824e5e25f80c61f0794595813c80b98da
-rwxr-xr-xtools/init-runonce2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/init-runonce b/tools/init-runonce
index 38b5856b3..4002f2cd7 100755
--- a/tools/init-runonce
+++ b/tools/init-runonce
@@ -46,7 +46,7 @@ else
neutron net-create public1 --router:external True --provider:physical_network physnet1 --provider:network_type flat
neutron subnet-create --name 1-subnet --disable-dhcp --allocation-pool start=192.168.100.150,end=192.168.100.199 public1 192.168.100.0/24 --gateway 192.168.100.1 --dns_nameservers list=true 192.168.100.1
neutron net-create demo-net --provider:network_type vxlan --provider:segmentation_id 10
- neutron subnet-create demo-net --name demo-subnet --gateway 10.10.10.1 10.10.10.0/24
+ neutron subnet-create --name demo-subnet --gateway 10.10.10.1 demo-net 10.10.10.0/24
neutron router-create demo-router
neutron router-interface-add demo-router demo-subnet
neutron router-gateway-set demo-router public1