cinder.api.contrib.consistencygroups module

cinder.api.contrib.consistencygroups module

The consistencygroups api.

class ConsistencyGroupsController

Bases: Controller

The ConsistencyGroups API controller for the OpenStack API.

create(req, body)

Create a new consistency group.

create_from_src(req, body)

Create a new consistency group from a source.

The source can be a CG snapshot or a CG. Note that this does not require volume_types as the “create” API above.

delete(req, id, body)

Delete a consistency group.

detail(req)

Returns a detailed list of consistency groups.

index(req)

Returns a summary list of consistency groups.

show(req, id)

Return data about the given consistency group.

update(req, id, body)

Update the consistency group.

Expected format of the input parameter ‘body’:

{
    "consistencygroup":
    {
        "name": "my_cg",
        "description": "My consistency group",
        "add_volumes": "volume-uuid-1,volume-uuid-2,...",
        "remove_volumes": "volume-uuid-8,volume-uuid-9,..."
    }
}
wsgi_actions = {}
wsgi_extensions = []
class Consistencygroups(ext_mgr)

Bases: ExtensionDescriptor

consistency groups support.

alias = 'consistencygroups'
get_resources()

List of extensions.ResourceExtension extension objects.

Resources define new nouns, and are accessible through URLs.

name = 'Consistencygroups'
updated = '2014-08-18T00:00:00+00:00'
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.