Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image RemovedImage Added


sourceĀ /etc/contrail/openstackrc
root@super4:~# neutron net-list
+--------------------------------------+-------------------------+------------------------------------------------------+
| id | name | subnets |
+--------------------------------------+-------------------------+------------------------------------------------------+
| 79a2e5da-68e1-45cd-a52a-77d2fabac2e8 | Right-1 | c82898ea-f7bd-4d8c-b33c-61b01cd11efc 20.20.20.0/24 |
| 769b2e08-3da1-4e16-8200-b577cac43b18 | George-LB-network-mgt | |
| cc4be88a-192e-487a-be2e-84ee80844606 | vn-right | 9cfa6692-cf6e-4692-99cf-765ba5f683a0 192.168.2.0/24 |
| d68d0f39-de52-4696-a443-62421f128030 | Tenant-2 | |
| 579343bf-d612-43a5-b734-4113bc1629e7 | George-LB-network-2 | |
| 6b9d913e-8b54-4eb3-8e25-2ce9f0adebaf | vn-left | cf252d1d-3e60-45e2-8e0a-b5c28c185342 192.168.1.0/24 |
| 98bb7cf1-30da-4403-9414-56a3ff0e374d | Tenant-1 | |
| 63d03130-75d6-45b6-8e5c-5e7d9396504b | OOB-Server-Subnet | c4aac42f-b90e-41b7-af04-30a6435d0af8 172.30.92.16/28 |
| 2765a18a-84a6-4f86-91f8-7dfa16531ea9 | jlk2_Netw | 413b8477-70fc-4ce3-a2c7-24940ae7e164 192.168.17.0/24 |
| c395b836-743c-4f5e-a753-33acd3978e36 | Left-1 | 65e6471a-dc94-484b-8131-6c1e5496a8b3 10.10.10.0/24 |
| c908aa89-bd7e-47ad-9054-7ab72a3c1dbd | vn-mgt | 8cbaed39-9210-4941-871d-fee96383629d 192.168.3.0/24 |
| 14a1f9d2-9fd4-49cd-a25d-d46a3d77229f | George-LB-network-1 | |
| d1adaa13-1095-4bed-9fb7-976736986efd | jlk_netw3 | 169f2650-d32b-4d71-82ca-b23aba7752c8 10.10.10.0/24 |
| 4ef31a67-c5e9-4c54-9e3c-f67d3fb5968f | default-virtual-network | |
| 49938e33-a2c6-4e96-a4b1-9f5d0e1f454c | ip-fabric | |
| 3764077e-2345-4ccc-8a49-61bdfd6a630c | Tenant-Management | |
| e0babde9-2723-4f9e-b800-bf9d01c60e2f | jlk1_netw4 | e9edda92-fb68-464f-aa0e-6b59019d2eb7 11.11.11.0/24 | <<<<<<<<<<<<<<<<<<<< This one : see below
| bf37ea65-e43b-4f32-a60f-4d740029c476 | Managament | a294fe95-e2bc-4cd8-921d-46e11a98a335 33.33.33.0/24 |
| 24df56e1-9a6e-4148-805f-1864edbfc30b | jlk_netw2 | bec0383d-24ee-435e-b14a-3bd343517546 192.168.18.0/24 |
| 8393d90b-8d6f-4c9b-aa6a-40849afd9e6e | jlk_netw1 | 884d7c8d-b776-4cbb-975d-222d5c568dad 192.168.17.0/24 |
| ebe540c4-39c2-4fc3-908f-e4bb2bea7dde | __link_local__ | |
+--------------------------------------+-------------------------+------------------------------------------------------+
root@super4:~# neutron net-show e0babde9-2723-4f9e-b800-bf9d01c60e2f
+-------------------------+--------------------------------------------------------------------------------------------------+
| Field | Value |
+-------------------------+--------------------------------------------------------------------------------------------------+
| admin_state_up | True |
| contrail:fq_name | default-domain |
| | jlk_project |
| | jlk1_netw4 |
| contrail:instance_count | 0 |
| contrail:subnet_ipam | {"subnet_cidr": "11.11.11.0/24", "ipam_fq_name": ["default-domain", "jlk_project", "jlk1_ipam"]} |
| id | e0babde9-2723-4f9e-b800-bf9d01c60e2f |
| name | jlk1_netw4 |
| port_security_enabled | True |
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | e9edda92-fb68-464f-aa0e-6b59019d2eb7 |
| tenant_id | 9b0e16c6fe6648948701f79b593afa19 |
+-------------------------+--------------------------------------------------------------------------------------------------+
root@super4:~#




