From 1e5d8cacc679b2d8c3e199e972eaca4402c59e75 Mon Sep 17 00:00:00 2001 From: Stefan Hanreich Date: Fri, 17 Nov 2023 12:39:42 +0100 Subject: [PATCH] sdn: zone: add dhcp option Co-Authored-By: Alexandre Derumier Signed-off-by: Stefan Hanreich --- src/PVE/Network/SDN/Zones/SimplePlugin.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 }, }; } -- 2.39.5