Create a "shared" network (i.e., a network that can be used by all tenants)
quantum net-create --shared public-net
Create a subnet that has a specific gateway IP address.
quantum subnet-create --gateway 10.0.0.254 net1 10.0.0.0/24
Create a subnet that has no gateway IP address.
quantum subnet-create --no-gateway net1 10.0.0.0/24
Create a subnet for which DHCP is disabled.
quantum subnet-create net1 10.0.0.0/24 --enable_dhcp False
Create subnet with a specific set of host routes:
quantum subnet-create test-net1 40.0.0.0/24 --host_routes type=dict list=true destination=40.0.1.0/24,nexthop=40.0.0.2
Create subnet with a specific set of dns nameserver:
quantum subnet-create test-net1 40.0.0.0/24 --dns_nameservers list=true 8.8.8.7 8.8.8.8