Package ganeti :: Package config :: Class DetachedConfig
[hide private]
[frames] | no frames]

Class DetachedConfig

source code


Read-only snapshot of the config.

Instance Methods [hide private]
 
__init__(self, config_data)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_OpenConfig(self, shared, force=None)
Read the config data from WConfd or disk.
source code
 
_CloseConfig(self, save)
Release resources relating the config data.
source code

Inherited from ConfigWriter: AddInstance, AddInstanceDisk, AddNetwork, AddNode, AddNodeGroup, AddNodeToCandidateCerts, AddTcpUdpPort, AllocateDRBDMinor, AllocatePort, AssignGroupNodes, AttachInstanceDisk, CheckIPInNodeGroup, CommitTemporaryIps, ComputeDRBDMap, DetachInstanceDisk, DisksOfType, DropECReservations, ExpandInstanceName, ExpandNodeName, FlushConfig, FlushConfigGroup, GenerateDRBDSecret, GenerateIp, GenerateMAC, GenerateUniqueID, GetAllDiskInfo, GetAllDisksInfo, GetAllInstancesInfo, GetAllNetworksInfo, GetAllNodeGroupsInfo, GetAllNodeGroupsInfoDict, GetAllNodesInfo, GetCandidateCerts, GetClusterInfo, GetClusterName, GetCompressionTools, GetConfigManager, GetConfigVersion, GetDRBDHelper, GetDefaultIAllocator, GetDefaultIAllocatorParameters, GetDetachedConfig, GetDiskInfo, GetDiskInfoByName, GetDsaHostKey, GetFileStorageDir, GetGlusterStorageDir, GetGroupDiskParams, GetGroupNetParams, GetGroupSshPorts, GetHvparamsString, GetHypervisorType, GetInstallImage, GetInstanceCommunicationNetwork, GetInstanceDiskParams, GetInstanceDiskTemplate, GetInstanceDisks, GetInstanceForDisk, GetInstanceInfo, GetInstanceInfoByName, GetInstanceLVsByNode, GetInstanceList, GetInstanceName, GetInstanceNames, GetInstanceNetworks, GetInstanceNodeGroups, GetInstanceNodes, GetInstanceSecondaryNodes, GetInstancesInfoByFilter, GetMACPrefix, GetMasterCandidateStats, GetMasterCandidateUuids, GetMasterIP, GetMasterNetdev, GetMasterNetmask, GetMasterNetworkParameters, GetMasterNode, GetMasterNodeInfo, GetMasterNodeName, GetMultiInstanceInfo, GetMultiInstanceInfoByName, GetMultiNodeGroupInfo, GetMultiNodeInfo, GetNdGroupParams, GetNdParams, GetNetwork, GetNetworkList, GetNetworkNames, GetNodeGroup, GetNodeGroupInfoByName, GetNodeGroupInstances, GetNodeGroupList, GetNodeGroupMembersByNodes, GetNodeGroupsFromNodes, GetNodeInfo, GetNodeInfoByName, GetNodeInstances, GetNodeList, GetNodeName, GetNodeNames, GetNonVmCapableNodeList, GetNonVmCapableNodeNameList, GetOnlineNodeList, GetPortList, GetPotentialMasterCandidates, GetPrimaryIPFamily, GetRsaHostKey, GetSharedFileStorageDir, GetSsconfValues, GetUseExternalMipScript, GetVGName, GetVmCapableNodeList, GetZeroingImage, LookupNetwork, LookupNodeGroup, MaintainCandidatePool, MarkInstanceDisksActive, MarkInstanceDisksInactive, MarkInstanceDown, MarkInstanceOffline, MarkInstanceUp, MarkInstanceUserDown, OutDate, ReleaseDRBDMinors, ReleaseIp, RemoveInstance, RemoveInstanceDisk, RemoveNetwork, RemoveNode, RemoveNodeFromCandidateCerts, RemoveNodeGroup, RenameInstance, ReserveIp, ReserveLV, ReserveMAC, SetCandidateCerts, SetCompressionTools, SetDRBDHelper, SetDiskLogicalID, SetDiskNodes, SetInstallImage, SetInstanceCommunicationNetwork, SetInstancePrimaryNode, SetVGName, Update, UpdateOfflineCluster, VerifyConfig, VerifyConfigAndLog

Inherited from ConfigWriter (private): _AddLockCount, _AllDRBDSecrets, _AllIDs, _AllInstanceNodes, _AllLVs, _AllMACs, _AllNICs, _AllUUIDObjects, _BumpSerialNo, _CheckUUIDpresent, _CheckUniqueUUID, _ConfigData, _EnsureUUID, _GenerateUniqueID, _GetAllHvparamsStrings, _GetWConfdContext, _LockCount, _SetConfigData, _SetInstanceStatus, _UnlockedAddNetwork, _UnlockedAddNode, _UnlockedAddNodeGroup, _UnlockedAddNodeToGroup, _UnlockedDropECReservations, _UnlockedGetAllDiskInfo, _UnlockedGetAllDisksInfo, _UnlockedGetAllInstancesInfo, _UnlockedGetAllNodeGroupsInfo, _UnlockedGetAllNodesInfo, _UnlockedGetDiskInfo, _UnlockedGetDiskInfoByName, _UnlockedGetDiskList, _UnlockedGetGroupDiskParams, _UnlockedGetGroupNetParams, _UnlockedGetHvparamsString, _UnlockedGetInstanceDisks, _UnlockedGetInstanceInfo, _UnlockedGetInstanceInfoByName, _UnlockedGetInstanceLVsByNode, _UnlockedGetInstanceList, _UnlockedGetInstanceName, _UnlockedGetInstanceNames, _UnlockedGetInstanceNodes, _UnlockedGetInstanceSecondaryNodes, _UnlockedGetMasterCandidateStats, _UnlockedGetMasterCandidateUuids, _UnlockedGetNdGroupParams, _UnlockedGetNdParams, _UnlockedGetNetwork, _UnlockedGetNetworkList, _UnlockedGetNodeGroup, _UnlockedGetNodeInfo, _UnlockedGetNodeInfoByName, _UnlockedGetNodeList, _UnlockedGetNodeName, _UnlockedGetNodeNames, _UnlockedGetOnlineNodeList, _UnlockedGetSsconfValues, _UnlockedGetSshPortMap, _UnlockedLookupNetwork, _UnlockedLookupNodeGroup, _UnlockedRemoveDisk, _UnlockedRemoveNodeFromGroup, _UnlockedVerifyConfig, _UnlockedVerifyConfigAndLog, _UpgradeConfig, _WriteConfig

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

Static Methods [hide private]
 
_WriteCallError() source code

Inherited from ConfigWriter: IsCluster

Instance Variables [hide private]

Inherited from ConfigWriter (private): _all_rms

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, config_data)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

_OpenConfig(self, shared, force=None)

source code 

Read the config data from WConfd or disk.

Overrides: ConfigWriter._OpenConfig
(inherited documentation)

_CloseConfig(self, save)

source code 

Release resources relating the config data.

Overrides: ConfigWriter._CloseConfig
(inherited documentation)