Built-in volume type properties.
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 the default volume type.
Retrieves single volume type by id.
Retrieves single volume type by name.
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),
- ...}