diff options
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; |
