neutron/neutron
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 Merge "Add debug logs to OVSInterfaceDriver.plug_new" 2023-02-03 02:08:10 +00:00
api Enable rpc notifications only when rpc_workers >= 1 2023-01-09 13:33:37 +05:30
cmd [OVN] Implementation of OVN Neutron Agent 2023-01-26 07:41:38 +01:00
common [OVN] Ensure traffic for provider vlan networks is not tunneled 2023-02-28 08:19:44 +01:00
conf Merge "[OVN] Implementation of OVN Neutron Agent" 2023-02-02 04:57:57 +00:00
core_extensions Revert "Set system_scope='all' in elevated context" 2021-06-15 10:29:20 +02:00
db Use SLQAlchemy ORM "relationship" instead of "relation" 2023-01-25 03:45:26 +01:00
debug Fix some pylint indentation warnings 2022-12-12 11:48:25 -05:00
exceptions Add port-resource-request-groups extension 2021-10-21 14:30:07 +02:00
extensions [API] Add API extension and definition for default SG rules 2023-01-23 11:35:45 +00:00
hacking Fix some pylint indentation warnings 2022-12-12 11:48:25 -05:00
ipam Improve message for subnet gateway out of host IP addresses range 2023-01-30 18:43:24 -03:00
locale Imported Translations from Zanata 2023-01-27 03:53:21 +00:00
notifiers Fix some pylint indentation warnings 2022-12-12 11:48:25 -05:00
objects Propose replacement of ORM from_self() 2023-02-01 14:30:37 +00:00
pecan_wsgi Fix some pylint indentation warnings 2022-12-12 11:48:25 -05:00
plugins [OVN] Ensure traffic for provider vlan networks is not tunneled 2023-02-28 08:19:44 +01:00
privileged Fix get_link_devices() with index argument 2023-01-26 12:32:38 -05:00
profiling Fix some pylint indentation warnings 2022-12-12 11:48:25 -05:00
quota [sqlalchemy-20] Add missing DB context decorator 2022-12-02 02:38:36 +01:00
scheduler Fix some pylint indentation warnings 2022-11-02 10:26:11 -04:00
server Use monkey_patch for neutron API server. 2022-04-28 13:34:36 +00:00
services [OVN] Allow logging all traffic related to an ACL 2023-02-01 09:32:28 +01:00
tests Merge "Add debug logs to OVSInterfaceDriver.plug_new" 2023-02-03 02:08:10 +00:00
__init__.py Remove usage of six.PY2 2020-05-22 12:59:01 -04:00
_i18n.py
auth.py Add fake_project_id middleware for noauth 2021-07-05 21:18:09 +05:30
manager.py Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
neutron_plugin_base_v2.py Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
opts.py Fix missing [designate] options 2022-11-22 12:00:50 +09:00
policy.py Bump oslo.policy to 3.12.0 2022-05-02 12:47:16 +02:00
service.py Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-07 14:51:06 +01:00
version.py
worker.py
wsgi.py Fix some pylint indentation warnings 2022-07-01 17:52:59 -04:00