The Module

The 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'

Gets the ids and self links for all compute elements.


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


Makes REST API call to retrieve Host details based on its UUID.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.