neutron/neutron
Slawek Kaplonski d3d93b4077 [DVR] Reconfigure re-created physical bridges for dvr routers
In case when physical bridge is removed and created again it
is initialized by neutron-ovs-agent.
But if agent has enabled distributed routing, dvr related
flows wasn't configured again and that lead to connectivity issues
in case of DVR routers.

This patch fixes it by adding configuration of dvr related flows
if distributed routing is enabled in agent's configuration.

It also adds reset list of phys_brs in dvr_agent. Without that there
were different objects used in ovs agent and dvr_agent classes thus
e.g. 2 various cookie ids were set on flows in physical bridge.
This was also the same issue in case when openvswitch was restarted and
all bridges were reconfigured.
Now in such case there is correctly new cookie_id configured for all
flows.

Conflicts:
    neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py

Change-Id: I710f00f0f542bcf7fa2fc60800797b90f9f77e14
Closes-Bug: #1864822
(cherry picked from commit 91f0bf3c85)
2020-07-06 20:05:31 +00:00
..
agent Merge "Dynamically increase l3 router process queue green pool size" into stable/rocky 2020-05-26 20:35:58 +00:00
api Adding LOG statements to debug 1838449 2020-05-08 09:44:13 +02:00
cmd Secure dnsmasq process against external abuse 2019-02-01 09:07:14 +00:00
common Add trunk subports to be one of dvr serviced device owners 2020-04-06 13:28:33 +02:00
conf Add accepted egress direct flow 2020-03-26 08:23:32 +00:00
core_extensions Refactor duplicated implementation of _get_policy_obj 2018-06-20 09:51:02 +08:00
db Merge "Router synch shouldn't return unrelated routers" into stable/rocky 2020-05-20 04:04:47 +00:00
debug Fix all pep8 E265 errors 2018-04-30 16:35:52 -04:00
extensions Fix resource schemas and releated `get_sorts` test cases 2020-02-15 12:31:31 +01:00
hacking use sqla functions from neutron-lib 2018-07-25 21:04:20 +00:00
ipam Add bulk IP address assignment to ipam driver 2020-03-26 12:30:50 +00:00
locale Imported Translations from Zanata 2018-11-30 09:16:33 +00:00
notifiers Refactor the L3 agent batch notifier 2020-04-10 16:39:30 +02:00
objects Improve VLAN allocations synchronization 2020-04-23 16:11:09 +00:00
pecan_wsgi Set DB retry for quota_enforcement pecan_wsgi hook 2019-12-09 12:08:47 +00:00
plugins [DVR] Reconfigure re-created physical bridges for dvr routers 2020-07-06 20:05:31 +00:00
privileged Check the namespace is ready in test_mtu_update tests 2019-09-16 09:30:43 +00:00
quota Set DB retry for quota_enforcement pecan_wsgi hook 2019-12-09 12:08:47 +00:00
scheduler Fetch specific columns rather than full ORM entities 2018-09-27 16:28:37 +00:00
server Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-19 07:59:06 +00:00
services Wait before deleting trunk bridges for DPDK vhu 2020-04-03 21:11:57 +00:00
tests [DVR] Reconfigure re-created physical bridges for dvr routers 2020-07-06 20:05:31 +00:00
__init__.py
_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 Avoid loading same service plugin more than once 2019-04-12 08:33:38 +00: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 Merge "Remove deprecated cache_url" 2018-01-03 06:35:59 +00:00
policy.py List SG rules which belongs to tenant's SG 2020-01-29 08:04:16 +00:00
service.py Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-19 07:59:06 +00:00
version.py
worker.py replace WorkerSupportServiceMixin with neutron-lib's WorkerBase 2017-06-14 06:56:48 -06:00
wsgi.py Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-19 07:59:06 +00:00