Package ganeti :: Module objects :: Class Node
[hide private]
[frames] | no frames]

Class Node

source code


Config object representing a node.

Instance Methods [hide private]
 
UpgradeConfig(self)
Fill defaults for missing configuration values.
source code
 
ToDict(self)
Custom function for serializing.
source code

Inherited from TaggableObject: AddTag, GetTags, RemoveTag

Inherited from ConfigObject: Copy, Validate, __getattr__, __getstate__, __repr__, __setstate__

Inherited from outils.ValidatedSlots: __init__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
 
FromDict(cls, val)
Custom function for deserializing.
source code

Inherited from TaggableObject: ValidateTag

Inherited from outils.ValidatedSlots: GetAllSlots

Class Variables [hide private]

Inherited from TaggableObject: VALID_TAG_RE

Instance Variables [hide private]
  disk_state
Disk state (e.g.
  disk_state_static
Disk state overriden by user
  hv_state
Hypervisor state (e.g.
  hv_state_static
Hypervisor state overriden by user
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

UpgradeConfig(self)

source code 

Fill defaults for missing configuration values.

Overrides: ConfigObject.UpgradeConfig

ToDict(self)

source code 

Custom function for serializing.

Overrides: ConfigObject.ToDict

FromDict(cls, val)
Class Method

source code 

Custom function for deserializing.

Overrides: ConfigObject.FromDict

Instance Variable Details [hide private]

disk_state

Disk state (e.g. free space)

hv_state

Hypervisor state (e.g. number of CPUs)