neutron/neutron/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 Fix some pylint indentation warnings 2022-12-01 16:21:37 +00:00
seg_types use trunk constants from neutron-lib 2019-04-23 13:54:11 -06:00
__init__.py Revisit support for trunk segmentation types 2016-09-02 15:37:09 +00:00
exceptions.py Correctly label port as SubPort in SubPortNotFound 2021-06-28 17:19:41 +00:00
models.py Use neutron-lib standard_attr 2021-09-15 09:19:26 +00:00
plugin.py Fix some pylint indentation warnings 2022-12-01 16:21:37 +00:00
rules.py Revert "Set system_scope='all' in elevated context" 2021-06-15 10:29:20 +02:00
utils.py Revert "Set system_scope='all' in elevated context" 2021-06-15 10:29:20 +02:00