cinder.api.contrib.volume_type_encryption module

The volume types encryption extension.

class VolumeTypeEncryptionController(view_builder=None)

Bases: Controller

The volume type encryption API controller for the OpenStack API.

create(req, type_id, body)

Create encryption specs for an existing volume type.

delete(req, type_id, id)

Delete encryption specs for a given volume type.

index(req, type_id)

Returns the encryption specs for a given volume type.

show(req, type_id, id)

Return a single encryption item.

update(req, type_id, id, body)

Update encryption specs for a given volume type.

wsgi_actions = {}
wsgi_extensions = []
class Volume_type_encryption(ext_mgr)

Bases: ExtensionDescriptor

Encryption support for volume types.

alias = 'encryption'
get_controller_extensions()

List of extensions.ControllerExtension extension objects.

Controller extensions are used to extend existing controllers.

get_resources()

List of extensions.ResourceExtension extension objects.

Resources define new nouns, and are accessible through URLs.

name = 'VolumeTypeEncryption'
updated = '2013-07-01T00:00:00+00:00'