models.volume_info_logical_volume_info module

class models.volume_info_logical_volume_info.VolumeInfoLogicalVolumeInfo(device_tree=None, logical_volume_name=None, logical_volume_uuid=None, volume_group_name=None, volume_group_uuid=None)[source]

Bases: object

Implementation of the ‘VolumeInfo_LogicalVolumeInfo’ model.

This is extra attribute which uniquely identifies a logical volume in LVM or LDM.

Attributes:
device_tree (DeviceTree): The tree defining how to combine partitions

to create this logical volume.

logical_volume_name (string): Logical volume name. logical_volume_uuid (string): Logical volume uuid. volume_group_name (string): Volume group name. volume_group_uuid (string): Volume group uuid.

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.