Skip to content

Commit

Permalink
Merge pull request #498 from tanjiangyu-ghca/vsp_0125
Browse files Browse the repository at this point in the history
vsp change disk status
  • Loading branch information
tanjiangyu-ghca authored Feb 10, 2022
2 parents a699fa2 + 97762e5 commit cda26bd
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions delfin/drivers/hitachi/vsp/rest_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cda26bd

Please sign in to comment.