Previous topic

The cinder.api.contrib.volume_actions Module

Next topic

The cinder.api.contrib.volume_image_metadata 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.contrib.volume_host_attribute Module

class VolumeHostAttributeController(*args, **kwargs)

Bases: cinder.api.openstack.wsgi.Controller

detail(req, resp_obj)
show(req, resp_obj, id)
wsgi_actions = {}
wsgi_extensions = [('detail', None), ('show', None)]
class VolumeHostAttributeTemplate

Bases: cinder.api.xmlutil.TemplateBuilder

construct()
class VolumeListHostAttributeTemplate

Bases: cinder.api.xmlutil.TemplateBuilder

construct()
class Volume_host_attribute(ext_mgr)

Bases: cinder.api.extensions.ExtensionDescriptor

Expose host as an attribute of a volume.

alias = 'os-vol-host-attr'
get_controller_extensions()
name = 'VolumeHostAttribute'
namespace = 'http://docs.openstack.org/volume/ext/volume_host_attribute/api/v1'
updated = '2011-11-03T00:00:00+00:00'
make_volume(elem)