neutron/neutron/tests/unit/services
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
..
auto_allocate Fix remaining typos in comments and tests 2022-07-06 21:20:27 +05:30
conntrack_helper Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
externaldns Add initial tests for the Designate DNS backend 2022-07-07 17:50:12 -07: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-01 09:32:28 +01:00
metering ``Session.autocommit`` parameter is removed 2022-08-10 17:15:04 +02:00
network_segment_range Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
ovn_l3 [OVN] Initialize the mech driver variable in ``OVNL3RouterPlugin`` 2022-12-07 05:14:26 +01: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-03-17 12:28:04 +05:30
qos Support for minimum bandwidth rules in tunnelled networks 2023-01-02 11:14:50 +00:00
revisions Merge "Bump revision number of objects when description is changed" 2022-08-26 16:17:37 +00:00
trunk [OVN] Add missing LSP device_owner info in trunk driver 2023-02-10 15:50:56 +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