Re: [pve-devel] [!!ACHTUNG extern!!] - Re: SPAM: RE: [!!ACHTUNG extern!!] - Re: SPAM: [PATCH pve-network v4 1/2] ipam: add Nautobot plugin - range workaround questions

2025-05-14 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Re Hannes, I took some time today to test the new implementation, but I believe there are still some issues with it. Here's what I did: 1. Create IPAM entry with Nautobot plugin 2. Create a zone of type simple with Nautobot as an IPAM 3. Create a VNet in said zone, with a /

Re: [pve-devel] [!!ACHTUNG extern!!] - Re: SPAM: [PATCH pve-network v4 1/2] ipam: add Nautobot plugin - range workaround questions

2025-05-09 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Re, Ok, thanks for clarifying. Indeed the offset parameter is ineffective (I have looked at the Nautobot code this morning). Tbqh I don't really like having to create then delete an object in Nautobot for this, but I guess there's no other way, given the limitations we're

[pve-devel] [PATCH pve-network v4 1/2] ipam: add Nautobot plugin - range workaround questions

2025-05-07 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Hannes, Thank you for helping with getting the Netbox plugin in good shape, it's appreciated, really :) I just have two questions regarding the lack of range support in Nautobot: - Was there an issue with the original workaround code? I find this one way more complex, b

Re: [pve-devel] [!!ACHTUNG extern!!] - Re: [!!ACHTUNG extern!!] - Re: [PATCH pve-network v3 1/3] ipam: nautobot: base plugin

