neutron/neutron/tests/functional
Slawek Kaplonski 3ae7b0f189 [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:30:14 +00:00
..
agent Merge "Add "igmp_snooping_enable" config option for OVS agent" into stable/train 2020-06-28 13:25:30 +00:00
api Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
cmd Fix neutron-status upgrade check CLI tool 2019-03-21 15:01:50 +00:00
common All functional tests logs results now 2018-11-21 19:58:18 +00:00
db Check "security_group_rule" quota during security group creation 2020-01-31 17:59:07 +00:00
pecan_wsgi Fix bulk port functioning with requested security groups 2019-09-11 02:31:42 +00:00
plugins use neutron_lib's portbindings api-def 2017-03-31 09:16:22 -06:00
privileged Fix the wrong value for QoS rate conversion to bytes/s 2020-06-24 17:22:02 +00:00
sanity Use pyroute2 for SRIOV VF commands 2020-06-03 11:05:20 +00:00
scheduler Merge "Remove 'gateway_external_network_id' config option" 2019-08-05 12:40:08 +00:00
services [DVR] Related routers should be included if are requested 2020-07-10 13:30:14 +00:00
tests NetcatTester.stop_processes skip "No such process" exception 2019-11-22 10:54:06 +00:00
__init__.py tests: removed 'retargetable' framework 2017-05-02 16:45:49 +00:00
base.py Do not use privsep context when listing the namespaces in functional 2019-07-04 15:12:04 +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 Make Neutron gate great again 2019-09-06 07:44:29 +00:00
test_service.py Modify api and rpc default number of workers 2019-02-19 13:24:01 -07:00