[pve-devel] applied: [PATCH v3 manager] ui: cephwizard: add networkselector widget

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Jun 12 13:08:00 CEST 2019


On 6/12/19 10:56 AM, Tim Marx wrote:
> 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??
> 

applied, thanks!




More information about the pve-devel mailing list