The groups controller.
GroupsController
¶Bases: cinder.api.openstack.wsgi.Controller
The groups API controller for the OpenStack API.
create
(*args, **kwargs)¶Create a new group.
create_from_src
(*args, **kwargs)¶Create a new group from a source.
The source can be a group snapshot or a group. Note that this does not require group_type and volume_types as the “create” API above.
delete_group
(*args, **kwargs)¶detail
(req)¶Returns a detailed list of groups.
disable_replication
(*args, **kwargs)¶Disables replications for a group.
enable_replication
(*args, **kwargs)¶Enables replications for a group.
failover_replication
(*args, **kwargs)¶Fails over replications for a group.
index
(req)¶Returns a summary list of groups.
list_replication_targets
(*args, **kwargs)¶List replication targets for a group.
reset_status
(*args, **kwargs)¶show
(req, id)¶Return data about the given group.
update
(*args, **kwargs)¶Update the group.
Expected format of the input parameter ‘body’:
{
"group":
{
"name": "my_group",
"description": "My group",
"add_volumes": "volume-uuid-1,volume-uuid-2,...",
"remove_volumes": "volume-uuid-8,volume-uuid-9,..."
}
}
versioned_methods
= {'index': [<cinder.api.openstack.versioned_method.VersionedMethod object>], 'show': [<cinder.api.openstack.versioned_method.VersionedMethod object>], 'delete_group': [<cinder.api.openstack.versioned_method.VersionedMethod object>], 'create': [<cinder.api.openstack.versioned_method.VersionedMethod object>], 'disable_replication': [<cinder.api.openstack.versioned_method.VersionedMethod object>], 'detail': [<cinder.api.openstack.versioned_method.VersionedMethod object>], 'update': [<cinder.api.openstack.versioned_method.VersionedMethod object>], 'list_replication_targets': [<cinder.api.openstack.versioned_method.VersionedMethod object>], 'enable_replication': [<cinder.api.openstack.versioned_method.VersionedMethod object>], 'reset_status': [<cinder.api.openstack.versioned_method.VersionedMethod object>], 'failover_replication': [<cinder.api.openstack.versioned_method.VersionedMethod object>], 'create_from_src': [<cinder.api.openstack.versioned_method.VersionedMethod object>]}¶wsgi_actions
= {'disable_replication': 'disable_replication', 'enable_replication': 'enable_replication', 'create-from-src': 'create_from_src', 'list_replication_targets': 'list_replication_targets', 'reset_status': 'reset_status', 'failover_replication': 'failover_replication', 'delete': 'delete_group'}¶wsgi_extensions
= []¶create_resource
()¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.