[pve-devel] applied: [PATCH v2 manager 1/1] Linux LIO/targetcli support
Thomas Lamprecht
t.lamprecht at proxmox.com
Thu Aug 2 18:28:48 CEST 2018
Am 07/26/2018 um 11:28 PM schrieb Udo Rader:
> adding LIO option and dedicated "LIO target portal group" input field to the
> "Add: ZFS via iSCSI" dialog
> ---
> www/manager6/form/iScsiProviderSelector.js | 3 ++-
> www/manager6/storage/ZFSEdit.js | 7 +++++++
> 2 files changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/www/manager6/form/iScsiProviderSelector.js b/www/manager6/form/iScsiProviderSelector.js
> index 9a87bea9..5d10c1b7 100644
> --- a/www/manager6/form/iScsiProviderSelector.js
> +++ b/www/manager6/form/iScsiProviderSelector.js
> @@ -4,6 +4,7 @@ Ext.define('PVE.form.iScsiProviderSelector', {
> comboItems: [
> ['comstar', 'Comstar'],
> [ 'istgt', 'istgt'],
> - [ 'iet', 'IET']
> + [ 'iet', 'IET'],
> + [ 'LIO', 'LIO']
> ]
> });
> diff --git a/www/manager6/storage/ZFSEdit.js b/www/manager6/storage/ZFSEdit.js
> index 3906be76..a445ef2f 100644
> --- a/www/manager6/storage/ZFSEdit.js
> +++ b/www/manager6/storage/ZFSEdit.js
> @@ -88,6 +88,13 @@ Ext.define('PVE.storage.ZFSInputPanel', {
> value: '',
> fieldLabel: gettext('Host group'),
> allowBlank: true
> + },
> + {
> + xtype: me.isCreate ? 'textfield' : 'displayfield',
> + name: 'lio_tpg',
> + value: '',
> + fieldLabel: gettext('LIO target portal group'),
> + allowBlank: true
> }
> ];
>
>
applied, with a small follow-up which disables the TPG field on create
if the provider is not LIO and hides it on editing if it's not LIO.
More information about the pve-devel
mailing list