- ========================================================
- NETWORKS
- ========================================================
- root@control-01:~# quantum net-list
- +--------------------------------------+------------------+--------------------------------------+
- | id | name | subnets |
- +--------------------------------------+------------------+--------------------------------------+
- | 3567c4e1-152e-40de-ae94-3724092283e3 | provider-local | 8d78b2d5-dc2f-4944-8858-5ec98a03310a |
- | 5d88cc7f-a74c-46fc-a01c-67b1265f7362 | provider-local-2 | b117b099-5613-44fd-b9e2-e4d2f4ebdd92 |
- +--------------------------------------+------------------+--------------------------------------+
- root@control-01:~# quantum net-show provider-local
- +---------------------------+--------------------------------------+
- | Field | Value |
- +---------------------------+--------------------------------------+
- | admin_state_up | True |
- | id | 3567c4e1-152e-40de-ae94-3724092283e3 |
- | name | provider-local |
- | provider:network_type | local |
- | provider:physical_network | |
- | provider:segmentation_id | |
- | router:external | True |
- | shared | False |
- | status | ACTIVE |
- | subnets | 8d78b2d5-dc2f-4944-8858-5ec98a03310a |
- | tenant_id | fae09e346d584a179e4b176f31cc2f8a |
- +---------------------------+--------------------------------------+
- root@control-01:~# quantum net-show provider-local-2
- +---------------------------+--------------------------------------+
- | Field | Value |
- +---------------------------+--------------------------------------+
- | admin_state_up | True |
- | id | 5d88cc7f-a74c-46fc-a01c-67b1265f7362 |
- | name | provider-local-2 |
- | provider:network_type | local |
- | provider:physical_network | |
- | provider:segmentation_id | |
- | router:external | True |
- | shared | False |
- | status | ACTIVE |
- | subnets | b117b099-5613-44fd-b9e2-e4d2f4ebdd92 |
- | tenant_id | fae09e346d584a179e4b176f31cc2f8a |
- +---------------------------+--------------------------------------+
- ========================================================
- SUBNETS
- ========================================================
- root@control-01:~# quantum subnet-list
- +--------------------------------------+------+------------------+------------------------------------------------------+
- | id | name | cidr | allocation_pools |
- +--------------------------------------+------+------------------+------------------------------------------------------+
- | 8d78b2d5-dc2f-4944-8858-5ec98a03310a | | 192.168.100.0/24 | {"start": "192.168.100.2", "end": "192.168.100.254"} |
- | b117b099-5613-44fd-b9e2-e4d2f4ebdd92 | | 192.168.99.0/24 | {"start": "192.168.99.2", "end": "192.168.99.254"} |
- +--------------------------------------+------+------------------+------------------------------------------------------+
- root@control-01:~# quantum subnet-show 8d78b2d5-dc2f-4944-8858-5ec98a03310a
- +------------------+------------------------------------------------------+
- | Field | Value |
- +------------------+------------------------------------------------------+
- | allocation_pools | {"start": "192.168.100.2", "end": "192.168.100.254"} |
- | cidr | 192.168.100.0/24 |
- | dns_nameservers | |
- | enable_dhcp | False |
- | gateway_ip | 192.168.100.1 |
- | host_routes | |
- | id | 8d78b2d5-dc2f-4944-8858-5ec98a03310a |
- | ip_version | 4 |
- | name | |
- | network_id | 3567c4e1-152e-40de-ae94-3724092283e3 |
- | tenant_id | fae09e346d584a179e4b176f31cc2f8a |
- +------------------+------------------------------------------------------+
- root@control-01:~# quantum subnet-show b117b099-5613-44fd-b9e2-e4d2f4ebdd92
- +------------------+----------------------------------------------------+
- | Field | Value |
- +------------------+----------------------------------------------------+
- | allocation_pools | {"start": "192.168.99.2", "end": "192.168.99.254"} |
- | cidr | 192.168.99.0/24 |
- | dns_nameservers | |
- | enable_dhcp | False |
- | gateway_ip | 192.168.99.1 |
- | host_routes | |
- | id | b117b099-5613-44fd-b9e2-e4d2f4ebdd92 |
- | ip_version | 4 |
- | name | |
- | network_id | 5d88cc7f-a74c-46fc-a01c-67b1265f7362 |
- | tenant_id | fae09e346d584a179e4b176f31cc2f8a |
- +------------------+----------------------------------------------------+
- ========================================================
- ROUTERS
- ========================================================
- root@control-01:~# quantum router-list
- +--------------------------------------+----------------+--------------------------------------------------------+
- | id | name | external_gateway_info |
- +--------------------------------------+----------------+--------------------------------------------------------+
- | 4e1aac6b-a342-4d69-a196-341122945c47 | router-local | {"network_id": "3567c4e1-152e-40de-ae94-3724092283e3"} |
- | 8e1c3798-d236-4a36-875b-9a50837c055d | router-local-2 | {"network_id": "5d88cc7f-a74c-46fc-a01c-67b1265f7362"} |
- +--------------------------------------+----------------+--------------------------------------------------------+
- root@control-01:~# quantum router-show router-local
- +-----------------------+--------------------------------------------------------+
- | Field | Value |
- +-----------------------+--------------------------------------------------------+
- | admin_state_up | True |
- | external_gateway_info | {"network_id": "3567c4e1-152e-40de-ae94-3724092283e3"} |
- | id | 4e1aac6b-a342-4d69-a196-341122945c47 |
- | name | router-local |
- | status | ACTIVE |
- | tenant_id | fae09e346d584a179e4b176f31cc2f8a |
- +-----------------------+--------------------------------------------------------+
- root@control-01:~# quantum router-show router-local-2
- +-----------------------+--------------------------------------------------------+
- | Field | Value |
- +-----------------------+--------------------------------------------------------+
- | admin_state_up | True |
- | external_gateway_info | {"network_id": "5d88cc7f-a74c-46fc-a01c-67b1265f7362"} |
- | id | 8e1c3798-d236-4a36-875b-9a50837c055d |
- | name | router-local-2 |
- | status | ACTIVE |
- | tenant_id | fae09e346d584a179e4b176f31cc2f8a |
- +-----------------------+--------------------------------------------------------+
- ========================================================
- l3_agent configs
- ========================================================
- l3_agent 1 for network 'provider-local'
- --------------------------------------------------------
- gateway_external_network_id = 3567c4e1-152e-40de-ae94-3724092283e3
- handle_internal_only_routers = True
- external_network_bridge = br-ex
- l3_agent 2 for network 'provider-local-2'
- --------------------------------------------------------
- gateway_external_network_id = 5d88cc7f-a74c-46fc-a01c-67b1265f7362
- handle_internal_only_routers = False
- external_network_bridge = br-ex
- ========================================================
- ip netns output when l3_agent 2 for network '5d88cc7f-a74c-46fc-a01c-67b1265f7362' is running
- ========================================================
- root@network-01:/etc/quantum# ip netns
- qrouter-8e1c3798-d236-4a36-875b-9a50837c055d
- qrouter-4e1aac6b-a342-4d69-a196-341122945c47
- root@network-01:/etc/quantum# ip netns exec qrouter-8e1c3798-d236-4a36-875b-9a50837
- c055d ifconfig
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:16436 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
- qg-a2654a5f-93 Link encap:Ethernet HWaddr fa:16:3e:30:ce:ad
- inet addr:192.168.99.3 Bcast:192.168.99.255 Mask:255.255.255.0
- inet6 addr: fe80::f816:3eff:fe30:cead/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:0 (0.0 B) TX bytes:468 (468.0 B)
- root@network-01:/etc/quantum# ip netns exec qrouter-4e1aac6b-a342-4d69-a196-3411229
- 45c47 ifconfig
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:16436 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
- ========================================================
- ip netns output when both l3 agents are running
- ========================================================
- root@network-01:/etc/quantum# ip netns exec qrouter-8e1c3798-d236-4a36-875b-9a50837c055d ifconfig
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:16436 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
- root@network-01:/etc/quantum# ip netns exec qrouter-4e1aac6b-a342-4d69-a196-341122945c47 ifconfig
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:16436 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
quantum l3 agent debug output