[pve-devel] [PATCH v2 manager 1/1] Linux LIO/targetcli support

Udo Rader udo.rader at bestsolution.at
Thu Jul 26 23:28:32 CEST 2018


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
 	    }
 	];
 
-- 
2.18.0




More information about the pve-devel mailing list