cinder.api.contrib.volume_image_metadata module

cinder.api.contrib.volume_image_metadata module

The Volume Image Metadata API extension.

class VolumeImageMetadataController(*args, **kwargs)

Bases: Controller

create(req, id, body)
delete(req, id, body)

Deletes an existing image metadata.

detail(req, resp_obj)
index(req, id, body)
show(req, resp_obj, id)
wsgi_actions = {'os-set_image_metadata': 'create', 'os-show_image_metadata': 'index', 'os-unset_image_metadata': 'delete'}
wsgi_extensions = [('show', None), ('detail', None)]
class Volume_image_metadata(ext_mgr)

Bases: ExtensionDescriptor

Show image metadata associated with the volume.

alias = 'os-vol-image-meta'
get_controller_extensions()

List of extensions.ControllerExtension extension objects.

Controller extensions are used to extend existing controllers.

name = 'VolumeImageMetadata'
updated = '2012-12-07T00:00:00+00:00'
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.