WIth DVR enabled, performing a 'neutron router-gateway-clear' creates a router namespace and a binding on every compute node.
root@Linux:~# neutron router-create router1 Created a new router: +-----------------------+--------------------------------------+ | Field | Value | +-----------------------+--------------------------------------+ | admin_state_up | True | | distributed | True | | external_gateway_info | | | id | f31b9373-2946-48d8-b6d2-50596162febd | | name | router1 | | routes | | | status | ACTIVE | | tenant_id | 2b009be2540a458eaed8cf7d651fc68c | +-----------------------+--------------------------------------+ root@Linux:~# neutron l3-agent-list-hosting-router f31b9373-2946-48d8-b6d2-50596162febd
root@Linux:~# neutron router-gateway-clear f31b9373-2946-48d8-b6d2-50596162febd Removed gateway from router f31b9373-2946-48d8-b6d2-50596162febd root@Linux:~# neutron l3-agent-list-hosting-router f31b9373-2946-48d8-b6d2-50596162febd +--------------------------------------+--------------------------------------+----------------+-------+ | id | host | admin_state_up | alive | +--------------------------------------+--------------------------------------+----------------+-------+ | 07615fcd-a9b3-4081-91e8-f0189a19a7f0 | overcloud-novacompute3-4aec3ezflrbp | True | :-) | | 096fb891-a330-47d8-b215-6e6111763961 | overcloud-novacompute11-tb4nbhopurh3 | True | :-) | | 11c6e8da-06f6-4546-a4bc-5604c51d4027 | overcloud-novacompute16-73uyrqna65cv | True | :-) | | 2b1f019c-0996-4bb3-83ac-10f2282d7e04 | overcloud-novacompute17-bwxlkqfqmcq2 | True | :-) | | 30f22724-267e-452b-b20f-37b517d9fb3b | overcloud-novacompute13-v7wnrei5vcfl | True | :-) | | 40cf7636-b639-4597-8fea-2e55a3caf168 | overcloud-novacompute21-3hnnn2o675kv | True | :-) | | 42437ccf-0462-4eb9-824c-4799f43b5af9 | overcloud-novacompute0-4livrqcyum64 | True | :-) | | 573002a3-ef18-4f09-9d44-ebdb726e586a | overcloud-novacompute5-gxw6y4tcwta5 | True | :-) | | 60e730e2-9ea3-444b-806a-177440fc37fd | overcloud-novacompute19-3caohck3xtpm | True | :-) | | 6f8a3d30-e7a3-4110-b7a0-4631ca5e6389 | overcloud-novacompute12-uqpqd3soidmb | True | :-) | | 796cf9ea-ff66-4615-9e24-5d65e11195a7 | overcloud-novacompute20-2xj2chsys4ux | True | :-) | | 7a6a0342-b6e8-461f-b691-5913883dd5b1 | overcloud-novacompute6-5x7azyiif3h6 | True | :-) | | 7d6ebb2a-8e33-436e-a7ea-0a23dcbc26ab | overcloud-novacompute10-cuv6kw35ijvq | True | :-) | | 9444f292-2d9c-4b26-abf5-10c64c9713c5 | overcloud-novacompute15-si3luwq2wear | True | :-) | | 98a5b703-504a-43fe-975c-430fb42ca61f | overcloud-novacompute18-5yo7fwdu3tgi | True | :-) | | 998f7067-75d8-44b9-a651-8d1f1acca062 | overcloud-novacompute8-j5fo4tv2ssye | True | :-) | | 9ec538c4-60b6-4606-9571-d108764607d3 | overcloud-novacompute9-vcvfpdyybn34 | True | :-) | | b9fc298b-8e16-4d57-adea-5fde05c80065 | overcloud-novacompute1-spsmzbnh5gwl | True | :-) | | c5a0aa20-714a-406f-bdcd-e464b4dfd5ef | overcloud-novacompute7-tuj4iztu6fkp | True | :-) | | c978b1df-b092-43a1-9e2e-ebfd5cd66036 | overcloud-novacompute14-qzrhkxdr76wa | True | :-) | | d644d186-67ee-4ac3-a225-66eef8de2b6c | overcloud-novacompute22-3gh5njls4osi | True | :-) | | f9381ac1-5605-448e-8916-9900b26218bb | overcloud-novacompute2-wyzyfitbpq3i | True | :-) | +--------------------------------------+--------------------------------------+----------------+-------+
WIth DVR enabled, performing a 'neutron router- gateway- clear' creates a router namespace and a binding on every compute node.
root@Linux:~# neutron router-create router1 ------- ------- ---+--- ------- ------- ------- ------- ------- + ------- ------- ---+--- ------- ------- ------- ------- ------- + gateway_ info | | 2946-48d8- b6d2-50596162fe bd | eaed8cf7d651fc6 8c | ------- ------- ---+--- ------- ------- ------- ------- ------- + list-hosting- router f31b9373- 2946-48d8- b6d2-50596162fe bd
Created a new router:
+------
| Field | Value |
+------
| admin_state_up | True |
| distributed | True |
| external_
| id | f31b9373-
| name | router1 |
| routes | |
| status | ACTIVE |
| tenant_id | 2b009be2540a458
+------
root@Linux:~# neutron l3-agent-
root@Linux:~# neutron router- gateway- clear f31b9373- 2946-48d8- b6d2-50596162fe bd 2946-48d8- b6d2-50596162fe bd list-hosting- router f31b9373- 2946-48d8- b6d2-50596162fe bd ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- -+----- ------- ----+-- -----+ ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- -+----- ------- ----+-- -----+ a9b3-4081- 91e8-f0189a19a7 f0 | overcloud- novacompute3- 4aec3ezflrbp | True | :-) | a330-47d8- b215-6e61117639 61 | overcloud- novacompute11- tb4nbhopurh3 | True | :-) | 06f6-4546- a4bc-5604c51d40 27 | overcloud- novacompute16- 73uyrqna65cv | True | :-) | 0996-4bb3- 83ac-10f2282d7e 04 | overcloud- novacompute17- bwxlkqfqmcq2 | True | :-) | 267e-452b- b20f-37b517d9fb 3b | overcloud- novacompute13- v7wnrei5vcfl | True | :-) | b639-4597- 8fea-2e55a3caf1 68 | overcloud- novacompute21- 3hnnn2o675kv | True | :-) | 0462-4eb9- 824c-4799f43b5a f9 | overcloud- novacompute0- 4livrqcyum64 | True | :-) | ef18-4f09- 9d44-ebdb726e58 6a | overcloud- novacompute5- gxw6y4tcwta5 | True | :-) | 9ea3-444b- 806a-177440fc37 fd | overcloud- novacompute19- 3caohck3xtpm | True | :-) | e7a3-4110- b7a0-4631ca5e63 89 | overcloud- novacompute12- uqpqd3soidmb | True | :-) | ff66-4615- 9e24-5d65e11195 a7 | overcloud- novacompute20- 2xj2chsys4ux | True | :-) | b6e8-461f- b691-5913883dd5 b1 | overcloud- novacompute6- 5x7azyiif3h6 | True | :-) | 8e33-436e- a7ea-0a23dcbc26 ab | overcloud- novacompute10- cuv6kw35ijvq | True | :-) | 2d9c-4b26- abf5-10c64c9713 c5 | overcloud- novacompute15- si3luwq2wear | True | :-) | 504a-43fe- 975c-430fb42ca6 1f | overcloud- novacompute18- 5yo7fwdu3tgi | True | :-) | 75d8-44b9- a651-8d1f1acca0 62 | overcloud- novacompute8- j5fo4tv2ssye | True | :-) | 60b6-4606- 9571-d108764607 d3 | overcloud- novacompute9- vcvfpdyybn34 | True | :-) | 8e16-4d57- adea-5fde05c800 65 | overcloud- novacompute1- spsmzbnh5gwl | True | :-) | 714a-406f- bdcd-e464b4dfd5 ef | overcloud- novacompute7- tuj4iztu6fkp | True | :-) | b092-43a1- 9e2e-ebfd5cd660 36 | overcloud- novacompute14- qzrhkxdr76wa | True | :-) | 67ee-4ac3- a225-66eef8de2b 6c | overcloud- novacompute22- 3gh5njls4osi | True | :-) | 5605-448e- 8916-9900b26218 bb | overcloud- novacompute2- wyzyfitbpq3i | True | :-) | ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- -+----- ------- ----+-- -----+
Removed gateway from router f31b9373-
root@Linux:~# neutron l3-agent-
+------
| id | host | admin_state_up | alive |
+------
| 07615fcd-
| 096fb891-
| 11c6e8da-
| 2b1f019c-
| 30f22724-
| 40cf7636-
| 42437ccf-
| 573002a3-
| 60e730e2-
| 6f8a3d30-
| 796cf9ea-
| 7a6a0342-
| 7d6ebb2a-
| 9444f292-
| 98a5b703-
| 998f7067-
| 9ec538c4-
| b9fc298b-
| c5a0aa20-
| c978b1df-
| d644d186-
| f9381ac1-
+------