The cinder.volume.drivers.coprhd.helpers.project Module

The cinder.volume.drivers.coprhd.helpers.project Module

class Project(ipaddr, port)

Bases: cinder.volume.drivers.coprhd.helpers.commoncoprhdapi.CoprHDResource

URI_PROJECT = '/projects/{0}'
URI_PROJECT_LIST = '/tenants/{0}/projects'

Makes REST API call and retrieves projects based on tenant UUID.

Parameters:tenant_name – Name of the tenant
Returns:List of project UUIDs in JSON response payload

Retrieves UUID of project based on its name.

Parameters:name – name of project
Returns:UUID of project
  • when project name is not found

Makes REST API call and retrieves project derails based on UUID.

Parameters:uri – UUID of project
Returns:Project details in JSON response payload
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.