neutron/neutron/tests/functional/plugins/ml2/drivers/ovn/mech_driver
Rodolfo Alonso Hernandez 86e2aa859d [OVN] Add missing LSP device_owner info in trunk driver
The ``OVNTrunkHandler`` class updates the port binding profile of the
trunk subports. The methods ``_set_binding_profile`` and
``_unset_binding_profile`` update both the OVN LSP register and the
Neutron DB port register. This patch adds the missing field
"neutron:device_owner" from the LSP external_ids dictionary.

This patch also updates ``OvsdbNbOvnIdl.set_lswitch_port`` API method.
The method now accepts "external_ids_update" kwarg. This dictionary
allows to update (or add) individually each LSP.external_ids
dictionary key, instead of overwritting the whole variable.

NOTE: ``set_lswitch_port`` is not used outside Neutron now so this is
safe to change the API method signature.

Closes-Bug: #2006735
Change-Id: I985f3294b2ca7ab5989022ec1b904c8e29354e07
(cherry picked from commit d83e243c6d)
(cherry picked from commit 7d8c28907a)
2023-02-13 19:32:01 +01:00
..
ovsdb [OVN] Add missing LSP device_owner info in trunk driver 2023-02-13 19:32:01 +01:00
__init__.py [OVN] Add OVN functional tests - part 1 2020-02-18 13:33:52 +00:00
test_mech_driver.py [OVN] Fix availability zones changes check 2023-01-04 09:39:01 +01:00