Skip to content

Instantly share code, notes, and snippets.

@jelukas

jelukas/neutron.bash

Created Jul 12, 2016
Embed
What would you like to do?
neutron net-list
+--------------------------------------+--------------+-----------------------------------------------------+
| id | name | subnets |
+--------------------------------------+--------------+-----------------------------------------------------+
| d15e0eb6-c892-4717-8be1-b3e85795e8c9 | ext-net | c80b173f-c203-4e63-956a-ed7351a5a073 185.45.72.0/23 |
| d5d686b5-32fb-4e45-8809-98df3ee5ef3e | 00000061-net | 4751dc7e-6b54-4284-ba02-6c1a44deb076 10.0.15.64/26 |
+--------------------------------------+--------------+-----------------------------------------------------+
neutron subnet-list
+--------------------------------------+-----------------+----------------+---------------------------------------------------+
| id | name | cidr | allocation_pools |
+--------------------------------------+-----------------+----------------+---------------------------------------------------+
| 4751dc7e-6b54-4284-ba02-6c1a44deb076 | 00000061-subnet | 10.0.15.64/26 | {"start": "10.0.15.66", "end": "10.0.15.126"} |
| c80b173f-c203-4e63-956a-ed7351a5a073 | ext-net | 185.45.72.0/23 | {"start": "185.45.72.17", "end": "185.45.73.254"} |
+--------------------------------------+-----------------+----------------+---------------------------------------------------+
neutron router-list
+--------------------------------------+---------------------+-----------------------------------------------------------------------------+
| id | name | external_gateway_info |
+--------------------------------------+---------------------+-----------------------------------------------------------------------------+
| d377a1cf-e78b-472f-8235-197c107b9e5d | 00000061-ext-router | {"network_id": "d15e0eb6-c892-4717-8be1-b3e85795e8c9", "enable_snat": true} |
+--------------------------------------+---------------------+-----------------------------------------------------------------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment