cinder.volume.group_types module

Built-in group type properties.

add_group_type_access(context, group_type_id, project_id)

Add access to group type for project_id.

create(context, name, group_specs=None, is_public=True, projects=None, description=None)

Creates group types.

destroy(context, id)

Marks group types as deleted.

get_all_group_types(context, inactive=0, filters=None, marker=None, limit=None, sort_keys=None, sort_dirs=None, offset=None, list_result=False)

Get all non-deleted group_types.

Pass true as argument if you want deleted group types returned also.

get_default_cgsnapshot_type()

Get the default group type for migrating cgsnapshots.

Get the default group type for migrating consistencygroups to groups and cgsnapshots to group_snapshots.

get_default_group_type()

Get the default group type.

get_group_type(ctxt, id, expected_fields=None)

Retrieves single group type by id.

get_group_type_by_name(context, name)

Retrieves single group type by name.

get_group_type_specs(group_type_id, key=False)
is_default_cgsnapshot_type(group_type_id)
is_public_group_type(context, group_type_id)

Return is_public boolean value of group type

remove_group_type_access(context, group_type_id, project_id)

Remove access to group type for project_id.

update(context, id, name, description, is_public=None)

Update group type by id.