COT.disks.vmdk module

Handling of VMDK files.

class VMDK(path, disk_subformat=None, capacity=None, files=None)[source]

Bases: COT.disks.disk.DiskRepresentation

VMDK disk image file representation.

classmethod from_other_image(input_image, output_dir, output_subformat='streamOptimized')[source]

Convert the other disk image into an image of this type.

Parameters:
  • input_image (DiskRepresentation) – Existing image representation.
  • output_dir (str) – Output directory to store the new image in.
  • output_subformat (str) – VMDK subformat string. Defaults to “streamOptimized” if unset.
Returns:

VMDK – representation of newly created VMDK file.

disk_format = 'vmdk'
disk_subformat

Disk subformat, such as ‘streamOptimized’.