The consistencygroups api.
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
= []¶Consistencygroups
(ext_mgr)¶Bases: cinder.api.extensions.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'¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.