[pve-devel] [PATCH v3 manager] ui: cephwizard: add networkselector widget
Tim Marx
t.marx at proxmox.com
Wed Jun 12 10:56:32 CEST 2019
Signed-off-by: Tim Marx <t.marx at proxmox.com>
---
www/manager6/ceph/CephInstallWizard.js | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/www/manager6/ceph/CephInstallWizard.js b/www/manager6/ceph/CephInstallWizard.js
index 65d71006..bb7868f2 100644
--- a/www/manager6/ceph/CephInstallWizard.js
+++ b/www/manager6/ceph/CephInstallWizard.js
@@ -183,9 +183,8 @@ Ext.define('PVE.ceph.CephInstallWizard', {
value: gettext('Ceph cluster configuration') + ':'
},
{
- xtype: 'textfield',
+ xtype: 'proxmoxNetworkSelector',
name: 'network',
- vtype: 'IP64CIDRAddress',
value: '',
fieldLabel: 'Public Network IP/CIDR',
bind: {
@@ -197,11 +196,11 @@ Ext.define('PVE.ceph.CephInstallWizard', {
}
},
{
- xtype: 'textfield',
+ xtype: 'proxmoxNetworkSelector',
name: 'cluster-network',
- vtype: 'IP64CIDRAddress',
fieldLabel: 'Cluster Network IP/CIDR',
allowBlank: true,
+ autoSelect: false,
emptyText: gettext('Same as Public Network')
}
// FIXME: add hint about cluster network and/or reference user to docs??
--
2.11.0
More information about the pve-devel
mailing list