neutron/neutron/plugins/ml2/drivers/ovn
Luis Tomas Bolivar acb809eea4 [OVN] Ensure traffic for provider vlan networks is not tunneled
This patch adds an extra checking to ensure the
"reside-on-redirect-chassis" is set to true for the logical
router port associated to vlan provider network despite having
the "ovn_distributed_floating_ip" enabled or not. This is needed
as there is an OVN bug [1] making it not work as expected.

Note setting this to true has implications as the traffic will be
centrallized (but not tunneled) through the node with the gateway
port.

The expected behavior of this flag, once [1] is fixed is:
- reside-on-redirect-chassis flag to False: means traffic goes
  tunneled to the controller with the gateway port. Means it requires
  extra MTU reduction to work.
- reside-on-redirect-chassis flag to True: means traffic is not
  tunneled to the controller with the gateway port, but the traffic is
  centralized through the controller with the gateway port. Thus it
  does not require extra MTU reduction.
- reside-on-redirect-chassis to False, but with ovn-chassis-mac-mappings
  configured: means the traffic is fully distributed and it is not being
  tunneled, nor sent, through the controller with the gateway port. This
  is the preferred option as it does not require MTU reduction and it
  avoids the extra hop. However it is not working as expected, therefore
  the fallback to set reside-on-redirect-chassis to True.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2162756

Closes-Bug: #2003455
Change-Id: I662cb30c842e54bb9f7dabac5519283aa7c7f8d0
2023-02-28 08:19:44 +01:00
..
agent [OVN] Introduce the new OVN Neutron Agent 2023-01-19 14:36:39 +00:00
mech_driver [OVN] Ensure traffic for provider vlan networks is not tunneled 2023-02-28 08:19:44 +01:00
__init__.py [OVN] Import ovsdb related code 2019-12-04 13:18:50 +00:00
db_migration.py [OVN] During the DB migration, allow the DB context to finish 2022-05-14 12:52:48 +00:00