neutron/neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent
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
..
extension_drivers Add OVS QoS driver cache for minimum bandwidth rules 2020-01-07 14:40:28 +00:00
openflow Don't setup bridge controller if it is already set 2021-11-03 11:13:26 +00:00
__init__.py Restructure agent code in preparation for decomp 2015-06-26 15:06:49 +00:00
fake_oflib.py Replace ryu with os_ken 2018-12-13 10:00:17 +00:00
ovs_test_base.py Drop of_interface option 2019-05-24 10:33:48 +02:00
test_ovs_agent_extension_api.py Drop of_interface option 2019-05-24 10:33:48 +02:00
test_ovs_capabilities.py unit test: unbreak test cases for callbacks.subscribe 2018-04-11 07:20:42 +00:00
test_ovs_neutron_agent.py Call install_ingress_direct_goto_flows() when ovs restarts 2021-03-31 01:20:01 +00:00
test_ovs_tunnel.py Fix multicast traffic with IGMP snooping enabled 2021-03-08 15:54:43 +00:00
test_vlanmanager.py Change provider network segmentation ID in OVS agent 2019-05-20 18:53:17 +00:00