neutron/neutron/tests/unit/agent/common
Slawek Kaplonski 11fe2bff17 Don't setup bridge controller if it is already set
Setting new controller for bridge every time when neutron-ovs-agent
is restarted or is doing full-sync may cause some short data plane
connectivity loss and is not needed if same controller is already
configured for the bridge.
With this patch neutron-ovs-agent will first check if controller is
configured for the bridge and if it's the same as what should be
configured, it will skip setting it up.

With this patch also protocols added to the bridge will be first checked
if they aren't already there and only missing ones will be added if
necessary.

Setting of the connectivity mode and inactivity probe is
always performed as this don't cause connectivity issues and is cheap
so we can always ensure that those parameters are configured properly.

Conflicts:
    neutron/agent/common/ovs_lib.py
    neutron/plugins/ml2/drivers/openvswitch/agent/openflow/native/ovs_bridge.py
    neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/openflow/native/ovs_bridge_test_base.py

Closes-Bug: #1948642
Change-Id: Idfa763df8c60d8ae46cd6351d1b6dc7d950b4c67
(cherry picked from commit 11d166be68)
(cherry picked from commit b1eccf5a2d)
2021-11-03 11:13:26 +00:00
..
__init__.py Add missing neutron/tests/unit/agent/common/__init__.py 2015-04-01 22:43:13 +02:00
test_async_process.py Use sys.executable instead of 'python' 2020-02-07 19:48:05 +01:00
test_ovs_lib.py Don't setup bridge controller if it is already set 2021-11-03 11:13:26 +00:00
test_ovsdb_monitor.py ovsdb monitor: handle modified ports 2019-10-08 10:57:42 +03:00
test_placement_report.py Locate RP-tree parent by hypervisor name 2019-12-10 10:21:53 +01:00
test_polling.py Windows OVS: minimize polling 2018-08-14 09:54:07 +03:00
test_resource_processing_queue.py Rename router processing queue code to be more generic 2018-07-20 15:09:20 -04:00
test_utils.py Make default hypervisor hostname compatible with libvirt 2021-06-17 13:16:38 +00:00