]> git.proxmox.com Git - pve-manager.git/commitdiff
add bridge vlan aware checkbox
authorAlexandre Derumier <aderumier@odiso.com>
Tue, 15 Sep 2015 09:13:27 +0000 (11:13 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 16 Sep 2015 09:02:43 +0000 (11:02 +0200)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
PVE/API2/Network.pm
www/manager/node/NetworkEdit.js

index bc80d931b894fe054d7aff66d06b7421731393c2..02172f6d10ef157e3600ab83a906a2c368a13cb7 100644 (file)
@@ -55,6 +55,11 @@ my $confdesc = {
        type => 'boolean',
        optional => 1,
     },
+    bridge_vlan_aware => {
+       description => "Enable bridge vlan support.",
+       type => 'boolean',
+       optional => 1,
+    },
     bridge_ports => {
        description => "Specify the iterfaces you want to add to your bridge.",
        optional => 1,
index 75670ae2e76b499aea1cac6e3654a866fb5590ca..23ef08bd0b9d9654c66bd52572783017ed1897f0 100644 (file)
@@ -53,6 +53,12 @@ Ext.define('PVE.node.NetworkEdit', {
        }
 
        if (me.iftype === 'bridge') {
+           column2.push({
+               xtype: 'pvecheckbox',
+               fieldLabel: gettext('Vlan Aware'),
+               name: 'bridge_vlan_aware',
+               deleteEmpty: !me.create,
+           });
            column2.push({
                xtype: 'textfield',
                fieldLabel: gettext('Bridge ports'),