'Get specs suitable for volume creation.'

def _get_voltype_specs(self, volume):

    vtype = volume.get('volume_type_id', None)
    extra_specs = None
    if vtype:
        extra_specs = volume_types.get_volume_type_extra_specs(vtype)
    return self._get_specs(extra_specs)
