neutron/neutron/tests/unit/plugins/ml2/drivers
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
..
agent Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
l2pop ovs agent: signal to plugin if tunnel refresh needed 2020-01-09 14:18:43 +00:00
linuxbridge Make ARP protection commands compatible with "ebtables-nft" 2021-08-10 09:35:46 +00:00
macvtap Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
mech_sriov [SR-IOV] Do not fail if ip-link vf "min_tx_rate" is not supported 2021-03-11 15:44:45 +00:00
openvswitch Don't setup bridge controller if it is already set 2021-11-03 11:13:26 +00:00
ovn [ovn] Stop monitoring the SB MAC_Binding table to reduce mem footprint 2021-10-26 13:32:15 +01:00
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
base_type_tunnel.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
ext_test.py Revert "Revert "objects: get, update and delete converted to Subnet OVO usage"" 2017-12-01 16:45:50 +07:00
mech_fake_agent.py Check mech driver connectivity during port binding 2019-09-11 07:05:54 +00:00
mech_faulty_agent.py Exit on failure to load mechanism drivers 2017-04-11 09:56:08 -05:00
mechanism_logger.py Rehome provider_network_attribute_updates_supported to API definition 2019-04-24 14:21:13 +00:00
mechanism_test.py Fix update of network's segmentation id 2019-06-14 10:44:30 +02:00
test_helpers.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
test_type_flat.py remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
test_type_geneve.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
test_type_gre.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
test_type_local.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00
test_type_vlan.py VLAN "allocate_partially_specified_segment" can return any physnet 2021-09-10 11:35:58 +02:00
test_type_vxlan.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00