Package ganeti :: Module ssconf :: Class SimpleConfigWriter
[hide private]
[frames] | no frames]

Class SimpleConfigWriter

source code


Simple class to write configuration file.

Instance Methods [hide private]
 
Save(self)
Writes configuration file.
source code

Inherited from SimpleConfigReader: GetClusterName, GetFileStorageDir, GetHostKey, GetHypervisorType, GetMasterIP, GetMasterNetdev, GetMasterNode, GetNodeList, __init__

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

Class Methods [hide private]

Inherited from SimpleConfigReader: FromDict

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

Save(self)

source code 

Writes configuration file.

Warning: Doesn't take care of locking or synchronizing with other processes.