Re: [pve-devel] [PATCH pve-network] Fix #5496: NetBox add ip range

2024-12-13 Thread Lou Lecrivain via pve-devel
e the case too. BR De : pve-devel de la part de DERUMIER, Alexandre via pve-devel Envoyé : jeudi 12 décembre 2024 08:20 À : pve-devel@lists.proxmox.com Cc : DERUMIER, Alexandre ; m...@nurohman.com Objet : [!!ACHTUNG extern!!] - Re: [pve-devel] [PATCH pve

Re: [pve-devel] [PATCH pve-network] Fix #5496: NetBox add ip range

2024-12-12 Thread Stefan Hanreich
On 12/12/24 00:38, nurohman wrote: > diff --git a/src/PVE/Network/SDN/Ipams/NetboxPlugin.pm > b/src/PVE/Network/SDN/Ipams/NetboxPlugin.pm > index d923269..5591b0b 100644 > --- a/src/PVE/Network/SDN/Ipams/NetboxPlugin.pm > +++ b/src/PVE/Network/SDN/Ipams/NetboxPlugin.pm > @@ -151,7 +151,7 @@ sub ad

Re: [pve-devel] [PATCH pve-network] Fix #5496: NetBox add ip range

2024-12-12 Thread Stefan Hanreich
On 12/12/24 08:20, DERUMIER, Alexandre wrote: > but shouldn't theses ranges be added when the dhcp ranges are submitted > on subnet create/update api call ? (I'm not 100% sure, but I think it > was missing a hook to call the sdn api when submitting the dhcp ranges > ) Yes, I also think this should

Re: [pve-devel] [PATCH pve-network] Fix #5496: NetBox add ip range

2024-12-11 Thread DERUMIER, Alexandre via pve-devel
TCH pve-network] Fix #5496: NetBox add ip range Date: 12/12/2024 00:38:04 when ip range not available in the NetBox, function response "can't find free ip in range". Add new ip range if can't find ip range ID and response new ip range ID.  Co-authored-by: Jacob Green Co-aut

[pve-devel] [PATCH pve-network] Fix #5496: NetBox add ip range

2024-12-11 Thread nurohman via pve-devel
--- Begin Message --- when ip range not available in the NetBox, function response "can't find free ip in range". Add new ip range if can't find ip range ID and response new ip range ID. Co-authored-by: Jacob Green Co-authored-by: Lou Lecrivain Signed-off-by: Nurohman --- src/PVE/Network/S