sdn: add vlan aware option to vnet

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
Alexandre Derumier 2020-06-02 11:48:25 +02:00 committed by Thomas Lamprecht
parent 9ad4656d57
commit d0da259e35
2 changed files with 12 additions and 0 deletions

View File

@ -55,6 +55,13 @@ Ext.define('PVE.sdn.VnetInputPanel', {
fieldLabel: gettext('Tag'),
allowBlank: false,
},
{
xtype: 'proxmoxcheckbox',
name: 'vlanaware',
uncheckedValue: 0,
checked: false,
fieldLabel: gettext('VLAN aware')
},
{
xtype: 'textfield',
name: 'mac',

View File

@ -92,6 +92,11 @@ Ext.define('PVE.sdn.VnetView', {
flex: 1,
dataIndex: 'tag',
},
{
header: gettext('VLAN aware'),
flex: 1,
dataIndex: 'vlanaware',
},
{
header: 'IPv4/CIDR',
flex: 1,