Signed-off-by: Alexandre Derumier <aderum...@odiso.com>
---
 PVE/API2/Network/SDN.pm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/PVE/API2/Network/SDN.pm b/PVE/API2/Network/SDN.pm
index 2efc620..79aff4a 100644
--- a/PVE/API2/Network/SDN.pm
+++ b/PVE/API2/Network/SDN.pm
@@ -163,6 +163,9 @@ __PACKAGE__->register_method ({
 #    permissions => { 
 #      check => ['perm', '/cluster/network', ['Network.Allocate']],
 #    },
+    parameters => {
+       additionalProperties => 0,
+    },
     returns => { type => 'null' },
     code => sub {
        my ($param) = @_;
@@ -184,6 +187,9 @@ __PACKAGE__->register_method ({
 #    permissions => { 
 #      check => ['perm', '/cluster/network', ['Network.Allocate']],
 #    },
+    parameters => {
+       additionalProperties => 0,
+    },
     returns => { type => 'null' },
     code => sub {
        my ($param) = @_;
-- 
2.20.1

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to