Logo Search packages:      
Sourcecode: ganeti version File versions  Download package

lib::config::ConfigWriter Class Reference

List of all members.


Detailed Description

The interface to the cluster configuration.

Definition at line 46 of file config.py.


Public Member Functions

def __init__
def AddInstance
def AddNode
def AddTcpUdpPort
def AllocatePort
def DumpConfig
def ExpandInstanceName
def ExpandNodeName
def GenerateMAC
def GenerateUniqueID
def GetClusterInfo
def GetDefBridge
def GetHostKey
def GetInstanceInfo
def GetInstanceList
def GetMACPrefix
def GetNodeInfo
def GetNodeList
def GetPortList
def GetVGName
def InitConfig
def IsCluster
def MarkInstanceDown
def MarkInstanceUp
def RemoveInstance
def RemoveNode
def RenameInstance
def SetDiskID
def Update
def VerifyConfig

Public Attributes

 write_count

Private Member Functions

def _AllMACs
def _BumpSerialNo
def _ComputeAllLVs
def _DistributeConfig
def _OpenConfig
def _ReleaseLock
def _WriteConfig

Private Attributes

 _cfg_file
 _config_data
 _config_inode
 _config_size
 _config_time
 _my_hostname
 _offline
 _temporary_ids

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index