root@super4:~# neutron subnet-list
+--------------------------------------+--------------------------------------+-----------------+----------------------------------------------------+
| id | name | cidr | allocation_pools |
+--------------------------------------+--------------------------------------+-----------------+----------------------------------------------------+
| cf252d1d-3e60-45e2-8e0a-b5c28c185342 | cf252d1d-3e60-45e2-8e0a-b5c28c185342 | 192.168.1.0/24 | {"start": "192.168.1.1", "end": "192.168.1.254"} |
| 413b8477-70fc-4ce3-a2c7-24940ae7e164 | jlk2_Subnet1 | 192.168.17.0/24 | {"start": "192.168.17.2", "end": "192.168.17.254"} |
| 884d7c8d-b776-4cbb-975d-222d5c568dad | jlk_subnet1 | 192.168.17.0/24 | {"start": "192.168.17.2", "end": "192.168.17.254"} |
| 8cbaed39-9210-4941-871d-fee96383629d | 8cbaed39-9210-4941-871d-fee96383629d | 192.168.3.0/24 | {"start": "192.168.3.1", "end": "192.168.3.254"} |
| c82898ea-f7bd-4d8c-b33c-61b01cd11efc | Right-1 | 20.20.20.0/24 | {"start": "20.20.20.2", "end": "20.20.20.254"} |
| 9cfa6692-cf6e-4692-99cf-765ba5f683a0 | 9cfa6692-cf6e-4692-99cf-765ba5f683a0 | 192.168.2.0/24 | {"start": "192.168.2.1", "end": "192.168.2.254"} |
| a83ff55b-7abc-41e3-926c-2da3add75d55 | jlk1_sub4 | 11.11.11.0/24 | {"start": "11.11.11.2", "end": "11.11.11.254"} |
| a294fe95-e2bc-4cd8-921d-46e11a98a335 | Management | 33.33.33.0/24 | {"start": "33.33.33.2", "end": "33.33.33.254"} |
| c4aac42f-b90e-41b7-af04-30a6435d0af8 | contrail-subnet | 172.30.92.16/28 | {"start": "172.30.92.18", "end": "172.30.92.30"} |
| 169f2650-d32b-4d71-82ca-b23aba7752c8 | | 10.10.10.0/24 | {"start": "10.10.10.2", "end": "10.10.10.254"} |
| bec0383d-24ee-435e-b14a-3bd343517546 | jlk_subnet2 | 192.168.18.0/24 | {"start": "192.168.18.2", "end": "192.168.18.254"} |
| 65e6471a-dc94-484b-8131-6c1e5496a8b3 | Left-1 | 10.10.10.0/24 | {"start": "10.10.10.2", "end": "10.10.10.254"} |
| e9edda92-fb68-464f-aa0e-6b59019d2eb7 | jlk1_sub4 | 11.11.11.0/24 | {"start": "11.11.11.2", "end": "11.11.11.254"} | <<<<<<<<<<<<<<<<<<<< This one : see below
+--------------------------------------+--------------------------------------+-----------------+----------------------------------------------------+
root@super4:~# neutron subnet-show jlk1_sub4
Multiple subnet matches found for name 'jlk1_sub4', use an ID to be more specific.



root@super4:~# neutron subnet-show e9edda92-fb68-464f-aa0e-6b59019d2eb7
+-----------------------------+------------------------------------------------+
| Field | Value |
+-----------------------------+------------------------------------------------+
| allocation_pools | {"start": "11.11.11.2", "end": "11.11.11.254"} |
| cidr | 11.11.11.0/24 |
| contrail:dns_server_address | 11.11.11.2 |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 11.11.11.1 |
| host_routes | |
| id | e9edda92-fb68-464f-aa0e-6b59019d2eb7 |
| ip_version | 4 |
| ipv6_address_mode | |
| ipv6_ra_mode | |
| name | jlk1_sub4 |
| network_id | e0babde9-2723-4f9e-b800-bf9d01c60e2f |
| tenant_id | 9b0e16c6fe6648948701f79b593afa19 |
+-----------------------------+------------------------------------------------+
root@super4:~#

...