neutron/neutron/tests/functional/services/trunk
Rodolfo Alonso Hernandez d83e243c6d [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
2023-02-10 15:50:56 +01:00
..
drivers [OVN] Add missing LSP device_owner info in trunk driver 2023-02-10 15:50:56 +01:00
rpc Complete removal of dependency on the "mock" package 2020-05-01 12:05:34 -04:00
__init__.py Set bridge_name in OVS trunk port's vif_details 2016-08-08 18:35:18 -06:00
test_plugin.py Replace "tenant_id" with "project_id" 2021-10-22 12:35:13 +00:00