Jakub Libosvar d89b045218 evpn: Remove child_vxlan_port config option
The vxlan port number was just used as a UDP port for the SVD.
The port number is not used anywhere in the datapath and doesn't
need to be statically configured from the dynamic range of ports.

This patch lets kernel pick any available port by binding to a socket.
Then it closes the socket and returns the used port for the vxlan
device.

There is a very small time window between the temporary socket is closed
and the port is set to the vxlan interface, so there is a loop that
tries the mechanism ten times, always letting the kernel to pick a new
unused port. Then it bails out and agent needs to be restarted.

Closes-Bug: #2158130
Assisted-By: Claude Opus 4.6

Change-Id: I2bebc47fe4c435539476e591b684ce552da8651d
Signed-off-by: Jakub Libosvar <jlibosva@redhat.com>
2026-06-24 15:51:36 -04:00
2016-06-28 22:46:19 +02:00
2019-04-19 19:38:27 +00:00
2014-05-16 13:40:04 -04:00
2026-06-02 07:31:17 -04:00
2024-11-27 11:32:09 +09:00
2025-07-28 20:11:20 +00:00
2024-01-12 17:44:09 +09:00
2026-05-18 16:30:56 -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.

S
Description
OpenStack Networking (Neutron)
Readme
1.1 GiB
2 Watchers 0 Forks
Languages
Python 99.6%
Shell 0.4%