neutron/neutron/tests/functional
Slawek Kaplonski 800be7b518 [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
(cherry picked from commit 38286dbd2e)
2020-07-10 13:31:04 +00:00
..
agent Add "igmp_snooping_enable" config option for OVS agent 2020-06-12 15:03:47 +00:00
api use core resource api defs from lib 2017-11-08 09:48:50 -07:00
cmd More efficiently clean up OVS ports 2018-01-22 14:07:42 -06:00
common Untangle WaitTimeout class from eventlet.TimeoutError 2017-03-15 04:27:00 +00:00
db Add new test decorator skip_if_timeout 2019-02-20 09:55:39 +00:00
pecan_wsgi use callback payloads for REQUEST/RESPONSE events 2017-12-24 07:27:11 +00:00
plugins use neutron_lib's portbindings api-def 2017-03-31 09:16:22 -06:00
sanity sanity check: Check that ip_nonlocal_bind works with namespaces 2016-11-18 08:36:51 -05:00
scheduler Remove router_ids argument to auto_schedule_routers() 2017-12-04 15:07:29 -05:00
services [DVR] Related routers should be included if are requested 2020-07-10 13:31:04 +00:00
tests make net_helpers functions work on OpenSUSE 2017-09-20 09:59:44 -07:00
__init__.py tests: removed 'retargetable' framework 2017-05-02 16:45:49 +00:00
base.py Increase timeouts for OVSDB in functional tests 2019-09-13 10:57:41 +00:00
constants.py TrunkManager for the OVS agent 2016-08-24 02:52:17 -04:00
requirements.txt Don't return null-byte separated string from ExternalProcess.cmdline() 2017-03-08 07:50:51 +00:00
test_server.py Remove compat checks for psutil 1.x 2017-07-30 09:22:48 +02:00
test_service.py Use SIGUSR1 to notify l3 agent of changing prefix file 2015-11-13 17:53:47 +03:00