The cinder.volume.drivers.coprhd.helpers.host Module¶
-
class
Host(ipaddr, port)¶ Bases:
cinder.volume.drivers.coprhd.helpers.commoncoprhdapi.CoprHDResource-
URI_COMPUTE_HOST= ‘/compute/hosts’¶
-
URI_HOST_DETAILS= ‘/compute/hosts/{0}’¶
-
URI_HOST_LIST_INITIATORS= ‘/compute/hosts/{0}/initiators’¶
-
list_all(tenant_name)¶ Gets the ids and self links for all compute elements.
-
list_initiators(host_name)¶ Lists all initiators for the given host.
Parameters: host_name – The name of the host
-
query_by_name(host_name, tenant_name=None)¶ Search host matching host_name and tenant if tenant_name provided.
tenant_name is optional
-
show_by_uri(uri)¶ Makes REST API call to retrieve Host details based on its UUID.
-