From cb48e1899d015768606adfda8a493edebe2d2bf9 Mon Sep 17 00:00:00 2001 From: Tino Vazquez Date: Thu, 14 Nov 2013 18:46:20 +0100 Subject: [PATCH] feature-2460: Remove iSCSI from Sunstone --- .../public/js/plugins/datastores-tab.js | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/src/sunstone/public/js/plugins/datastores-tab.js b/src/sunstone/public/js/plugins/datastores-tab.js index 39e4245e61..9081ffa283 100644 --- a/src/sunstone/public/js/plugins/datastores-tab.js +++ b/src/sunstone/public/js/plugins/datastores-tab.js @@ -102,7 +102,6 @@ var create_datastore_tmpl = \ \ \ - \ \ \ \ @@ -191,7 +189,6 @@ var create_datastore_tmpl = \ \ \ - \ \ \ \ @@ -943,9 +940,6 @@ function setupCreateDatastoreDialog(){ case 'fs_lvm': select_fs_lvm(); break; - case 'iscsi': - select_iscsi(); - break; case 'ceph': select_ceph(); break; @@ -1099,25 +1093,6 @@ function select_vmware_vmfs(){ $('select#disk_type').attr('disabled', 'disabled'); } -function select_iscsi(){ - $('select#ds_mad').val('iscsi'); - $('select#ds_mad').attr('disabled', 'disabled'); - $('select#tm_mad').val('iscsi'); - $('select#tm_mad').attr('disabled', 'disabled'); - $('label[for="bridge_list"],input#bridge_list').parent().parent().fadeIn(); - $('label[for="base_iqn"],input#base_iqn').fadeIn(); - $('label[for="vg_name"],input#vg_name').fadeIn(); - $('select#disk_type').children('option').each(function() { - var value_str = $(this).val(); - $(this).attr('disabled', 'disabled'); - if (value_str == "file" || - value_str == "block") - { - $(this).removeAttr('disabled'); - } - }); -} - function select_ceph(){ $('select#ds_mad').val('ceph'); $('select#ds_mad').attr('disabled', 'disabled');