SPAM: [PATCH pve-network v2 0/4] dhcp: always generate dhcp-range

Lou Lecrivain lou.lecrivain at wdz.de
Mon Dec 9 12:31:54 CET 2024


Second version of the patch, changes made as seen with Stefan. 

this patch series re-enables a previously disabled code path in order to
allow IP allocation directly from a prefix when no DHCP ranges are
configured for a subnet.

MfG
--
Lou Lecrivain
WDZ GmbH

Lou Lecrivain (4):
  vnet: do not skip if no range is defined, ask for allocation inside
    prefix instead
  dhcp: always generate dhcp-range for dnsmasq
  fix: register details in pve ipam db for add_next_freeip
  update tests following changes to behaviour: - allocating IPs also
    when prefix-only - PVE IPAM register details for every allocation
    strategy

 src/PVE/Network/SDN/Dhcp.pm            |  3 ++-
 src/PVE/Network/SDN/Dhcp/Dnsmasq.pm    | 23 ++++++++++-------------
 src/PVE/Network/SDN/Ipams/PVEPlugin.pm |  6 +++++-
 src/PVE/Network/SDN/Vnets.pm           |  3 +--
 src/test/run_test_subnets.pl           | 24 +++++++++++++++++++++---
 src/test/run_test_vnets_blackbox.pl    |  6 ++----
 6 files changed, 41 insertions(+), 24 deletions(-)

-- 
2.39.5




More information about the pve-devel mailing list