Re: [pve-devel] [PATCH pve-network] ipam: improve update / delete behavior

2023-11-22 Thread Stefan Lendl
I tested this with multiple Subnets: It works if MAC is 1x in IPv4 subnet and 1x in IPv6 subnet. - updating either IPv4 or IPv6 - other one persists - update IPv4 to be in another subnet - auto-selects the new subnet Encountered issues: - change IPv4 to IPv6 (and vice versa) > can't find an

Re: [pve-devel] [PATCH pve-network] ipam: improve update / delete behavior

2023-11-22 Thread Thomas Lamprecht
Am 22/11/2023 um 13:29 schrieb Stefan Hanreich: > Currently when updating or deleting a mapping in the IPAM we would > delete all existing entries in the IPAM with that mac address. Now we > only delete the specific entry we are updating / deleting. > > Signed-off-by: Stefan Hanreich > --- > src

[pve-devel] [PATCH pve-network] ipam: improve update / delete behavior

2023-11-22 Thread Stefan Hanreich
Currently when updating or deleting a mapping in the IPAM we would delete all existing entries in the IPAM with that mac address. Now we only delete the specific entry we are updating / deleting. Signed-off-by: Stefan Hanreich --- src/PVE/API2/Network/SDN/Ips.pm | 20 +--- src/PV