cinder.volume.drivers.coprhd.helpers.consistencygroup Module¶ConsistencyGroup(ipaddr, port)¶Bases: cinder.volume.drivers.coprhd.helpers.commoncoprhdapi.CoprHDResource
URI_CONSISTENCY_GROUP = '/block/consistency-groups'¶URI_CONSISTENCY_GROUPS_DEACTIVATE = '/block/consistency-groups/{0}/deactivate'¶URI_CONSISTENCY_GROUPS_INSTANCE = '/block/consistency-groups/{0}'¶URI_CONSISTENCY_GROUPS_SEARCH = '/block/consistency-groups/search?project={0}'¶URI_CONSISTENCY_GROUP_TAGS = '/block/consistency-groups/{0}/tags'¶URI_SEARCH_CONSISTENCY_GROUPS_BY_TAG = '/block/consistency-groups/search?tag={0}'¶check_for_sync(result, sync, synctimeout=0)¶consistencygroup_query(name, project, tenant)¶This function will return consistency group id.
| Parameters: |
|
|---|---|
| Returns: | id of the consistency group |
create(name, project_name, tenant)¶This function will create consistency group with the given name.
| Parameters: |
|
|---|---|
| Returns: | status of creation |
delete(name, project, tenant, coprhdonly=False)¶This function marks a particular consistency group as delete.
| Parameters: |
|
|---|---|
| Returns: | status of the delete operation false, incase it fails to do delete |
list(project_name, tenant)¶This function gives list of comma separated consistency group uris.
| Parameters: |
|
|---|---|
| Returns: | list of consistency group ids separated by comma |
show(name, project, tenant)¶This function will display the consistency group with details.
| Parameters: |
|
|---|---|
| Returns: | details of consistency group |
update(uri, project, tenant, add_volumes, remove_volumes, sync, synctimeout=0)¶Function used to add or remove volumes from consistency group.
It will update the consistency group with given volumes
| Parameters: |
|
|---|---|
| Returns: | status of creation |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.