Go to file
Rodolfo Alonso Hernandez 197c920cdb [OVN] Set always the GW LRP "gateway_mtu" option
NOTE: stable/2024.2 only, as this is a combination of
two commits in one to not introduce a regression by
doing them separately. There were small changes required
to unit tests as the code had changed in 2025.1 where
this was originally merged.

First commit:

If the configuration option "ovn.ovn_emit_need_to_frag" is set, write
always the "LSP.options.gateway_mtu" value, using the minimum MTU
value of all networks connected to the router. That will limit the
N/S traffic MTU regardless if the gateway network MTU is greater or
less than the internal network MTU.

Conflicts:
  neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_client.py
  neutron/tests/functional/plugins/ml2/drivers/ovn/mech_driver/ovsdb/test_ovn_client.py
  neutron/tests/unit/services/ovn_l3/test_plugin.py

(cherry picked from commit d080b35782)

Second commit:

Revert the network IDs filter in ``_gen_router_port_options``

In [1], a change in the ``network_ids`` filter was introduced. This
filter is used to retrieve the networks belonging to a router. However
this is used in two places:
* To set the gateway MTU. Here all the networks attached to the router
  must be present.
* To calculate the "redirect-type" value in the Logical_Router_Port.
  Only the internal interfaces must be present; the gateway port should
  be discarded.

NOTE: patch [1] is present since 2025.1 (Epoxy).

Conflicts:
  neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_client.py

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

Closes-Bug: #2105383
Related-Bug: #2032817
Change-Id: I9cd6e77e47ce16dcf2fc46fc076f1d7ee7a4f9d3
(cherry picked from commit db03074927)
(cherry picked from commit 2489d8009e)
Signed-off-by: Brian Haley <haleyb.dev@gmail.com>
2025-09-29 19:03:41 -04:00
2016-06-28 22:46:19 +02:00
2024-06-06 11:13:54 +05:30
2024-09-13 11:13:42 +00:00
2014-05-16 13:40:04 -04:00
2024-05-15 16:13:38 +02:00
2023-08-21 13:57:00 +00:00
2024-02-08 10:34:10 -05:00
2023-03-28 06:59:20 +00:00
2024-01-12 17:44:09 +09:00
2024-05-21 13:17:36 -04:00

OpenStack Neutron

image

Neutron is an OpenStack project to provide "network connectivity as a service" between interface devices (e.g., vNICs) managed by other OpenStack services (e.g., Nova).

To learn more about neutron:

If you would like to contribute to Neutron, please read the file CONTRIBUTING.rst or see the Neutron contributor guide:

https://docs.openstack.org/neutron/latest/contributor/contributing.html

Get in touch via email. Use [Neutron] in your subject.

Description
OpenStack Networking (Neutron)
Readme 1 GiB
Languages
Python 99.7%
Shell 0.3%