The cinder.api.contrib.volume_host_attribute
Module¶
-
class
VolumeHostAttributeController
(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
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/v2'¶
-
updated
= '2011-11-03T00:00:00+00:00'¶
-
-
make_volume
(elem)¶