cinder.api.v3.views.volumes module

class ViewBuilder

Bases: cinder.api.v2.views.volumes.ViewBuilder

Model a volumes API V3 response as a python dictionary.

detail(request, volume)

Detailed view of a single volume.

quick_summary(volume_count, volume_size, all_distinct_metadata=None)

View of volumes summary.

It includes number of volumes, size of volumes and all distinct metadata of volumes.