neutron/neutron/plugins/ml2/drivers
Rodolfo Alonso Hernandez 1ece93f835 Since OVN 20.06, config is stored in "Chassis.other_config"
Since OVN 20.06 [1], the OVN configuration is stored in
"Chassis.other_config".

Since OVN 22.09, the "Chassis" configuration stored in
"Chassis.other_config" will not be replicated to
"Chassis.external_ids".

The ML2/OVN plugin tries to retrieve the "Chassis"
configuration from the "other_config" field first; if this
field does not exist (in OVN versions before 20.06), the plugin
will use "external_ids" field instead. Neutron will be compatible
with the different OVN versions (with and without "other_config"
field).

[1]74d90c2223
[2]51309429cc

NOTE: this patch is similar to [1], but in this case neutron keeps
compatibility with the different OVN versions (with and without
"other_config" field). Since [2], the Neutron CI has a new job that
uses the OVN/OVS packages distributed by the operating system
installed by the CI (in this case, Ubuntu 20.04 and OVN 20.03).

[1]https://review.opendev.org/c/openstack/neutron/+/859642
[2]https://review.opendev.org/c/openstack/neutron/+/860636

Conflicts:
      neutron/plugins/ml2/drivers/ovn/agent/neutron_agent.py
      neutron/plugins/ml2/drivers/ovn/mech_driver/mech_driver.py
      neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/extensions/placement.py
      neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/impl_idl_ovn.py
      neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovsdb_monitor.py
      neutron/tests/functional/plugins/ml2/drivers/ovn/mech_driver/ovsdb/extensions/test_placement.py
      neutron/tests/functional/plugins/ml2/drivers/ovn/mech_driver/test_mech_driver.py
      neutron/tests/unit/common/ovn/test_utils.py
      neutron/tests/unit/fake_resources.py
      neutron/tests/unit/plugins/ml2/drivers/ovn/mech_driver/ovsdb/test_impl_idl_ovn.py
      neutron/tests/unit/plugins/ml2/drivers/ovn/mech_driver/test_mech_driver.py
      neutron/tests/unit/plugins/ml2/drivers/ovn/mech_driver/ovsdb/test_ovsdb_monitor.py

Closes-Bug: #1990229
Change-Id: I54c8fd4d065ae537f396408df16832b158ee8998
(cherry picked from commit 536498a29a)
(cherry picked from commit 8a4c62d094)
(cherry picked from commit a007da1e9a)
2023-01-21 17:38:07 +01:00
..
agent Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
l2pop Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
linuxbridge When creating a VXLAN interface, a device is mandatory 2022-04-11 16:22:49 +02:00
macvtap Merge "Set process name for agents" 2020-07-08 13:40:10 +00:00
mech_sriov Change set_device_rate calls according to new signature 2022-04-08 09:33:50 +00:00
openvswitch Disable in-band management for bridges before setting up controllers 2022-10-18 07:04:48 +00:00
ovn Since OVN 20.06, config is stored in "Chassis.other_config" 2023-01-21 17:38:07 +01:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
helpers.py Randomize segmentation ID assignation 2021-03-29 11:23:56 +00:00
mech_agent.py [OVN] Check new added segments in OVN mech driver 2022-01-17 13:49:11 +00:00
type_flat.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
type_geneve.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
type_gre.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
type_local.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
type_tunnel.py Remove "six" library 2020-07-28 16:55:52 +00:00
type_vlan.py Fix VLAN driver tests 2021-03-16 15:43:33 +00:00
type_vxlan.py Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00