Bases: cinder.volume.drivers.coprhd.helpers.commoncoprhdapi.CoprHDResource
Makes REST API call to clone volume.
Parameters: |
|
---|
:param sync : synchronous request :param synctimeout : Query for task status for “synctimeout” secs.
If the task doesn’t complete in synctimeout secs, an exception is thrown
Returns: | Created task details in JSON response payload |
---|
Makes REST API call to create volume under a project.
:param label : name of volume :param size : size of volume :param varray : name of varray :param vpool : name of vpool :param sync : synchronous request :param consistencygroup : To create volume under a consistencygroup :param synctimeout : Query for task status for “synctimeout” secs.
If the task doesn’t complete in synctimeout secs, an exception is thrown
Returns: | Created task details in JSON response payload |
---|
Deletes a volume based on volume name.
Parameters: | full_project_name – project name |
---|
:param name : name of volume to be deleted :param sync : synchronous request :param force_delete: if true, it will force the delete of internal
volumes that have the SUPPORTS_FORCE flag
:param coprhdonly : to delete volumes from coprHD only :param synctimeout: Query for task status for “synctimeout” secs. If
the task doesn’t complete in synctimeout secs, an exception is thrown
Deletes a volume based on volume uri.
Makes REST API call to get exports info of a volume.
Parameters: | uri – URI of the volume |
---|---|
Returns: | Exports details in JSON response payload |
Makes REST API call to list volumes under a project.
Parameters: | project – name of project |
---|---|
Returns: | List of volumes uuids in JSON response payload |
Retrieves volume details based on volume name.
:param full_project_name : project path of the volume :param name: name of the volume. If the volume is under a project,
then full XPath needs to be specified. Example: If VOL1 is a volume under project PROJ1, then the name of volume is PROJ1/VOL1
Returns: | Volume details in JSON response payload |
---|
Makes REST API call and retrieves volume details based on UUID.
Parameters: | uri – UUID of volume |
---|---|
Returns: | Volume details in JSON response payload |
Makes REST API call to update a volume information.
Parameters: |
|
---|---|
Returns: | Created task details in JSON response payload |
Makes REST API call to query the volume by name.
Parameters: |
|
---|---|
Returns: | Volume details in JSON response payload |