The nova.volume.encryptors.base Module

class VolumeEncryptor(connection_info, **kwargs)

Bases: object

Base class to support encrypted volumes.

A VolumeEncryptor provides hooks for attaching and detaching volumes, which are called immediately prior to attaching the volume to an instance and immediately following detaching the volume from an instance. This class performs no actions for either hook.

attach_volume(context, **kwargs)

Hook called immediately prior to attaching a volume to an instance.


Hook called immediately after detaching a volume from an instance.

Previous topic

The nova.volume.cinder Module

Next topic

The nova.volume.encryptors.cryptsetup Module

Project Source

This Page