The cinder.volume.drivers.coprhd.helpers.urihelper Module¶
-
class
URIHelper¶ Bases:
objectThis map will be a map of maps.
e.g for project component type, it will hold a map of its operations vs their uris
-
CG_URIS_MAP= {‘task’: ‘/block/consistency-groups/{0}/tasks/{1}’}¶
-
COMPONENT_TYPE_VS_URIS_MAP= {‘volume’: {‘task’: ‘/block/volumes/{0}/tasks/{1}’}, ‘export’: {‘task’: ‘/block/exports/{0}/tasks/{1}’}, ‘consistencygroup’: {‘task’: ‘/block/consistency-groups/{0}/tasks/{1}’}}¶ Volume URIs.
-
EXPORT_GROUP_URIS_MAP= {‘task’: ‘/block/exports/{0}/tasks/{1}’}¶
-
URI_CG= ‘/block/consistency-groups/{0}’¶
-
URI_CGS= ‘/block/consistency-groups’¶
-
URI_CG_TASK= ‘/block/consistency-groups/{0}/tasks/{1}’¶ Export Group URIs.
-
URI_CG_TASK_LIST= ‘/block/consistency-groups/{0}/tasks’¶
-
URI_EXPORT_GROUP_TASK= ‘/block/exports/{0}/tasks/{1}’¶
-
URI_EXPORT_GROUP_TASKS_LIST= ‘/block/exports/{0}/tasks’¶
-
URI_VOLUME= ‘/block/volumes/{0}’¶
-
URI_VOLUMES= ‘/block/volumes’¶
-
URI_VOLUME_TASK= ‘/block/volumes/{0}/tasks/{1}’¶ Consistencygroup URIs.
-
URI_VOLUME_TASK_LIST= ‘/block/volumes/{0}/tasks’¶
-
VOLUME_URIS_MAP= {‘task’: ‘/block/volumes/{0}/tasks/{1}’}¶
-
getUri(componentType, operationType)¶
-