diff options
| author | Alexandre Derumier <aderumier@odiso.com> | 2020-10-05 17:08:52 +0200 |
|---|---|---|
| committer | Thomas Lamprecht <t.lamprecht@proxmox.com> | 2020-10-06 18:12:38 +0200 |
| commit | ee4f339e8026c7dbe793e112bdcb5b1981c6a66e (patch) | |
| tree | 3efef498011e00bd4acb404e5dc7b482c0943f80 /PVE/API2/Network/SDN.pm | |
| parent | 70b035064290a014759ce62e0093df00cd7d62fe (diff) | |
add DNS plugin
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Diffstat (limited to 'PVE/API2/Network/SDN.pm')
| -rw-r--r-- | PVE/API2/Network/SDN.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/PVE/API2/Network/SDN.pm b/PVE/API2/Network/SDN.pm index 736204f..4aef654 100644 --- a/PVE/API2/Network/SDN.pm +++ b/PVE/API2/Network/SDN.pm @@ -16,6 +16,7 @@ use PVE::API2::Network::SDN::Vnets; use PVE::API2::Network::SDN::Zones; use PVE::API2::Network::SDN::Subnets; use PVE::API2::Network::SDN::Ipams; +use PVE::API2::Network::SDN::Dns; use base qw(PVE::RESTHandler); @@ -44,6 +45,11 @@ __PACKAGE__->register_method ({ path => 'ipams', }); +__PACKAGE__->register_method ({ + subclass => "PVE::API2::Network::SDN::Dns", + path => 'dns', +}); + __PACKAGE__->register_method({ name => 'index', path => '', @@ -75,6 +81,7 @@ __PACKAGE__->register_method({ { id => 'controllers' }, { id => 'subnets' }, { id => 'ipams' }, + { id => 'dns' }, ]; return $res; |
