The 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.

summary(req)

Return summary of volumes.

versioned_methods = {'summary': [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x7fcf7ea2a310>]}
wsgi_actions = {}
wsgi_extensions = []
check_policy(context, action, target_obj=None)
create_resource(ext_mgr)