ovn-octavia-provider/ovn_octavia_provider/tests/unit
Fernando Royo eb5010f8ec Fix check for a CR-LRP as a gateway port
As per [1], the gateway neutron-ovn-invalid-chassis previously
used for the CR-LRP gateway_chassis has been removed. However,
it is necessary to determine whether a Logical Router Port (LRP)
is a gateway port or not to appropriately assign the Load
Balancer (LB) to the Logical Switch (LS) associated with tenant
and provider networks.

This patch modifies the logic within the LogicalRouterPortEvent
to examine the external_ids and determine if the port is a
gateway port or not, regardless of whether gateway_chassis is
included or not.

[1] https://review.opendev.org/c/openstack/neutron/+/909305

Closes-Bug: #2056537

Change-Id: I05bc97362e45a0239cf9206ba8539fcfb10a1151
2024-03-11 10:22:03 +00:00
..
common Replace python-neutronclient with openstacksdk 2023-05-10 08:59:10 +02:00
hacking Increase code coverage 2022-11-21 15:59:45 +01:00
ovsdb [OVN] Fix DuplicateOptionError on test scope 2022-05-11 15:24:23 +02:00
schemas Add Health Monitor support 2021-07-21 17:00:03 -04:00
__init__.py Initialize repository 2020-01-15 14:41:32 +00:00
base.py Allow LB members to mix IPv4 and IPv6 for the multivip LB 2023-12-22 13:19:24 +01:00
fakes.py Replace python-neutronclient with openstacksdk 2023-05-10 08:59:10 +02:00
test_agent.py Add maintenance task to update entities on component start 2023-10-19 08:47:49 +00:00
test_driver.py Allow LB members to mix IPv4 and IPv6 for the multivip LB 2023-12-22 13:19:24 +01:00
test_hacking.py Initialize repository 2020-01-15 14:41:32 +00:00
test_helper.py Fix check for a CR-LRP as a gateway port 2024-03-11 10:22:03 +00:00
test_maintenance.py Add maintenance task to update entities on component start 2023-10-19 08:47:49 +00:00