class documentation

class LvmPvInfo(ConfigObject):

View In Hierarchy

Information about an LVM physical volume (PV).

Method IsAllocatable Is this PV allocatable?
Method IsEmpty Is this PV empty?
Class Variable __slots__ Undocumented
Instance Variable attributes PV attributes
Instance Variable free free space in the PV, in MiB
Instance Variable lv_list names of the LVs hosted on the PV
Instance Variable name name of the PV
Instance Variable size size of the PV in MiB
Instance Variable vg_name name of the volume group containing the PV

Inherited from ConfigObject:

Class Method FromDict Create an object from a dictionary.
Method __getattr__ Undocumented
Method __repr__ Implement __repr__ for ConfigObjects.
Method __setstate__ Undocumented
Method Copy Makes a deep copy of the current object and its children.
Method ToDict Convert to a dict holding only standard python types.
Method UpgradeConfig Fill defaults for missing configuration values.
Method Validate Validates the slots.

Inherited from ValidatedSlots (via ConfigObject):

Class Method GetAllSlots Compute the list of all declared slots for a class.
Method __init__ Constructor for BaseOpCode.
def IsAllocatable(self):

Is this PV allocatable?

def IsEmpty(self):

Is this PV empty?

__slots__: list[str] =

Undocumented

attributes: string =

PV attributes

free: float =

free space in the PV, in MiB

lv_list: list of strings =

names of the LVs hosted on the PV

name: string =

name of the PV

size: float =

size of the PV in MiB

vg_name: string =

name of the volume group containing the PV