From: Stefan Hanreich Date: Fri, 17 Nov 2023 11:39:42 +0000 (+0100) Subject: sdn: zone: add dhcp option X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=1e5d8cacc679b2d8c3e199e972eaca4402c59e75;p=matthieu%2Fpve-network.git sdn: zone: add dhcp option Co-Authored-By: Alexandre Derumier Signed-off-by: Stefan Hanreich --- diff --git a/src/PVE/Network/SDN/Zones/SimplePlugin.pm b/src/PVE/Network/SDN/Zones/SimplePlugin.pm index 4922903..f30278c 100644 --- a/src/PVE/Network/SDN/Zones/SimplePlugin.pm +++ b/src/PVE/Network/SDN/Zones/SimplePlugin.pm @@ -26,7 +26,11 @@ sub properties { dnszone => { type => 'string', format => 'dns-name', description => "dns domain zone ex: mydomain.com", - } + }, + dhcp => { + type => 'pve-configid', + description => 'ID of the DHCP server responsible for managing this range', + }, }; } @@ -38,6 +42,7 @@ sub options { reversedns => { optional => 1 }, dnszone => { optional => 1 }, ipam => { optional => 1 }, + dhcp => { optional => 1 }, }; }