diff options
| author | Stefan Hanreich <s.hanreich@proxmox.com> | 2023-11-17 12:39:48 +0100 |
|---|---|---|
| committer | Thomas Lamprecht <t.lamprecht@proxmox.com> | 2023-11-18 15:59:50 +0100 |
| commit | 8c5b7b01b53e3ab299b47e09bbd314a6a7a0032f (patch) | |
| tree | 73f8a761bad4049c70bdaa829721306be13c2d37 /src/PVE/API2/Network/SDN.pm | |
| parent | 78add5e50a24d38b1b407d8d789a8d1f7dc94e3c (diff) | |
api: add endpoints for managing PVE IPAM
Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
Diffstat (limited to 'src/PVE/API2/Network/SDN.pm')
| -rw-r--r-- | src/PVE/API2/Network/SDN.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/PVE/API2/Network/SDN.pm b/src/PVE/API2/Network/SDN.pm index d216e48..551afcf 100644 --- a/src/PVE/API2/Network/SDN.pm +++ b/src/PVE/API2/Network/SDN.pm @@ -15,6 +15,7 @@ use PVE::Network::SDN; use PVE::API2::Network::SDN::Controllers; use PVE::API2::Network::SDN::Vnets; use PVE::API2::Network::SDN::Zones; +use PVE::API2::Network::SDN::Ipam; use PVE::API2::Network::SDN::Ipams; use PVE::API2::Network::SDN::Dns; @@ -36,6 +37,11 @@ __PACKAGE__->register_method ({ }); __PACKAGE__->register_method ({ + subclass => "PVE::API2::Network::SDN::Ipam", + path => 'ipam', +}); + +__PACKAGE__->register_method ({ subclass => "PVE::API2::Network::SDN::Ipams", path => 'ipams', }); |
