models.volume_info_disk_info module

class models.volume_info_disk_info.VolumeInfoDiskInfo(disk_file_name=None, disk_format=None, disk_uuid=None, partition_type=None, partition_vec=None, physical_range_vec=None, sector_size=None, vmdk_size=None)[source]

Bases: object

Implementation of the ‘VolumeInfo_DiskInfo’ model.

Information about each disk in volume.

Attributes:
disk_file_name (string): Disk name. This is the vmdk names, and not

the flat file name.

disk_format (int): Disk format type of this file. See

util/disklib/base/enums.proto for available types.

disk_uuid (string): Disk uuid. partition_type (int): Disk partition type. partition_vec (list of VolumeInfoDiskInfoPartitionInfo): Information

about all the partitions in this disk.

physical_range_vec (list of VolumeInfoDiskInfoPhysicalRange): This

disk is formed by following physical ranges. Ranges are arranged sequentially to form a disk.

sector_size (long|int): Sector size of disk. This is sector size of

disk which is formed by mapping the physical ranges of the disk into a linear device.

vmdk_size (long|int): Disk size in bytes.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.