The cinder.api.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-set_bootable': '_set_bootable', 'os-unreserve': '_unreserve', 'os-detach': '_detach', 'os-retype': '_retype', 'os-volume_upload_image': '_volume_upload_image', 'os-update_readonly_flag': '_volume_readonly_update', 'os-begin_detaching': '_begin_detaching', 'os-extend': '_extend', 'os-initialize_connection': '_initialize_connection', 'os-attach': '_attach'}
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.xmlutil.TemplateBuilder

construct()
class Volume_actions(ext_mgr)

Bases: cinder.api.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)

Previous topic

The cinder.api.contrib.used_limits Module

Next topic

The cinder.api.contrib.volume_encryption_metadata Module

Project Source

This Page