[pve-devel] [PATCH pve-manager 2/3] sdn: move mtu from vnetview to zoneview

Alexandre Derumier aderumier at odiso.com
Wed Jul 1 09:11:09 CEST 2020


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 www/manager6/sdn/VnetView.js | 7 +------
 www/manager6/sdn/ZoneView.js | 5 +++++
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/www/manager6/sdn/VnetView.js b/www/manager6/sdn/VnetView.js
index 8afb29cf..e73632d1 100644
--- a/www/manager6/sdn/VnetView.js
+++ b/www/manager6/sdn/VnetView.js
@@ -111,12 +111,7 @@ Ext.define('PVE.sdn.VnetView', {
 		    header: 'MAC',
 		    flex: 1,
 		    dataIndex: 'mac',
-		},
-		{
-		    header: 'MTU',
-		    flex: 1,
-		    dataIndex: 'mtu',
-		},
+		}
 	    ],
 	    listeners: {
 		activate: reload,
diff --git a/www/manager6/sdn/ZoneView.js b/www/manager6/sdn/ZoneView.js
index cea1d86f..7b664537 100644
--- a/www/manager6/sdn/ZoneView.js
+++ b/www/manager6/sdn/ZoneView.js
@@ -116,6 +116,11 @@ Ext.define('PVE.sdn.ZoneView', {
 		    dataIndex: 'type',
 		    renderer: PVE.Utils.format_sdnzone_type
 		},
+		{
+		    header: 'MTU',
+		    flex: 1,
+		    dataIndex: 'mtu',
+		},
 		{
 		    header: gettext('Nodes'),
 		    flex: 3,
-- 
2.20.1




More information about the pve-devel mailing list