]> git.proxmox.com Git - pve-network.git/commitdiff
qinq: improve schema
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 19 May 2020 19:38:53 +0000 (21:38 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 19 May 2020 19:38:53 +0000 (21:38 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/Network/SDN/Zones/QinQPlugin.pm

index fe43d4232e9052204ce762ab12120dacab2ba776..8a8d55b14971fc0f9e753b4a7ca9aad44d612bc8 100644 (file)
@@ -12,13 +12,14 @@ sub type {
 
 sub properties {
     return {
-        tag => {
-            type => 'integer',
-            description => "vlan tag",
-        },
+       tag => {
+           type => 'integer',
+           minimum => 0,
+           description => "Service-VLAN Tag",
+       },
        mtu => {
            type => 'integer',
-           description => "mtu",
+           description => "MTU",
            optional => 1,
        },
        'vlan-protocol' => {