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