From 4443392f6e7315328880a2744cd89492045d8507 Mon Sep 17 00:00:00 2001 From: Justin Riley Date: Fri, 1 May 2015 12:44:07 -0400 Subject: [PATCH] fix net-create call for public1 in tools/init-runonce The --router:external option is a boolean flag that doesn't take a value (neutron client version 2.5.0). Passing True results in the following error: Invalid values_specs True This patch simply removes the 'True' value. Change-Id: If4b5305f37d50c14c767393eb21223b0e0b59494 --- tools/init-runonce | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/init-runonce b/tools/init-runonce index b64c518937..3ab284d363 100755 --- a/tools/init-runonce +++ b/tools/init-runonce @@ -43,7 +43,7 @@ if [[ "${NETWORK_MANAGER}" == "nova" ]] ; then nova network-create vmnet --fixed-range-v4=10.0.0.0/24 --bridge=br100 --multi-host=T else echo Configuring neutron. - neutron net-create public1 --router:external True --provider:physical_network physnet1 --provider:network_type flat + 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