The cinder.api.v1.volumes Module

The volumes api.

class CommonDeserializer(metadata=None)

Bases: cinder.api.openstack.wsgi.MetadataXMLDeserializer

Common deserializer to handle xml-formatted volume requests.

Handles standard volume attributes as well as the optional metadata attribute

metadata_deserializer = <cinder.api.common.MetadataXMLDeserializer object at 0x7fbe6872fc90>
class CreateDeserializer(metadata=None)

Bases: cinder.api.v1.volumes.CommonDeserializer

Deserializer to handle xml-formatted create volume requests.

Handles standard volume attributes as well as the optional metadata attribute

default(string)

Deserialize an xml-formatted volume create request.

class VolumeController(ext_mgr)

Bases: cinder.api.openstack.wsgi.Controller

The Volumes API controller for the OpenStack API.

create(req, body)

Creates a new volume.

delete(req, id)

Delete a volume.

detail(req)

Returns a detailed list of volumes.

index(req)

Returns a summary list of volumes.

show(req, id)

Return data about the given volume.

update(req, id, body)

Update a volume.

wsgi_actions = {}
wsgi_extensions = []
class VolumeTemplate

Bases: cinder.api.xmlutil.TemplateBuilder

construct()
class VolumesTemplate

Bases: cinder.api.xmlutil.TemplateBuilder

construct()
create_resource(ext_mgr)
make_attachment(elem)
make_volume(elem)

Previous topic

The cinder.api.v1.volume_metadata Module

Next topic

The cinder.api.v2.limits Module

Project Source

This Page