neutron/neutron/tests/unit/plugins/ml2
Slawek Kaplonski 91f0bf3c85 [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.

Change-Id: I710f00f0f542bcf7fa2fc60800797b90f9f77e14
Closes-Bug: #1864822
2020-05-26 13:14:27 +02:00
..
drivers [DVR] Reconfigure re-created physical bridges for dvr routers 2020-05-26 13:14:27 +02:00
extensions Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
_test_mech_agent.py Check mech driver connectivity during port binding 2019-09-11 07:05:54 +00:00
base.py use service type constants from neutron_lib plugins 2017-06-27 15:16:05 -06:00
test_agent_scheduler.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_db.py Merge "Switch to new engine facade in ML2 unit tests modules" 2020-04-30 22:20:07 +00:00
test_driver_context.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_ext_portsecurity.py PSExtDriverTestCase: initialize variable in case of exception 2019-10-30 17:44:45 -04:00
test_extension_driver_api.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_managers.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_ovo_rpc.py Merge "Switch to new engine facade in ML2 unit tests modules" 2020-04-30 22:20:07 +00:00
test_plugin.py Merge "Switch to new engine facade in ML2 unit tests modules" 2020-04-30 22:20:07 +00:00
test_port_binding.py Merge "Switch to new engine facade in ML2 unit tests modules" 2020-04-30 22:20:07 +00:00
test_rpc.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_security_group.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_tracked_resources.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00