neutron/neutron/tests/unit/plugins/ml2/drivers
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 "Dont use dict.get() to know certain key is in dict" 2018-07-25 15:28:18 +00:00
l2pop More accurate agent restart state transfer 2019-03-29 22:04:21 +08:00
linuxbridge Update neutron files for new over-indentation hacking rule (E117) 2019-01-30 20:05:18 +03:00
macvtap Update neutron files for new over-indentation hacking rule (E117) 2019-01-30 20:05:18 +03:00
mech_sriov SRIOV agent: wait VFs initialization on embedded switch create 2019-06-10 07:12:47 +00:00
openvswitch [DVR] Reconfigure re-created physical bridges for dvr routers 2020-07-06 20:05:31 +00:00
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
base_type_tunnel.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
ext_test.py Revert "Revert "objects: get, update and delete converted to Subnet OVO usage"" 2017-12-01 16:45:50 +07:00
mech_fake_agent.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
mech_faulty_agent.py Exit on failure to load mechanism drivers 2017-04-11 09:56:08 -05:00
mechanism_logger.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
mechanism_test.py Fix all pep8 E129 errors 2018-05-03 13:44:04 +09:00
test_helpers.py Spin off context module 2017-03-06 16:25:29 +00:00
test_type_flat.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
test_type_geneve.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
test_type_gre.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
test_type_local.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
test_type_vlan.py Improve VLAN allocations synchronization 2020-04-23 16:11:09 +00:00
test_type_vxlan.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00