cinder.api.v3.volumes module¶
The volumes V3 api.
- class VolumeController(ext_mgr=None)¶
 Bases:
ControllerThe 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.
- detail(req)¶
 Returns a detailed list of volumes.
- index(req)¶
 Returns a summary list of volumes.
- revert(req, id, body)¶
 revert a volume to a snapshot
- show(req, id)¶
 Return data about the given volume.
- summary(req)¶
 Return summary of volumes.
- update(req, id, body)¶
 Update a volume.
- 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)¶