Files
neutron/neutron/privileged
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
..