diff options
| author | Justin Riley <justin.t.riley@gmail.com> | 2015-05-18 13:24:40 -0400 |
|---|---|---|
| committer | Justin Riley <justin.t.riley@gmail.com> | 2015-05-18 13:24:40 -0400 |
| commit | f77ca0e05b679235a08616412de834a1cbf53b7d (patch) | |
| tree | 525911cd3932880f468242f8240a472647bfaa7f /tools | |
| parent | 354ba01c8f5c7e1695cbea3bfc07aee5b75e76d9 (diff) | |
| download | kolla-f77ca0e05b679235a08616412de834a1cbf53b7d.tar.gz kolla-f77ca0e05b679235a08616412de834a1cbf53b7d.zip | |
fix subnet-create call for demo-net
(neutron client version: 2.5.0)
The option is --dns-nameservers not --dns_namservers and the
subnet-create subcommand expects the NETWORK and CIDR to be adjacent
args.
Change-Id: I4f776632902fd001c38ee5c8c87a213883ca87be
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/init-runonce | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/init-runonce b/tools/init-runonce index 3ab284d36..25d05cf61 100755 --- a/tools/init-runonce +++ b/tools/init-runonce @@ -46,7 +46,7 @@ else neutron net-create public1 --router:external --provider:physical_network physnet1 --provider:network_type flat neutron subnet-create --name 1-subnet --disable-dhcp --allocation-pool start=10.0.2.150,end=10.0.2.199 public1 10.0.2.0/24 --gateway 10.0.2.1 neutron net-create demo-net --provider:network_type vxlan --provider:segmentation_id 10 - neutron subnet-create demo-net --name demo-subnet --gateway 10.0.0.1 10.0.0.0/24 --dns_nameservers list=true 8.8.8.8 + neutron subnet-create demo-net 10.0.0.0/24 --name demo-subnet --gateway 10.0.0.1 --dns-nameservers list=true 8.8.8.8 neutron router-create demo-router neutron router-interface-add demo-router demo-subnet neutron router-gateway-set demo-router public1 |
