summaryrefslogtreecommitdiff
path: root/PVE/API2/Network/SDN/Zones.pm
diff options
context:
space:
mode:
Diffstat (limited to 'PVE/API2/Network/SDN/Zones.pm')
-rw-r--r--PVE/API2/Network/SDN/Zones.pm22
1 files changed, 0 insertions, 22 deletions
diff --git a/PVE/API2/Network/SDN/Zones.pm b/PVE/API2/Network/SDN/Zones.pm
index 293880a..9ea2189 100644
--- a/PVE/API2/Network/SDN/Zones.pm
+++ b/PVE/API2/Network/SDN/Zones.pm
@@ -165,28 +165,6 @@ __PACKAGE__->register_method ({
}});
__PACKAGE__->register_method ({
- name => 'revert_configuration',
- protected => 1,
- path => '',
- method => 'DELETE',
- description => "Revert sdn zone changes.",
- permissions => {
- check => ['perm', '/sdn/zones', ['SDN.Allocate']],
- },
- parameters => {
- additionalProperties => 0,
- },
- returns => { type => 'null' },
- code => sub {
- my ($param) = @_;
-
- die "no sdn zones changes to revert" if !-e "/etc/pve/sdn/zones.cfg.new";
- unlink "/etc/pve/sdn/zones.cfg.new";
-
- return undef;
- }});
-
-__PACKAGE__->register_method ({
name => 'update',
protected => 1,
path => '{zone}',