class documentation

Config object representing a node.

Class Method FromDict Custom function for deserializing.
Method ToDict Custom function for serializing.
Method UpgradeConfig Fill defaults for missing configuration values.
Class Variable __slots__ Undocumented
Instance Variable disk_state Disk state (e.g. free space)
Instance Variable disk_state_static Disk state overriden by user
Instance Variable hv_state Hypervisor state (e.g. number of CPUs)
Instance Variable hv_state_static Hypervisor state overriden by user
Instance Variable master_capable Undocumented
Instance Variable ndparams Undocumented
Instance Variable powered Undocumented
Instance Variable vm_capable Undocumented

Inherited from TaggableObject:

Class Method ValidateTag Check if a tag is valid.
Method AddTag Add a new tag.
Method GetTags Return the tags list.
Method RemoveTag Remove a tag.
Constant VALID_TAG_RE Undocumented
Instance Variable tags Undocumented

Inherited from ConfigObject (via TaggableObject):

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 Validate Validates the slots.

Inherited from ValidatedSlots (via TaggableObject, ConfigObject):

Class Method GetAllSlots Compute the list of all declared slots for a class.
Method __init__ Constructor for BaseOpCode.
@classmethod
def FromDict(cls, val):

Custom function for deserializing.

def ToDict(self, _with_private=False):

Custom function for serializing.

def UpgradeConfig(self):

Fill defaults for missing configuration values.

__slots__ =
disk_state =

Disk state (e.g. free space)

disk_state_static =

Disk state overriden by user

hv_state =

Hypervisor state (e.g. number of CPUs)

hv_state_static =

Hypervisor state overriden by user

master_capable: bool =

Undocumented

ndparams: dict =

Undocumented

powered: bool =

Undocumented

vm_capable: bool =

Undocumented