The cinder.api.contrib.consistencygroups Module

The consistencygroups api.

class ConsistencyGroupsController

Bases: cinder.api.openstack.wsgi.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: cinder.api.extensions.ExtensionDescriptor

consistency groups support.

alias = 'consistencygroups'
get_resources()
name = 'Consistencygroups'
updated = '2014-08-18T00:00:00+00:00'

Previous topic

The cinder.api.contrib.cgsnapshots Module

Next topic

The cinder.api.contrib.extended_services Module

This Page