[pve-devel] [PATCH pve-network 1/2] sdn: require ipam in simple plugin for dhcp

Stefan Hanreich s.hanreich at proxmox.com
Tue Nov 21 14:31:03 CET 2023


Suggested-By: Wolfgang Bumiller <w.bumiller at proxmox.com>
Signed-off-by: Stefan Hanreich <s.hanreich at proxmox.com>
---
 src/PVE/Network/SDN/Zones/SimplePlugin.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/PVE/Network/SDN/Zones/SimplePlugin.pm b/src/PVE/Network/SDN/Zones/SimplePlugin.pm
index f30278c..f4525d5 100644
--- a/src/PVE/Network/SDN/Zones/SimplePlugin.pm
+++ b/src/PVE/Network/SDN/Zones/SimplePlugin.pm
@@ -30,6 +30,7 @@ sub properties {
 	dhcp => {
 	    type => 'pve-configid',
 	    description => 'ID of the DHCP server responsible for managing this range',
+	    requires => 'ipam',
 	},
     };
 }
-- 
2.39.2





More information about the pve-devel mailing list