The cinder.group.api Module

The cinder.group.api Module

Handles all requests relating to groups.

class 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, group, name, description)
delete(context, group, delete_volumes=False)
delete_group_snapshot(context, group_snapshot, force=False)
disable_replication(context, group)
enable_replication(context, group)
failover_replication(context, group, allow_attached_volume=False, secondary_backend_id=None)
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, group)
reset_group_snapshot_status(context, gsnapshot, status)

Reset status of group snapshot

reset_status(context, group, status)

Reset status of generic group

update(context, group, name, description, add_volumes, remove_volumes)

Update group.

update_group_snapshot(context, group_snapshot, fields)
update_quota(context, group, num, project_id=None)
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.