neutron/neutron/tests/unit
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
..
agent Allow usage of legacy 3rd-party interface drivers 2020-05-20 00:32:49 +00:00
api Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
cmd Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
common [OVN] Enhance port's extra DHCP options support 2020-05-25 11:23:02 +01:00
conf/agent Agent common config 2017-03-15 09:52:18 -06:00
core_extensions Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
db Add sg name in after delete event kwargs 2020-05-15 10:10:15 -05:00
debug Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
extensions Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
hacking Switch to hacking 3.0.1 2020-05-12 16:58:41 -04:00
ipam Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
notifiers Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
objects Merge "Optimize QoS bound objects queries" 2020-05-18 10:20:20 +00:00
pecan_wsgi Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
plugins [DVR] Reconfigure re-created physical bridges for dvr routers 2020-05-26 13:14:27 +02:00
privileged Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
quota Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
scheduler Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
services Fix neutron tests 2020-05-14 19:13:21 +02:00
tests Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
__init__.py Don't set use_stderr to False for tests 2017-04-15 01:41:29 +00:00
_test_extension_portbindings.py Remove the unit test 'test_ports_vnic_type_list' 2018-06-15 15:12:10 +00:00
dummy_plugin.py Remove Neutron LBaaS 2019-09-20 07:46:06 +00:00
extension_stubs.py Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
fake_resources.py Fix broken unit tests related to ovsdbapp indexing 2020-05-20 16:04:21 +00:00
test_auth.py Fix context deprecation warnings 2018-02-13 15:02:49 -05:00
test_manager.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_neutron_plugin_base_v2.py Add unit test to validate non DB base core plugin can be loaded 2017-11-15 21:21:35 +00:00
test_opts.py Fix the sriov agent config group name 2016-05-05 16:16:08 +08:00
test_policy.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_service.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_worker.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_wsgi.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
testlib_api.py use SqlFixture and StaticSqlFixture from neutron-lib 2019-07-08 11:26:34 -06:00