Without searchDepth, getClusterInfo shows every volume and
snapshot. It's an unused information and takes very long time.
Change-Id: Id590e3023f4446f01b965baf4e8ac61980101067
Closes-Bug:
1276388
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")