cinder.api.v3.volumes module

The volumes V3 api.

class VolumeController(ext_mgr)

Bases: cinder.api.v2.volumes.VolumeController

The Volumes API controller for the OpenStack API V3.

create(req, body)

Creates a new volume.

Parameters
  • req – the request

  • body – the request body

Returns

dict – the new volume dictionary

Raises

HTTPNotFound, HTTPBadRequest

delete(req, id)

Delete a volume.

revert(req, id, body)

revert a volume to a snapshot

summary(req)

Return summary of volumes.

versioned_methods = {'revert': [<cinder.api.openstack.versioned_method.VersionedMethod object>], 'summary': [<cinder.api.openstack.versioned_method.VersionedMethod object>]}
wsgi_actions = {'revert': 'revert'}
wsgi_extensions = []
create_resource(ext_mgr)