Previous topic

The cinder.api.contrib.volume_image_metadata Module

Next topic

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

class VolumeListTenantAttributeTemplate

Bases: cinder.api.xmlutil.TemplateBuilder

construct()
class VolumeTenantAttributeController(*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 VolumeTenantAttributeTemplate

Bases: cinder.api.xmlutil.TemplateBuilder

construct()
class Volume_tenant_attribute(ext_mgr)

Bases: cinder.api.extensions.ExtensionDescriptor

Expose the internal project_id as an attribute of a volume.

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