cinder.volume.drivers.coprhd.helpers.exportgroup
Module¶ExportGroup
(ipaddr, port)¶Bases: cinder.volume.drivers.coprhd.helpers.commoncoprhdapi.CoprHDResource
URI_EXPORT_GROUP
= '/block/exports'¶URI_EXPORT_GROUPS_SHOW
= '/block/exports/{0}'¶URI_EXPORT_GROUP_SEARCH
= '/block/exports/search'¶URI_EXPORT_GROUP_UPDATE
= '/block/exports/{0}'¶check_for_sync
(result, sync, synctimeout=0)¶exportgroup_add_volumes
(sync, exportgroupname, tenantname, maxpaths, minpaths, pathsperinitiator, projectname, volumenames, cg=None, synctimeout=0, varray=None)¶Add volume to export group.
Parameters: |
|
---|---|
Returns: | action result |
exportgroup_create
(name, project_name, tenant, varray, exportgrouptype, export_destination=None)¶This function creates the Export group with given name.
Parameters: |
|
---|---|
Returns: | status of creation |
exportgroup_list
(project_name, tenant)¶This function gives list of export group uris separated by comma.
Parameters: |
|
---|---|
Returns: | list of export group ids separated by comma |
exportgroup_query
(name, project, tenant, varrayuri=None)¶Makes REST API call to query the exportgroup by name.
Parameters: |
|
---|---|
Returns: | id of the export group |
exportgroup_remove_volumes_by_uri
(exportgroup_uri, volume_id_list, sync=False, tenantname=None, projectname=None, cg=None, synctimeout=0)¶Remove volumes from the exportgroup, given the uris of volume.
exportgroup_show
(name, project, tenant, varray=None)¶This function displays the Export group with details.
Parameters: |
|
---|---|
Returns: | Details of export group |
send_json_request
(exportgroup_uri, param)¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.