sdn: zone: add dhcp option

Co-Authored-By: Alexandre Derumier <aderumier@odiso.com>
Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
This commit is contained in:
Stefan Hanreich 2023-11-17 12:39:42 +01:00 committed by Thomas Lamprecht
parent 290fa5c9af
commit 1e5d8cacc6

View file

@ -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 },
};
}