cinder.api.v3.groups module

cinder.api.v3.groups module

The groups controller.

class GroupsController

Bases: cinder.api.openstack.wsgi.Controller

The groups API controller for the OpenStack API.

create(**kwargs)

Create a new group.

create_from_src(**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(**kwargs)
detail(req)

Returns a detailed list of groups.

disable_replication(**kwargs)

Disables replications for a group.

enable_replication(**kwargs)

Enables replications for a group.

failover_replication(**kwargs)

Fails over replications for a group.

index(req)

Returns a summary list of groups.

list_replication_targets(**kwargs)

List replication targets for a group.

reset_status(**kwargs)
show(req, id)

Return data about the given group.

update(**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 = {'create': [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x7f687eefc510>], 'create_from_src': [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x7f687eefc790>], 'delete_group': [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x7f687eefced0>], 'detail': [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x7f687eefc450>], 'disable_replication': [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x7f687ee0db90>], 'enable_replication': [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x7f687ee0d390>], 'failover_replication': [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x7f687ee0de50>], 'index': [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x7f687eefc9d0>], 'list_replication_targets': [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x7f687ee0d3d0>], 'reset_status': [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x7f687eefca10>], 'show': [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x7f687eefc7d0>], 'update': [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x7f687ee0d190>]}
wsgi_actions = {'create-from-src': 'create_from_src', 'delete': 'delete_group', 'disable_replication': 'disable_replication', 'enable_replication': 'enable_replication', 'failover_replication': 'failover_replication', 'list_replication_targets': 'list_replication_targets', 'reset_status': 'reset_status'}
wsgi_extensions = []
create_resource()
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.