The Module

create_volume(target, device, cipher, key_size, key)

Sets up a dmcrypt mapping

  • target – device mapper logical device name
  • device – underlying block device
  • cipher – encryption cipher string digestible by cryptsetup
  • key_size – encryption key size
  • key – encryption key as an array of unsigned bytes

Deletes a dmcrypt mapping

Parameters:target – name of the mapped logical device

Returns true if the path corresponds to an encrypted disk.


Function enumerates encrypted volumes.


Returns the suffixed dmcrypt volume name.

This is to avoid collisions with similarly named device mapper names for LVM volumes

Previous topic

The nova.virt.libvirt.instancejobtracker Module

Next topic

The Module

Project Source

This Page