neutron/neutron
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 "Workaround for TCP checksum issue with ovs-dpdk and veth pair" into stable/train 2020-07-01 03:10:18 +00:00
api Adding LOG statements to debug 1838449 2020-05-08 09:37:37 +02:00
cmd Use pyroute2 for SRIOV VF commands 2020-06-03 11:05:20 +00:00
common Monkey patch original current_thread _active 2020-05-06 07:44:10 +00:00
conf Add "igmp_snooping_enable" config option for OVS agent 2020-06-12 15:02:39 +00:00
core_extensions Switch to new engine facade for QoS 2019-05-28 08:11:35 +00:00
db [DVR] Related routers should be included if are requested 2020-07-10 13:30:14 +00:00
debug Remove deprecated 'external_network_bridge' option 2019-03-09 22:07:38 +00:00
extensions Conntrack Helper - Plugin 2019-08-29 10:41:04 +02:00
hacking Remove Neutron LBaaS 2019-09-20 07:46:06 +00:00
ipam Allow first address in an IPv6 subnet as valid unicast 2019-05-21 16:31:18 +00:00
locale Imported Translations from Zanata 2019-11-22 07:43:34 +00:00
notifiers Use openstacksdk for ironic notifiers 2019-09-19 06:56:24 +00:00
objects Merge "Workaround in NetworkSegmentRange OVO until "project_id" migration" into stable/train 2020-05-04 02:23:12 +00:00
pecan_wsgi Set DB retry for quota_enforcement pecan_wsgi hook 2019-11-24 09:55:14 +00:00
plugins Do not block connection between br-int and br-phys on startup 2020-06-29 20:39:36 +00:00
privileged Use pyroute2 for SRIOV VF commands 2020-06-03 11:05:20 +00:00
quota Set DB retry for quota_enforcement pecan_wsgi hook 2019-11-24 09:55:14 +00:00
scheduler Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
server Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-19 07:58:41 +00:00
services Delete segment RPs when network is deleted 2020-05-26 17:09:31 +00:00
tests [DVR] Related routers should be included if are requested 2020-07-10 13:30:14 +00:00
__init__.py Fix incorrect usage of '# flake8: noqa' 2018-10-29 15:27:50 -04:00
_i18n.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
manager.py Define dhcp_agents_per_network with min=1 2019-05-15 14:08:21 -04:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
opts.py Conntrack Helper - Plugin 2019-08-29 10:41:04 +02:00
policy.py List SG rules which belongs to tenant's SG 2019-12-04 20:44:05 +00:00
service.py Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-19 07:58:41 +00:00
version.py
worker.py Change process name of neutron-server to match worker role 2019-03-01 14:18:09 -05:00
wsgi.py Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-19 07:58:41 +00:00