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

Class NodeGroup

source code


Config object representing a node group.

Instance Methods [hide private]
 
ToDict(self)
Custom function for nodegroup.
source code

Inherited from ConfigObject: Copy, UpgradeConfig, __getattr__, __getstate__, __init__, __repr__, __setstate__

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 nodegroup.
source code

Inherited from ConfigObject (private): _all_slots

Static Methods [hide private]
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

ToDict(self)

source code 

Custom function for nodegroup.

This discards the members object, which gets recalculated and is only kept in memory.

Overrides: ConfigObject.ToDict

FromDict(cls, val)
Class Method

source code 

Custom function for nodegroup.

The members slot is initialized to an empty list, upon deserialization.

Overrides: ConfigObject.FromDict