diff options
| author | Thomas Lamprecht <t.lamprecht@proxmox.com> | 2019-09-03 08:25:00 +0200 |
|---|---|---|
| committer | Thomas Lamprecht <t.lamprecht@proxmox.com> | 2019-09-03 08:25:00 +0200 |
| commit | 7d35eaf55137f12c1ba1d4569d345ceac03c88dc (patch) | |
| tree | 69d11e4b516c3c571258c9f0ab3965c3af206d61 /PVE/API2/Network/SDN/Content.pm | |
| parent | d0b4e1c2ca586a1a39406a6b9425f5854807e332 (diff) | |
trailing whitespace cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Diffstat (limited to 'PVE/API2/Network/SDN/Content.pm')
| -rw-r--r-- | PVE/API2/Network/SDN/Content.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/PVE/API2/Network/SDN/Content.pm b/PVE/API2/Network/SDN/Content.pm index f6b59ec..1b45ce5 100644 --- a/PVE/API2/Network/SDN/Content.pm +++ b/PVE/API2/Network/SDN/Content.pm @@ -17,18 +17,18 @@ use PVE::Network::SDN; use base qw(PVE::RESTHandler); __PACKAGE__->register_method ({ - name => 'index', + name => 'index', path => '', method => 'GET', description => "List transportzone content.", -# permissions => { +# permissions => { # check => ['perm', '/sdn/{sdn}', ['SDN.Audit'], any => 1], # }, protected => 1, proxyto => 'node', parameters => { additionalProperties => 0, - properties => { + properties => { node => get_standard_option('pve-node'), sdn => get_standard_option('pve-sdn-id', { completion => \&PVE::Network::SDN::complete_sdn, @@ -39,7 +39,7 @@ __PACKAGE__->register_method ({ type => 'array', items => { type => "object", - properties => { + properties => { vnet => { description => "Vnet identifier.", type => 'string', @@ -74,7 +74,7 @@ __PACKAGE__->register_method ({ } } - return $res; + return $res; }}); 1; |
