]> git.proxmox.com Git - pve-network.git/commit
sdn: allow deletion of empty subnet with gateway
authorStefan Lendl <s.lendl@proxmox.com>
Fri, 17 Nov 2023 14:02:27 +0000 (15:02 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 22 Nov 2023 14:24:41 +0000 (15:24 +0100)
commit4a675ba3a30cb8952dfbe475a638521dad547396
treeda76dce78f2382a3b8a261892eb62b23afaf4661
parenta9107d35d2cc8dcd7ba21e6c3d7770f053da1ef8
sdn: allow deletion of empty subnet with gateway

If the gateway IP is last remaining IP in the subnet (in IPAM), allow
deleting the subnet.

Signed-off-by: Stefan Lendl <s.lendl@proxmox.com>
src/PVE/Network/SDN/Ipams/PVEPlugin.pm