neutron/neutron/agent/common
Slawek Kaplonski 4456a87dac 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)
(cherry picked from commit 11fe2bff17)
2021-11-04 13:19:07 +01:00
..
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
async_process.py Add kill_timeout to AsyncProcess 2018-11-16 15:33:13 +01:00
base_polling.py OVS agent support on Hyper-V 2015-03-25 13:48:33 -07:00
ip_lib.py Fix neutron-openvswitch-agent Windows support 2018-07-18 14:41:21 +03:00
ovs_lib.py Don't setup bridge controller if it is already set 2021-11-04 13:19:07 +01:00
ovsdb_monitor.py ovsdb monitor: handle modified ports 2020-03-23 10:49:49 +00:00
placement_report.py Locate RP-tree parent by hypervisor name 2019-12-20 13:25:13 +01:00
polling.py Windows OVS: minimize polling 2018-08-14 09:54:07 +03:00
resource_processing_queue.py Add update_id for ResourceUpdate 2019-04-25 09:09:27 +08:00
utils.py Make default hypervisor hostname compatible with libvirt 2021-06-21 14:20:34 +02:00