Am 17/11/2023 um 12:39 schrieb Stefan Hanreich: > pve-network: > > Alexandre Derumier (3): > sdn: fix tests > sdn: fix subnets && netbox ipam tests > add add_dhcp_mapping > > Stefan Hanreich (12): > sdn: preparations for DHCP plugin > subnet: add dhcp options > sdn: zone: add dhcp option > ipam: plugins: preparations for DHCP > subnet: vnet: refactor IPAM related methods > dhcp: add abstract class for DHCP plugins > sdn: dhcp: add dnsmasq plugin > sdn: dhcp: add helper for creating DHCP leases > api: add endpoints for managing PVE IPAM > api: subnet: add dhcp ranges > api: zone: add dhcp option > dhcp: regenerate config for DHCP plugins on applying configuration > > debian/control | 1 + > src/PVE/API2/Network/SDN.pm | 6 + > src/PVE/API2/Network/SDN/Ipam.pm | 221 +++++++++++++++++ > src/PVE/API2/Network/SDN/Makefile | 2 +- > src/PVE/API2/Network/SDN/Subnets.pm | 1 + > src/PVE/API2/Network/SDN/Zones.pm | 1 + > src/PVE/Network/SDN.pm | 9 +- > src/PVE/Network/SDN/Dhcp.pm | 118 +++++++++ > src/PVE/Network/SDN/Dhcp/Dnsmasq.pm | 226 ++++++++++++++++++ > src/PVE/Network/SDN/Dhcp/Makefile | 8 + > src/PVE/Network/SDN/Dhcp/Plugin.pm | 65 +++++ > src/PVE/Network/SDN/Ipams.pm | 80 ++++++- > src/PVE/Network/SDN/Ipams/NetboxPlugin.pm | 86 ++++++- > src/PVE/Network/SDN/Ipams/PVEPlugin.pm | 85 ++++++- > src/PVE/Network/SDN/Ipams/PhpIpamPlugin.pm | 29 +++ > src/PVE/Network/SDN/Ipams/Plugin.pm | 19 +- > src/PVE/Network/SDN/Makefile | 3 +- > src/PVE/Network/SDN/SubnetPlugin.pm | 32 ++- > src/PVE/Network/SDN/Subnets.pm | 98 +++++--- > src/PVE/Network/SDN/Vnets.pm | 147 ++++++++---- > src/PVE/Network/SDN/Zones.pm | 34 ++- > src/PVE/Network/SDN/Zones/SimplePlugin.pm | 7 +- > src/test/ipams/netbox/expected.add_ip | 2 +- > .../ipams/netbox/expected.add_ip_notgateway | 2 +- > .../ipams/netbox/expected.add_next_freeip | 2 +- > src/test/ipams/netbox/expected.update_ip | 2 +- > src/test/run_test_subnets.pl | 16 +- > src/test/run_test_vnets.pl | 4 +- > 28 files changed, 1181 insertions(+), 125 deletions(-) > create mode 100644 src/PVE/API2/Network/SDN/Ipam.pm > create mode 100644 src/PVE/Network/SDN/Dhcp.pm > create mode 100644 src/PVE/Network/SDN/Dhcp/Dnsmasq.pm > create mode 100644 src/PVE/Network/SDN/Dhcp/Makefile > create mode 100644 src/PVE/Network/SDN/Dhcp/Plugin.pm >
applied above pve-network part _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel