The cinder.api.v3.volumes Module

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.

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 = []
check_policy(context, action, target_obj=None)
create_resource(ext_mgr)
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.