The cinder.api.contrib.volume_tenant_attribute Module

class VolumeTenantAttributeController(view_builder=None)

Bases: cinder.api.openstack.wsgi.Controller

detail(req, resp_obj)
show(req, resp_obj, id)
wsgi_actions = {}
wsgi_extensions = [(‘detail’, None), (‘show’, None)]
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’
updated = ‘2011-11-03T00:00:00+00:00’