2025-03-20 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Regarding the Accept header,  >> sub default_headers {  >>     my ($plugin_config) = @_;  >>     my $token = $plugin_config->{token};  >>     return [  >>     'Content-Type' => "application/json", 'Authorization' => "token $token",  >>     'Accept' => "application/json"  >> 

Re: [pve-devel] [PATCH-SERIES pve-network v3] Add Nautobot IPAM support

2025-03-19 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Hannes, I appreciate the swift review. I talked with my colleague in Cc and there's no issue with being co-authors. So let's go forward with your proposition. Thank you for taking care of it! Best regards De : Hannes Dürr Envoyé : me

Re: [pve-devel] [!!ACHTUNG extern!!] - Re: [PATCH pve-network v3 1/3] ipam: nautobot: base plugin

2025-03-19 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Re, Ok so. Answering on that. By default, the status "Active" already exists for fresh installs. However, since the users are free to define whatever status they want (and delete the pre-existing ones!), I thought it'd be best if we checked it did exist first. There could be

Re: [pve-devel] [PATCH-SERIES pve-network v3] Add Nautobot IPAM support

2025-03-15 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Re Hannes, You're welcome :) Sorry for the "from:", my mistake, must've slipped through before sending the patches (I may have forgot to signoff). Noted for the Co-developed-by. Would it be OK for you to edit that in or do I have to resend the patch series? MfG __

Re: [pve-devel] SPAM: [PATCH pve-network v2 0/7] add support for Nautobot IPAM

2025-03-04 Thread Lou Lecrivain via pve-devel
/wiki/Perl_Style_Guide On 1/8/25 13:15, Lou Lecrivain via pve-devel wrote: > ___ > pve-devel mailing list > pve-devel@lists.proxmox.com > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel Re Hannes, No problem. I myself wasn't

[pve-devel] SPAM: [PATCH pve-manager] ui: add dialog for nautobot IPAM plugin

2025-01-29 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Co-Authored-by: jonatan crystall Signed-off-by: lou lecrivain --- www/manager6/Makefile | 1 + www/manager6/Utils.js | 5 +++ www/manager6/sdn/ipams/NautobotEdit.js | 52 ++ 3 files changed, 58 insertions(+) creat

[pve-devel] SPAM: [PATCH pve-docs] pvesdn: add documentation for Nautobot IPAM plugin

2025-01-08 Thread Lou Lecrivain via pve-devel
--- Begin Message --- From: Lou Lecrivain Signed-off-by: Lou Lecrivain Co-Authored-by: Jonatan Crystall --- pvesdn.adoc | 19 +++ 1 file changed, 19 insertions(+) diff --git a/pvesdn.adoc b/pvesdn.adoc index 5d5d27b..d4744ab 100644 --- a/pvesdn.adoc +++ b/pvesdn.adoc @@ -561,

[pve-devel] SPAM: [PATCH pve-network v2 4/7] ipam: nautobot: base plugin + enhance errors

2025-01-08 Thread Lou Lecrivain via pve-devel
--- Begin Message --- added error handling in helpers Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/NautobotPlugin.pm | 126 ++-- 1 file changed, 113 insertions(+), 13 deletions(-) diff --git a/src/PVE/Network/SDN/Ipams/NautobotPlugin.pm b/src/PVE/Network/SDN/Ipams

[pve-devel] SPAM: [PATCH pve-network v2 2/7] ipam: nautobot: implement plain prefix allocation

2025-01-08 Thread Lou Lecrivain via pve-devel
--- Begin Message --- add support for subnet allocation without ranges, where it was previously not supported. Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/NautobotPlugin.pm | 68 + 1 file changed, 68 insertions(+) diff --git a/src/PVE/Network/SDN/Ipams/Nautobo

[pve-devel] SPAM: [PATCH pve-network v2 7/7] ipam: nautobot: systematically use namespace

2025-01-08 Thread Lou Lecrivain via pve-devel
--- Begin Message --- this is needed in order to not accidentally use another subnet or IP which might be in another namespace. Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/NautobotPlugin.pm | 40 + 1 file changed, 26 insertions(+), 14 deletions(-) diff --git a

[pve-devel] SPAM: [PATCH pve-network v2 5/7] ipam: nautobot: add checks for prefix deletion

2025-01-08 Thread Lou Lecrivain via pve-devel
--- Begin Message --- check that prefix/subnet is empty (only gateway IPs should remain) before deletion. Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/NautobotPlugin.pm | 60 - 1 file changed, 58 insertions(+), 2 deletions(-) diff --git a/src/PVE/Network/SDN/Ip

[pve-devel] SPAM: [PATCH pve-network v2 6/7] ipam: nautobot: add documentation

2025-01-08 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/NautobotPlugin.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/PVE/Network/SDN/Ipams/NautobotPlugin.pm b/src/PVE/Network/SDN/Ipams/NautobotPlugin.pm index f736bad..3d60265 100644 ---

[pve-devel] SPAM: [PATCH pve-network v2 3/7] ipam: nautobot: add testing for nautobot plugin

2025-01-08 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Signed-off-by: lou lecrivain --- src/test/ipams/nautobot/expected.add_ip | 11 + .../ipams/nautobot/expected.add_ip_notgateway | 11 + .../ipams/nautobot/expected.add_next_freeip | 11 + src/test/ipams/nautobot/expected.add_subnet | 11 +

[pve-devel] SPAM: [PATCH pve-network v2 1/7] ipam: nautobot support initial commit

2025-01-08 Thread Lou Lecrivain via pve-devel
--- Begin Message --- This is the initial Nautobot plugin, based on the Netbox plugin implementation. Signed-off-by: lou lecrivain --- src/PVE/API2/Network/SDN/Ipams.pm | 1 + src/PVE/Network/SDN/Ipams.pm| 3 + src/PVE/Network/SDN/Ipams/Makefile | 2 +- s

[pve-devel] SPAM: [PATCH pve-network v2 0/7] add support for Nautobot IPAM

2025-01-08 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Re, Sorry for the previous thread, I got another patch mixed up and I didn't realized. This one is the correct one. BR Lou Lecrivain (7): ipam: nautobot support initial commit ipam: nautobot: implement plain prefix allocation ipam: nautobot: add testing for nautobot

[pve-devel] SPAM: [PATCH pve-network v2 6/7] ipam: nautobot: add documentation

2025-01-08 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/NautobotPlugin.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/PVE/Network/SDN/Ipams/NautobotPlugin.pm b/src/PVE/Network/SDN/Ipams/NautobotPlugin.pm index f736bad..3d60265 100644 ---

[pve-devel] SPAM: [PATCH pve-network v2 4/7] ipam: nautobot: base plugin + enhance errors

2025-01-08 Thread Lou Lecrivain via pve-devel
--- Begin Message --- added error handling in helpers Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/NautobotPlugin.pm | 126 ++-- 1 file changed, 113 insertions(+), 13 deletions(-) diff --git a/src/PVE/Network/SDN/Ipams/NautobotPlugin.pm b/src/PVE/Network/SDN/Ipams

[pve-devel] SPAM: [PATCH pve-network v2 3/4] fix: register details in pve ipam db for add_next_freeip

2025-01-08 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/PVEPlugin.pm | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/PVE/Network/SDN/Ipams/PVEPlugin.pm b/src/PVE/Network/SDN/Ipams/PVEPlugin.pm index 742f1b1..c225655 100644 --- a/src/PVE/Netwo

[pve-devel] SPAM: [PATCH pve-network v2 1/7] ipam: nautobot support initial commit

2025-01-08 Thread Lou Lecrivain via pve-devel
--- Begin Message --- This is the initial Nautobot plugin, based on the Netbox plugin implementation. Signed-off-by: lou lecrivain --- src/PVE/API2/Network/SDN/Ipams.pm | 1 + src/PVE/Network/SDN/Ipams.pm| 3 + src/PVE/Network/SDN/Ipams/Makefile | 2 +- s

[pve-devel] SPAM: [PATCH pve-network v2 7/7] ipam: nautobot: systematically use namespace

2025-01-08 Thread Lou Lecrivain via pve-devel
--- Begin Message --- this is needed in order to not accidentally use another subnet or IP which might be in another namespace. Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/NautobotPlugin.pm | 40 + 1 file changed, 26 insertions(+), 14 deletions(-) diff --git a

[pve-devel] SPAM: [PATCH pve-network v2 5/7] ipam: nautobot: add checks for prefix deletion

2025-01-08 Thread Lou Lecrivain via pve-devel
--- Begin Message --- check that prefix/subnet is empty (only gateway IPs should remain) before deletion. Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/NautobotPlugin.pm | 60 - 1 file changed, 58 insertions(+), 2 deletions(-) diff --git a/src/PVE/Network/SDN/Ip

[pve-devel] SPAM: [PATCH pve-network v2 4/4] update tests following changes to behaviour: - allocating IPs also when prefix-only - PVE IPAM register details for every allocation strategy

2025-01-08 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Signed-off-by: lou lecrivain --- src/test/run_test_subnets.pl| 24 +--- src/test/run_test_vnets_blackbox.pl | 6 ++ 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/src/test/run_test_subnets.pl b/src/test/run_test_subnets.pl in

[pve-devel] SPAM: [PATCH pve-network v2 3/7] ipam: nautobot: add testing for nautobot plugin

2025-01-08 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Signed-off-by: lou lecrivain --- src/test/ipams/nautobot/expected.add_ip | 11 + .../ipams/nautobot/expected.add_ip_notgateway | 11 + .../ipams/nautobot/expected.add_next_freeip | 11 + src/test/ipams/nautobot/expected.add_subnet | 11 +

[pve-devel] SPAM: [PATCH pve-network v2 2/7] ipam: nautobot: implement plain prefix allocation

2025-01-08 Thread Lou Lecrivain via pve-devel
--- Begin Message --- add support for subnet allocation without ranges, where it was previously not supported. Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/NautobotPlugin.pm | 68 + 1 file changed, 68 insertions(+) diff --git a/src/PVE/Network/SDN/Ipams/Nautobo

[pve-devel] SPAM: [PATCH pve-network v2 2/4] dhcp: always generate dhcp-range for dnsmasq

2025-01-08 Thread Lou Lecrivain via pve-devel
--- Begin Message --- (configure_range is now noop) Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Dhcp.pm | 3 ++- src/PVE/Network/SDN/Dhcp/Dnsmasq.pm | 23 ++- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/src/PVE/Network/SDN/Dhcp.pm b/src/

[pve-devel] SPAM: [PATCH pve-network v2 1/4] vnet: do not skip if no range is defined, ask for allocation inside prefix instead

2025-01-08 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Vnets.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/PVE/Network/SDN/Vnets.pm b/src/PVE/Network/SDN/Vnets.pm index 45292e3..4e795f2 100644 --- a/src/PVE/Network/SDN/Vnets.pm +++ b/src/PVE/Netw

[pve-devel] SPAM: [PATCH pve-network v2 0/7] add support for Nautobot IPAM

2025-01-08 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Hello all, Following december's discussions related to the v1 of Nautobot Support for Proxmox SDN, please find v2 of this patch herein. I have edited the commit history to be more readable and also made the requested changes + some improvements since the last time. Document

[pve-devel] SPAM: [PATCH pve-network v3 3/4] fix: register details in pve ipam db for add_next_freeip

2024-12-13 Thread lou lecrivain via pve-devel
--- Begin Message --- From: Lou Lecrivain Signed-off-by: lou lecrivain Tested-by: Stefan Hanreich Reviewed-by: Stefan Hanreich --- src/PVE/Network/SDN/Ipams/PVEPlugin.pm | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/PVE/Network/SDN/Ipams/PVEPlugin.pm b/src/PVE/

[pve-devel] SPAM: [PATCH pve-network v3 4/4] update tests following changes to behaviour: - allocating IPs also when prefix-only - PVE IPAM register details for every allocation strategy

2024-12-13 Thread lou lecrivain via pve-devel
--- Begin Message --- From: Lou Lecrivain Signed-off-by: lou lecrivain Tested-by: Stefan Hanreich Reviewed-by: Stefan Hanreich --- src/test/run_test_subnets.pl| 24 +--- src/test/run_test_vnets_blackbox.pl | 6 ++ 2 files changed, 23 insertions(+), 7 deletions

[pve-devel] SPAM: [PATCH pve-network v3 2/4] dhcp: always generate dhcp-range for dnsmasq

2024-12-13 Thread lou lecrivain via pve-devel
--- Begin Message --- From: Lou Lecrivain (configure_range is now noop) Signed-off-by: lou lecrivain Tested-by: Stefan Hanreich Reviewed-by: Stefan Hanreich --- src/PVE/Network/SDN/Dhcp.pm | 1 - src/PVE/Network/SDN/Dhcp/Dnsmasq.pm | 23 ++- 2 files changed, 10 i

[pve-devel] SPAM: [PATCH pve-network v3 1/4] vnet: do not skip if no range is defined, ask for allocation inside prefix instead

2024-12-13 Thread lou lecrivain via pve-devel
--- Begin Message --- From: Lou Lecrivain Signed-off-by: lou lecrivain Tested-by: Stefan Hanreich Reviewed-by: Stefan Hanreich --- src/PVE/Network/SDN/Vnets.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/PVE/Network/SDN/Vnets.pm b/src/PVE/Network/SDN/Vnets.pm ind

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

2024-12-13 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Re, > 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 do think this should be the case too. BR __

Re: [pve-devel] SPAM: [PATCH pve-network 00/16] add support for Nautobot IPAM

2024-12-10 Thread Lou Lecrivain via pve-devel
*  Apart from the tests, the documentation (pve-docs/pvesdn.adoc) is also missing. On 11/27/24 17:17, Lou Lecrivain via pve-devel wrote: > ___ > pve-devel mailing list > pve-devel@lists.proxmox.com > https://lists.proxmox.com/cgi-bin/mailman

[pve-devel] SPAM: [PATCH pve-network v2 3/4] fix: register details in pve ipam db for add_next_freeip

2024-12-09 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/PVEPlugin.pm | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/PVE/Network/SDN/Ipams/PVEPlugin.pm b/src/PVE/Network/SDN/Ipams/PVEPlugin.pm index 742f1b1..c225655 100644 --- a/src/PVE/Netwo

[pve-devel] SPAM: [PATCH pve-network v2 4/4] update tests following changes to behaviour: - allocating IPs also when prefix-only - PVE IPAM register details for every allocation strategy

2024-12-09 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Signed-off-by: lou lecrivain --- src/test/run_test_subnets.pl| 24 +--- src/test/run_test_vnets_blackbox.pl | 6 ++ 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/src/test/run_test_subnets.pl b/src/test/run_test_subnets.pl in

[pve-devel] SPAM: [PATCH pve-network v2 0/4] dhcp: always generate dhcp-range

2024-12-09 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Second version of the patch, changes made as seen with Stefan. this patch series re-enables a previously disabled code path in order to allow IP allocation directly from a prefix when no DHCP ranges are configured for a subnet. MfG -- Lou Lecrivain WDZ GmbH Lou Lecrivain (

[pve-devel] SPAM: [PATCH pve-network v2 2/4] dhcp: always generate dhcp-range for dnsmasq

2024-12-09 Thread Lou Lecrivain via pve-devel
--- Begin Message --- (configure_range is now noop) Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Dhcp.pm | 3 ++- src/PVE/Network/SDN/Dhcp/Dnsmasq.pm | 23 ++- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/src/PVE/Network/SDN/Dhcp.pm b/src/

[pve-devel] SPAM: [PATCH pve-network v2 1/4] vnet: do not skip if no range is defined, ask for allocation inside prefix instead

2024-12-09 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Vnets.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/PVE/Network/SDN/Vnets.pm b/src/PVE/Network/SDN/Vnets.pm index 45292e3..4e795f2 100644 --- a/src/PVE/Network/SDN/Vnets.pm +++ b/src/PVE/Netw

Re: [pve-devel] SPAM: [PATCH pve-network 2/2] dhcp: generate dhcp-range for dnsmasq even when no dhcp_ranges exist

2024-12-06 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Re, Seems like I did not test this enough, whoops. > Maybe it would make sense to move the whole code of configure_range to > configure_subnet in the Dnsmasq plugin, since the whole subnet gets > configured anyway and make configure_range a noop? Yes, do agree on this one. I

[pve-devel] SPAM: [PATCH pve-network v2] ipam: fix #5496

2024-12-06 Thread Lou Lecrivain via pve-devel
--- Begin Message --- functions were returning undef despite API calls being successfull, due to eval blocks return values not being taken into account. Co-authored-by: Jacob Green Signed-off-by: Lou Lecrivain Tested-by: Stefan Hanreich --- src/PVE/Network/SDN/Ipams/NetboxPlugin.pm | 8 ++-

Re: [pve-devel] SPAM: [PATCH pve-network 0/2] fix #5949

2024-12-05 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Re, Yes, was a typo on my end. Meant to type #5496. It isn't a hard requirement, more like "there will be no API calls made if the other fix isn't present". But, in itself, the patch will not fix the whole issue, since if no API calls are made we'll still have errors, even

Re: [pve-devel] SPAM: [PATCH pve-network] ipam: fix #5496

2024-12-05 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Hey Stefan, Thanks for your input. I'll add this in the commit and submit a v2. BR De : Stefan Hanreich Envoyé : jeudi 5 décembre 2024 16:47 À : Proxmox VE development discussion Cc : Lecrivain, Lou (WDZ) ; jacobgr...@corporatetool

[pve-devel] SPAM: [PATCH pve-network] ipam: fix #5496

2024-11-28 Thread Lou Lecrivain via pve-devel
--- Begin Message --- functions were returning undef despite API calls being successfull, due to eval blocks return values not being taken into account. Co-authored-by: jacobgr...@corporatetools.com Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/NetboxPlugin.pm | 8 ++-- 1 file c

[pve-devel] SPAM: [PATCH pve-network 0/2] fix #5949

2024-11-28 Thread Lou Lecrivain via pve-devel
--- Begin Message --- this patch series re-enables a previously disabled code path in order to allow IP allocation directly from a prefix when no DHCP ranges are configured for a subnet. 2nd commit is a workaround for dnsmasq crash when a dhcp lease is updated via dbus and no dhcp-range is configu

[pve-devel] SPAM: [PATCH pve-network 2/2] dhcp: generate dhcp-range for dnsmasq even when no dhcp_ranges exist

2024-11-28 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Dhcp.pm | 6 -- src/PVE/Network/SDN/Dhcp/Dnsmasq.pm | 5 - src/PVE/Network/SDN/Dhcp/Plugin.pm | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/PVE/Network/SDN/Dhcp.pm b/src/PVE/Ne

[pve-devel] SPAM: [PATCH pve-network 1/2] vnet: do not skip if no range is defined, ask for allocation inside prefix instead

2024-11-28 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Vnets.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PVE/Network/SDN/Vnets.pm b/src/PVE/Network/SDN/Vnets.pm index 45292e3..30e8fdb 100644 --- a/src/PVE/Network/SDN/Vnets.pm +++ b/src/PVE/Ne

[pve-devel] SPAM: [PATCH pve-network 11/16] ipam: nautobot: add update_ip sub

2024-11-27 Thread Lou Lecrivain via pve-devel
--- Begin Message --- + use default_headers to avoid code repetition Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/NautobotPlugin.pm | 45 ++--- 1 file changed, 39 insertions(+), 6 deletions(-) diff --git a/src/PVE/Network/SDN/Ipams/NautobotPlugin.pm b/src/PVE/Netw

[pve-devel] SPAM: [PATCH pve-network 05/16] ipam: nautobot: fix on_update_hook for NautobotPlugin

2024-11-27 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/NautobotPlugin.pm | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/PVE/Network/SDN/Ipams/NautobotPlugin.pm b/src/PVE/Network/SDN/Ipams/NautobotPlugin.pm index ebdc07b..083ab20 100644 --- a/src/PVE/Netwo

[pve-devel] SPAM: [PATCH pve-network 15/16] ipam: nautobot: implement plain prefix allocation (without ranges)

2024-11-27 Thread Lou Lecrivain via pve-devel
--- Begin Message --- + bugfix (return from eval was garbage-collected, callers got undef) Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/NautobotPlugin.pm | 30 - 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/src/PVE/Network/SDN/Ipams/NautobotPlug

[pve-devel] SPAM: [PATCH pve-network 01/16] ipam: nautobot support initial commit

2024-11-27 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Signed-off-by: lou lecrivain --- src/PVE/API2/Network/SDN/Ipams.pm | 1 + src/PVE/Network/SDN/Ipams.pm| 3 ++ src/PVE/Network/SDN/Ipams/NautobotPlugin.pm | 37 + 3 files changed, 41 insertions(+) create mode 100644 src/PVE/Net

[pve-devel] SPAM: [PATCH pve-network 10/16] ipam: nautobot: api endpoint change no longer needed

2024-11-27 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/NetboxPlugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/Network/SDN/Ipams/NetboxPlugin.pm b/src/PVE/Network/SDN/Ipams/NetboxPlugin.pm index 7efccaf..d923269 100644 --- a/src/PVE/N

[pve-devel] SPAM: [PATCH pve-network 16/16] ipam: nautobot: add word of warning for dhcp range support

2024-11-27 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/NautobotPlugin.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PVE/Network/SDN/Ipams/NautobotPlugin.pm b/src/PVE/Network/SDN/Ipams/NautobotPlugin.pm index e3ba57c..22867df 100644 --- a/src/PVE/Network/SDN

[pve-devel] SPAM: [PATCH pve-network 07/16] ipam: nautobot: fix typo

2024-11-27 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/NautobotPlugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/Network/SDN/Ipams/NautobotPlugin.pm b/src/PVE/Network/SDN/Ipams/NautobotPlugin.pm index 53190bc..ee0ad49 100644 --- a/src

[pve-devel] SPAM: [PATCH pve-network 08/16] ipam: nautobot: 1st working "add subnet" and "add ip"

2024-11-27 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/NautobotPlugin.pm | 69 - 1 file changed, 66 insertions(+), 3 deletions(-) diff --git a/src/PVE/Network/SDN/Ipams/NautobotPlugin.pm b/src/PVE/Network/SDN/Ipams/NautobotPlugin.pm index ee0ad49..6

[pve-devel] SPAM: [PATCH pve-network 12/16] ipam: nautobot: add get ips for mac function

2024-11-27 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/NautobotPlugin.pm | 24 + 1 file changed, 24 insertions(+) diff --git a/src/PVE/Network/SDN/Ipams/NautobotPlugin.pm b/src/PVE/Network/SDN/Ipams/NautobotPlugin.pm index e328c9f..69e7897 100644 --

[pve-devel] SPAM: [PATCH pve-network 13/16] ipam: nautobot: 1st draft for allocating ip in dhcp range

2024-11-27 Thread Lou Lecrivain via pve-devel
--- Begin Message --- offset has to be fixed - we can't guarantee correct start if IPs outside range have been boked Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/NautobotPlugin.pm | 25 + 1 file changed, 25 insertions(+) diff --git a/src/PVE/Network/SDN/Ipams/N

[pve-devel] SPAM: [PATCH pve-network 04/16] ipam: nautobot: add verification for ipam namespace plugin parameter

2024-11-27 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/NautobotPlugin.pm | 45 + 1 file changed, 45 insertions(+) diff --git a/src/PVE/Network/SDN/Ipams/NautobotPlugin.pm b/src/PVE/Network/SDN/Ipams/NautobotPlugin.pm index 6597bfe..ebdc07b 100644 --

[pve-devel] SPAM: [PATCH pve-network 06/16] ipam: nautobot: add default active status check

2024-11-27 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/NautobotPlugin.pm | 21 ++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/src/PVE/Network/SDN/Ipams/NautobotPlugin.pm b/src/PVE/Network/SDN/Ipams/NautobotPlugin.pm index 083ab20..5

[pve-devel] SPAM: [PATCH pve-network 09/16] ipam: nautobot: simplify query

2024-11-27 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Nautobot can infer object IDs itself Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/NautobotPlugin.pm | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/PVE/Network/SDN/Ipams/NautobotPlugin.pm b/src/PVE/Network/SDN/Ipams/Nautobot

[pve-devel] SPAM: [PATCH pve-network 14/16] ipam: nautobot: hacky ip range support

2024-11-27 Thread Lou Lecrivain via pve-devel
--- Begin Message --- since nautobot lacks support for IP ranges, this feature could be dropped / marked unsupported Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/NautobotPlugin.pm | 26 - 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/src/PVE/Net

[pve-devel] SPAM: [PATCH pve-network 00/16] add support for Nautobot IPAM

2024-11-27 Thread Lou Lecrivain via pve-devel
--- Begin Message --- This patch series introduce support for Nautobot as an IPAM. Please note that: - Some stuff could still be refined, in my opinion. I would be happy to receive some comments, as I'm a Perl beginner. - Test code has not been written *yet*. - Nautobot itself has some restric

[pve-devel] SPAM: [PATCH pve-network 03/16] ipam: change verify URL (now common to Nautobot and Netbox)

2024-11-27 Thread Lou Lecrivain via pve-devel
--- Begin Message --- + minimal module Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/NautobotPlugin.pm | 22 - src/PVE/Network/SDN/Ipams/NetboxPlugin.pm | 2 +- 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/src/PVE/Network/SDN/Ipams/NautobotPl

[pve-devel] SPAM: [PATCH pve-network 02/16] ipam: add Nautobot plugin sources to Makefile

2024-11-27 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Signed-off-by: lou lecrivain --- src/PVE/Network/SDN/Ipams/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/Network/SDN/Ipams/Makefile b/src/PVE/Network/SDN/Ipams/Makefile index 4e7d65f..75e5b9a 100644 --- a/src/PVE/Network/SDN/Ipams/Make

Re: [pve-devel] SDN Feature request - add IPAM support for Nautobot

2024-09-11 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Hello Stefan, Thank you very much for your answer and for the details, it's appreciated. We have already signed the CLA, Proxmox should have received it. > So a good starting point could be extending the Netbox plugin and overriding > the methods that have changed. I'll t

[pve-devel] SDN Feature request - add IPAM support for Nautobot

2024-09-06 Thread Lou Lecrivain via pve-devel
--- Begin Message --- Dear PVE-Devel list members, We (WDZ GmbH) would like to extend SDN feature by adding support for Nautobot IPAM. Nautobot is a fork of Netbox from NetworkToCode https://networktocode.com/nautobot/ that is used by some of our customers. Implementation should only differ sli