[pve-devel] [PATCH guest-common, network, container, qemu-server 0/4] fix #5900: enhance SDN auto-dhcp behaviour

Daniel Herzig d.herzig at proxmox.com
Thu Dec 5 17:33:28 CET 2024


This patch series prevents containers and vms to be created when their bridges are within an SDN zone,
that is set to deploy IPs automatically via dnsmasq, while the dhcp range is exhausted.

Currently adding a bridge under these circumstances is already impossible, however on VM or container
creation, this is overridden, which can lead to confusing behaviour as described in detail on bugzilla.

*** BLURB HERE ***

guest-common: Daniel Herzig (1):
  fix #5900: add helper function

 src/PVE/GuestHelpers.pm | 11 +++++++++++
 1 file changed, 11 insertions(+)

network: Daniel Herzig (1):
  fix #5900: add helper functions

 src/PVE/Network/SDN/Dhcp.pm | 83 +++++++++++++++++++++++++++++++++++++
 1 file changed, 83 insertions(+)

container: Daniel Herzig (1):
  fix #5900: do not create container if dhcp range is exhausted

 src/PVE/API2/LXC.pm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

qemu-server: Daniel Herzig (1):
  fix #5900: do not create vm if dhcp range is exhausted

 PVE/API2/Qemu.pm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

-- 
2.39.5





More information about the pve-devel mailing list