Previous topic

The cinder.api.openstack.volume.contrib.types_manage Module

Next topic

The cinder.api.openstack.volume.extensions Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Cinder 2011.2 docs or all OpenStack docs too.

The cinder.api.openstack.volume.contrib.volume_actions Module

class VolumeActionsController(*args, **kwargs)

Bases: cinder.api.openstack.wsgi.Controller

wsgi_actions = {'os-reserve': '_reserve', 'os-roll_detaching': '_roll_detaching', 'os-terminate_connection': '_terminate_connection', 'os-unreserve': '_unreserve', 'os-detach': '_detach', 'os-volume_upload_image': '_volume_upload_image', 'os-attach': '_attach', 'os-begin_detaching': '_begin_detaching', 'os-initialize_connection': '_initialize_connection'}
wsgi_extensions = []
class VolumeToImageDeserializer(metadata=None)

Bases: cinder.api.openstack.wsgi.XMLDeserializer

Deserializer to handle xml-formatted requests

default(string)
class VolumeToImageSerializer

Bases: cinder.api.openstack.xmlutil.TemplateBuilder

construct()
class Volume_actions(ext_mgr)

Bases: cinder.api.openstack.extensions.ExtensionDescriptor

Enable volume actions

alias = 'os-volume-actions'
get_controller_extensions()
name = 'VolumeActions'
namespace = 'http://docs.openstack.org/volume/ext/volume-actions/api/v1.1'
updated = '2012-05-31T00:00:00+00:00'
authorize(context, action_name)