summaryrefslogtreecommitdiff
path: root/PVE/API2/Network/SDN.pm
diff options
context:
space:
mode:
authorAlexandre Derumier <aderumier@odiso.com>2020-10-05 17:08:59 +0200
committerThomas Lamprecht <t.lamprecht@proxmox.com>2020-10-06 18:17:19 +0200
commit3926d9a7b6b235e7f07313ce8bd9086bd0405bac (patch)
treea601eca4a932f26b573bf6e19fa9f72a233ecbaf /PVE/API2/Network/SDN.pm
parentf6f2aa1643cc4598fe72362c1318a77814c9a60a (diff)
subnets: move api to /sdn/vnet/<vnet>/subnets && make vnet option not optionnal
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Diffstat (limited to 'PVE/API2/Network/SDN.pm')
-rw-r--r--PVE/API2/Network/SDN.pm7
1 files changed, 0 insertions, 7 deletions
diff --git a/PVE/API2/Network/SDN.pm b/PVE/API2/Network/SDN.pm
index 4aef654..7292257 100644
--- a/PVE/API2/Network/SDN.pm
+++ b/PVE/API2/Network/SDN.pm
@@ -14,7 +14,6 @@ use PVE::Tools qw(run_command);
use PVE::API2::Network::SDN::Controllers;
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;
@@ -36,11 +35,6 @@ __PACKAGE__->register_method ({
});
__PACKAGE__->register_method ({
- subclass => "PVE::API2::Network::SDN::Subnets",
- path => 'subnets',
-});
-
-__PACKAGE__->register_method ({
subclass => "PVE::API2::Network::SDN::Ipams",
path => 'ipams',
});
@@ -79,7 +73,6 @@ __PACKAGE__->register_method({
{ id => 'vnets' },
{ id => 'zones' },
{ id => 'controllers' },
- { id => 'subnets' },
{ id => 'ipams' },
{ id => 'dns' },
];