[pve-devel] [PATCH manager v2 03/29] use BondModeSelector & BondPolicySelector from widget toolkit
Thomas Lamprecht
t.lamprecht at proxmox.com
Tue Dec 19 08:54:55 CET 2017
widget name stayed the same, so no need to change
Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
www/manager6/Makefile | 1 -
www/manager6/form/BondModeSelector.js | 42 -----------------------------------
2 files changed, 43 deletions(-)
delete mode 100644 www/manager6/form/BondModeSelector.js
diff --git a/www/manager6/Makefile b/www/manager6/Makefile
index dc2069f8..0deea6a5 100644
--- a/www/manager6/Makefile
+++ b/www/manager6/Makefile
@@ -47,7 +47,6 @@ JSSRC= \
form/ControllerSelector.js \
form/EmailNotificationSelector.js \
form/RealmComboBox.js \
- form/BondModeSelector.js \
form/ViewSelector.js \
form/NodeSelector.js \
form/FileSelector.js \
diff --git a/www/manager6/form/BondModeSelector.js b/www/manager6/form/BondModeSelector.js
deleted file mode 100644
index 021d613c..00000000
--- a/www/manager6/form/BondModeSelector.js
+++ /dev/null
@@ -1,42 +0,0 @@
-Ext.define('PVE.form.BondModeSelector', {
- extend: 'PVE.form.KVComboBox',
- alias: ['widget.bondModeSelector'],
-
- openvswitch: false,
-
- initComponent: function() {
- var me = this;
-
- if (me.openvswitch) {
- me.comboItems = [
- ['active-backup', 'active-backup'],
- ['balance-slb', 'balance-slb'],
- ['lacp-balance-slb', 'LACP (balance-slb)'],
- ['lacp-balance-tcp', 'LACP (balance-tcp)']
- ];
- } else {
- me.comboItems = [
- ['balance-rr', 'balance-rr'],
- ['active-backup', 'active-backup'],
- ['balance-xor', 'balance-xor'],
- ['broadcast', 'broadcast'],
- ['802.3ad', 'LACP (802.3ad)'],
- ['balance-tlb', 'balance-tlb'],
- ['balance-alb', 'balance-alb']
- ];
- }
-
- me.callParent();
- }
-});
-
-Ext.define('PVE.form.BondPolicySelector', {
- extend: 'PVE.form.KVComboBox',
- alias: ['widget.bondPolicySelector'],
- comboItems: [
- ['layer2', 'layer2'],
- ['layer2+3', 'layer2+3'],
- ['layer3+4', 'layer3+4']
- ]
-});
-
--
2.11.0
More information about the pve-devel
mailing list