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
This commit is contained in:
Justin Riley 2015-05-18 13:24:40 -04:00
parent 354ba01c8f
commit f77ca0e05b

View File

@ -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