neutron/neutron/tests/unit/plugins/ml2
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
..
drivers [DVR] Reconfigure re-created physical bridges for dvr routers 2020-07-06 20:05:31 +00:00
extensions Stop mocking keystoneauth internals 2018-06-02 11:25:20 +00:00
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
_test_mech_agent.py fix same mechanism driver called twice bug 2018-02-01 18:51:39 +08:00
base.py use service type constants from neutron_lib plugins 2017-06-27 15:16:05 -06:00
test_agent_scheduler.py Move db agent schedulers test to a more appropriate place 2015-08-24 15:14:13 +03:00
test_db.py Update get_port_binding_host for multiple bindings 2018-07-14 16:42:09 -05:00
test_driver_context.py Use objects instead of SQLA deep copies in PortContext 2017-06-20 01:34:10 -07:00
test_ext_portsecurity.py Refactoring config options for ml2 config opts 2017-09-08 15:34:49 -04:00
test_extension_driver_api.py Refactoring config options for ml2 config opts 2017-09-08 15:34:49 -04:00
test_managers.py Fix ml2 hierarchical port binding driver check error. 2018-07-20 05:57:05 +00:00
test_ovo_rpc.py Stop loading OVOServerRpcInterface in ML2 testcase 2017-04-18 01:27:37 -07:00
test_plugin.py ML2 plugin: extract and postpone limit in port query 2019-09-06 11:18:27 +00:00
test_port_binding.py use get_port_binding_by_status_and_host from lib 2018-07-30 07:10:23 -06:00
test_rpc.py Only notify nova of port status changes if configured 2020-05-15 19:13:29 +00:00
test_security_group.py use core resource api defs from lib 2017-11-08 09:48:50 -07:00
test_tracked_resources.py use core resource api defs from lib 2017-11-08 09:48:50 -07:00