]> git.proxmox.com Git - pve-network.git/blobdiff - PVE/API2/Network/SDN.pm
subnets: move api to /sdn/vnet/<vnet>/subnets && make vnet option not optionnal
[pve-network.git] / PVE / API2 / Network / SDN.pm
index 4aef654e498670f0de3a8a11a5b6f378b3a7fd38..7292257ebbecf4b6527bf1f5f3244380fca9935d 100644 (file)
@@ -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;
 
@@ -35,11 +34,6 @@ __PACKAGE__->register_method ({
     path => 'controllers',
 });
 
-__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' },
        ];