neutron/neutron/services/trunk/drivers
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
..
linuxbridge Load Linux Bridge Trunk extension if service plugin configured 2021-06-11 13:26:53 +00:00
openvswitch Handle if "TRUNK_SKELETON" is not loaded 2022-12-13 16:36:14 +01:00
ovn [OVN] Add missing LSP device_owner info in trunk driver 2023-02-10 15:50:56 +01:00
__init__.py Add linux bridge trunk server side driver 2016-08-05 21:49:36 -07:00
base.py Use payloads for TRUNK and SUBPORTS callbacks 2021-04-30 14:41:08 +03:00