Skip to content

Instantly share code, notes, and snippets.

@jkozik
Created July 29, 2015 05:04
Show Gist options
  • Save jkozik/bce7053044734a073249 to your computer and use it in GitHub Desktop.
Save jkozik/bce7053044734a073249 to your computer and use it in GitHub Desktop.
# neutron subnet-list
+--------------------------------------+----------------+-----------------+--------------------------------------------------+
| id | name | cidr | allocation_pools |
+--------------------------------------+----------------+-----------------+--------------------------------------------------+
| f192f04b-47ba-4635-9c65-228048c0caa4 | private_subnet | 10.0.0.0/24 | {"start": "10.0.0.2", "end": "10.0.0.254"} |
| ee337aec-ca58-4cb4-90fd-624476dcee1d | public_subnet | 172.24.4.224/28 | {"start": "172.24.4.226", "end": "172.24.4.238"} |
+--------------------------------------+----------------+-----------------+--------------------------------------------------+
# neutron net-list
+--------------------------------------+---------+------------------------------------------------------+
| id | name | subnets |
+--------------------------------------+---------+------------------------------------------------------+
| e3b3c162-aaab-467d-b1aa-1e6d999efac8 | private | f192f04b-47ba-4635-9c65-228048c0caa4 10.0.0.0/24 |
| 9d262481-400f-48ec-9c54-8f228174989b | public | ee337aec-ca58-4cb4-90fd-624476dcee1d 172.24.4.224/28 |
+--------------------------------------+---------+------------------------------------------------------+
# neutron subnet-delete private_subnet
Deleted subnet: private_subnet
# neutron net-delete private
Deleted network: private
# neutron subnet-delete public_subnet
Deleted subnet: public_subnet
# neutron net-delete public
Deleted network: public
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment