neutron/neutron/tests/functional/services/l3_router
Slawek Kaplonski 38286dbd2e [DVR] Related routers should be included if are requested
In case when related dvr router is configured by L3 agent, it is first
added to the tasks queue and then processed as any other router hosted
on the L3 agent.
But if L3 agent will ask neutron server about details of such router,
it wasn't returned back as this router wasn't really scheduled to the
compute node which was asking for it. It was "only" related to some
other router scheduled to this compute node. Because of that router's
info wasn't found in reply from the neutron-server and L3 agent was
removing it from the compute node.

Now _get_router_ids_for_agent method from the l3_dvrscheduler_db module
will check router serviceable ports for each dvr router hosted on the
compute node and will then find all routers related to it. Thanks to
that it will return routers which are on the compute node only because
of other related routers scheduled to this host and such router will not
be deleted anymore.

Change-Id: I689d5135b7194475c846731d846ccf6b25b80b4a
Closes-Bug: #1884527
2020-07-07 15:27:15 +02:00
..
__init__.py Add high-level functional/integration DVR tests 2015-08-19 18:01:16 -04:00
test_l3_dvr_ha_router_plugin.py Use correct device_owner prefix in functional tests 2020-06-16 11:25:58 -04:00
test_l3_dvr_router_plugin.py [DVR] Related routers should be included if are requested 2020-07-07 15:27:15 +02:00