cinder.group.api
Modulecinder.group.api
Module¶Handles all requests relating to groups.
API
(db_driver=None)¶Bases: cinder.db.base.Base
API for interacting with the volume manager for groups.
create
(context, name, description, group_type, volume_types, availability_zone=None)¶create_from_src
(context, name, description=None, group_snapshot_id=None, source_group_id=None)¶create_group_snapshot
(context, target_obj, *args, **kwargs)¶delete
(context, target_obj, *args, **kwargs)¶delete_group_snapshot
(context, group_snapshot, force=False)¶disable_replication
(context, target_obj, *args, **kwargs)¶enable_replication
(context, target_obj, *args, **kwargs)¶failover_replication
(context, target_obj, *args, **kwargs)¶get
(context, group_id)¶get_all
(context, filters=None, marker=None, limit=None, offset=None, sort_keys=None, sort_dirs=None)¶get_all_group_snapshots
(context, filters=None, marker=None, limit=None, offset=None, sort_keys=None, sort_dirs=None)¶get_group_snapshot
(context, group_snapshot_id)¶list_replication_targets
(context, target_obj, *args, **kwargs)¶reset_group_snapshot_status
(context, gsnapshot, status)¶Reset status of group snapshot
reset_status
(context, target_obj, *args, **kwargs)¶Reset status of generic group
update
(context, target_obj, *args, **kwargs)¶Update group.
update_group_snapshot
(context, group_snapshot, fields)¶update_quota
(context, group, num, project_id=None)¶check_policy
(context, action, target_obj=None)¶wrap_check_policy
(func)¶Check policy corresponding to the wrapped methods prior to execution.
This decorator requires the first 3 args of the wrapped function to be (self, context, group)
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.