neutron/neutron/tests/unit/services
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
..
auto_allocate use payloads for NETWORK callback events 2021-05-08 20:50:46 +03:00
conntrack_helper Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
l3_router Use payloads for ROUTER callbacks 2021-08-02 12:32:30 +03:00
logapi [OVN] Allow logging all traffic related to an ACL 2023-02-02 12:35:09 +00:00
metering Replace "tenant_id" with "project_id" in metering service 2021-10-28 09:42:52 +00:00
network_segment_range Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
ovn_l3 ovn: revert to stateful dnat_and_snat 2022-06-30 19:35:48 +00:00
placement_report Report pkt processing capacity on Neutron agent RP 2021-10-11 15:16:52 +02:00
portforwarding [OVN][port-forwarding] Add lb also to logical_switches 2022-04-25 18:24:22 +05:30
qos Add qos-pps-minimum-rule-alias API extension 2022-02-07 11:52:46 +01:00
revisions Bump revision number of objects when description is changed 2022-08-29 08:51:35 +00:00
trunk [OVN] Add missing LSP device_owner info in trunk driver 2023-02-13 19:32:01 +01:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_provider_configuration.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00