Built-in volume type properties.
Add access to volume type for project_id.
Creates volume types.
Marks volume types as deleted.
Get all non-deleted volume_types.
Pass true as argument if you want deleted volume types returned also.
Get all volume_types in a group.
Get the default volume type.
Retrieves single volume type by id.
Retrieves single volume type by name.
Get all qos specs for given volume type.
Return is_public boolean value of volume type
Remove access to volume type for project_id.
Update volume type by id.
Returns a ‘diff’ of two volume types and whether they are equal.
Returns a tuple of (diff, equal), where ‘equal’ is a boolean indicating whether there is any difference, and ‘diff’ is a dictionary with the following format:
{
'extra_specs': {'key1': (value_in_1st_vol_type,
value_in_2nd_vol_type),
'key2': (value_in_1st_vol_type,
value_in_2nd_vol_type),
{...}}
'qos_specs': {'key1': (value_in_1st_vol_type,
value_in_2nd_vol_type),
'key2': (value_in_1st_vol_type,
value_in_2nd_vol_type),
{...}}
'encryption': {'cipher': (value_in_1st_vol_type,
value_in_2nd_vol_type),
{'key_size': (value_in_1st_vol_type,
value_in_2nd_vol_type),
{...}}
}
Return whether encryptions of two volume types are same.