[pve-devel] [PATCH pve-manager 2/2] sdn: vlan : add mtu field

Alexandre Derumier aderumier at odiso.com
Tue Jun 2 11:48:26 CEST 2020


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 www/manager6/sdn/zones/VlanEdit.js | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/www/manager6/sdn/zones/VlanEdit.js b/www/manager6/sdn/zones/VlanEdit.js
index 9060b4e5..79b6bc39 100644
--- a/www/manager6/sdn/zones/VlanEdit.js
+++ b/www/manager6/sdn/zones/VlanEdit.js
@@ -33,6 +33,16 @@ Ext.define('PVE.sdn.zones.VlanInputPanel', {
             fieldLabel: 'Bridge',
             allowBlank: false,
           },
+          {
+            xtype: 'proxmoxintegerfield',
+            name: 'mtu',
+            minValue: 100,
+            maxValue: 65000,
+            fieldLabel: 'MTU',
+            skipEmptyText: true,
+            allowBlank: true,
+            emptyText: 'auto'
+          },
           {
             xtype: 'pveNodeSelector',
             name: 'nodes',
-- 
2.20.1




More information about the pve-devel mailing list