Create a network
$ quantum net-create net1
Create a subnet associated with net1
$ quantum subnet-create net1 10.0.0.0/24
List ports on a tenant
$ quantum port-list
device_owner field describes who owns the port. A port whose device_owner begins with "network:" is created by Quantum (network service) and a port whose device_owner begins with "compute:" is created by Nova (compute service).
$ quantum port-list -c id -c fixed_ips -c device_owner
port-show shows a detail of a specified port.
$ quantum port-show <port-id>