Test the DVR configuration. - PrzemekGrygiel/RHOS10_OVS_with_DVR GitHub Wiki
curl -O http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img
glance image-create --file cirros-0.3.5-x86_64-disk.img --container-format bare --disk-format qcow2 --name cirros
nova flavor-create m1.tiny auto 512 1 1
###network
neutron net-create test; neutron subnet-create test 1.1.1.0/24
#floating IP
neutron net-create public --provider:segmentation_id 200 --provider:network_type vlan --provider:physical_network datacentre --router:external True
neutron subnet-create public --allocation-pool start=10.87.29.171,end=10.87.29.174 --gateway=10.87.29.161 --enable_dhcp=False 10.87.29.160/28
#router
neutron router-create router
neutron router-gateway-set router public
neutron router-interface-add router $(neutron net-list | grep test | awk '{print $6}')
#VM
nova boot --flavor m1.tiny --image cirros --nic net-id=$(neutron net-list | grep test | awk '{print $2}') test1