From 183d0be9bb44546ea1b856b14880b53031b86411 Mon Sep 17 00:00:00 2001 From: tanjy Date: Thu, 10 Feb 2022 16:24:48 +0800 Subject: [PATCH] vsp change disk status --- delfin/drivers/hitachi/vsp/rest_handler.py | 34 ---------------------- 1 file changed, 34 deletions(-) diff --git a/delfin/drivers/hitachi/vsp/rest_handler.py b/delfin/drivers/hitachi/vsp/rest_handler.py index ff5a465ea..55e34fc0b 100644 --- a/delfin/drivers/hitachi/vsp/rest_handler.py +++ b/delfin/drivers/hitachi/vsp/rest_handler.py @@ -261,37 +261,3 @@ def get_alerts(self, param, start, end): param, start, end) result_json = self.get_rest_info(url) return result_json - - def get_all_host_groups(self): - url = '%s/%s/host-groups' % \ - (RestHandler.COMM_URL, self.storage_device_id) - result_json = self.get_rest_info(url) - return result_json - - def get_specific_host_group(self, group_id): - url = '%s/%s/host-groups/%s' % \ - (RestHandler.COMM_URL, self.storage_device_id, group_id) - result_json = self.get_rest_info(url) - return result_json - - def get_host_wwn(self, port_id, group_number): - url = '%s/%s/host-wwns?portId=%s&hostGroupNumber=%s' % \ - (RestHandler.COMM_URL, self.storage_device_id, port_id, - group_number) - result_json = self.get_rest_info(url) - return result_json - - def get_iscsi_name(self, port_id, group_number): - url = '%s/%s/host-iscsis?portId=%s&hostGroupNumber=%s' % \ - (RestHandler.COMM_URL, self.storage_device_id, port_id, - group_number) - result_json = self.get_rest_info(url) - return result_json - - def get_lun_path(self, port_id, group_number): - url = '%s/%s/luns?portId=%s&hostGroupNumber=%s&' \ - 'isBasicLunInformation=true' % \ - (RestHandler.COMM_URL, self.storage_device_id, port_id, - group_number) - result_json = self.get_rest_info(url) - return result_json