neutron/neutron/tests/unit
Slawek Kaplonski 89fd5ec537 [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
(cherry picked from commit 91f0bf3c85)
2020-05-27 20:16:35 +00:00
..
agent Allow usage of legacy 3rd-party interface drivers 2020-05-21 08:41:57 +00:00
api Fix bug: AttributeError arises while sorting with standard attributes 2020-02-03 11:02:28 +00:00
cmd Add check for external_network_bridge in neutron-status 2019-03-22 13:14:24 +00:00
common Packets getting lost during SNAT with too many connections 2019-05-20 17:39:47 -04:00
conf/agent Agent common config 2017-03-15 09:52:18 -06:00
core_extensions remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
db Check "security_group_rule" quota during security group creation 2020-04-24 11:45:27 +02:00
debug Remove deprecated 'external_network_bridge' option 2019-03-09 22:07:38 +00:00
extensions Fix resource schemas and releated `get_sorts` test cases 2020-01-31 17:30:08 +00:00
hacking remove string use of neutron.common.rpc 2019-02-08 09:40:39 -07:00
ipam Allow first address in an IPv6 subnet as valid unicast 2019-05-22 14:13:31 +00:00
notifiers Refactor the L3 agent batch notifier 2019-09-10 05:40:18 +00:00
objects Default (shared) network segment range is not mandatory 2020-05-04 14:02:23 +00:00
pecan_wsgi Removing deprecated module neutron.api.versions 2018-03-28 14:15:50 +07:00
plugins [DVR] Reconfigure re-created physical bridges for dvr routers 2020-05-27 20:16:35 +00:00
privileged Ensure netlink.nla_slot tuple key is a string 2020-04-09 13:43:42 +00:00
quota use get reader/writer session from neutron-lib 2018-07-06 14:43:31 -06:00
scheduler Check "security_group_rule" quota during security group creation 2020-04-24 11:45:27 +02:00
services Locate RP-tree parent by hypervisor name 2019-12-23 12:11:14 +01:00
tests Increase timeouts for OVSDB in functional tests 2019-09-13 10:57:02 +00: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 Add dependency for service plugin 2019-02-16 00:17:53 +08:00
extension_stubs.py Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
test_auth.py Fix context deprecation warnings 2018-02-13 15:02:49 -05:00
test_manager.py Avoid loading same service plugin more than once 2019-02-21 11:17:02 +01: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
test_policy.py Fix handling of network:shared field in policy module 2019-05-17 14:14:15 +00:00
test_service.py Fix default RPC worker count 2019-08-02 09:44:32 +01:00
test_worker.py
test_wsgi.py Change process name of neutron-server to match worker role 2019-03-01 14:18:09 -05:00
testlib_api.py use context manager from neutron-lib 2018-10-24 07:18:46 -06:00