[pve-devel] [PATCH pve-manager 1/2] sdn: add vlan aware option to vnet
Alexandre Derumier
aderumier at odiso.com
Tue Jun 2 11:48:25 CEST 2020
Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
www/manager6/sdn/VnetEdit.js | 7 +++++++
www/manager6/sdn/VnetView.js | 5 +++++
2 files changed, 12 insertions(+)
diff --git a/www/manager6/sdn/VnetEdit.js b/www/manager6/sdn/VnetEdit.js
index 9ef2b1c0..c5e3859d 100644
--- a/www/manager6/sdn/VnetEdit.js
+++ b/www/manager6/sdn/VnetEdit.js
@@ -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',
diff --git a/www/manager6/sdn/VnetView.js b/www/manager6/sdn/VnetView.js
index c8b0576a..c670ad70 100644
--- a/www/manager6/sdn/VnetView.js
+++ b/www/manager6/sdn/VnetView.js
@@ -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,
--
2.20.1
More information about the pve-devel
mailing list