Previous topic

The cinder.volume.utils Module

Next topic

The cinder.volume.xensm Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Cinder 2011.2 docs or all OpenStack docs too.

The cinder.volume.volume_types Module

Built-in volume type properties.

create(context, name, extra_specs={})

Creates volume types.

destroy(context, name)

Marks volume types as deleted.

get_all_types(context, inactive=0, search_opts={})

Get all non-deleted volume_types.

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

get_volume_type(ctxt, id)

Retrieves single volume type by id.

get_volume_type_by_name(context, name)

Retrieves single volume type by name.

is_key_value_present(volume_type_id, key, value, volume_type=None)