cinder.api.v3.volumes module

cinder.api.v3.volumes module

The volumes V3 api.

class VolumeController(ext_mgr=None)

Bases: VolumeController

The Volumes API controller for the OpenStack API V3.

MV_ADDED_FILTERS = (('3.3', 'glance_metadata'), ('3.9', 'group_id'), ('3.59', 'created_at'), ('3.59', 'updated_at'), ('3.64', 'use_quota'))
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)
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.