Merge "Add searchDepth when getClusterInfo called."

This commit is contained in:
Jenkins 2014-02-15 20:29:42 +00:00 committed by Gerrit Code Review
commit 37eb101b1c
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ class HPLeftHandCLIQProxy(SanISCSIDriver):
data['storage_protocol'] = 'iSCSI'
data['vendor_name'] = 'Hewlett-Packard'
result_xml = self._cliq_run_xml("getClusterInfo", {})
result_xml = self._cliq_run_xml("getClusterInfo", {'searchDepth': 1})
cluster_node = result_xml.find("response/cluster")
total_capacity = cluster_node.attrib.get("spaceTotal")
free_capacity = cluster_node.attrib.get("unprovisionedSpace")