From f77ca0e05b679235a08616412de834a1cbf53b7d Mon Sep 17 00:00:00 2001 From: Justin Riley Date: Mon, 18 May 2015 13:24:40 -0400 Subject: [PATCH] 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 --- tools/init-runonce | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/init-runonce b/tools/init-runonce index 3ab284d363..25d05cf61b 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