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

Class DetachedConfig

source code


Instance Methods [hide private]
 
__init__(self, config_data)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_OpenConfig(self, shared)
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, CheckIPInNodeGroup, ComputeDRBDMap, DropECReservations, ExpandInstanceName, ExpandNodeName, FlushConfig, GenerateDRBDSecret, GenerateIp, GenerateMAC, GenerateUniqueID, GetAllInstancesInfo, GetAllNetworksInfo, GetAllNodeGroupsInfo, GetAllNodeGroupsInfoDict, GetAllNodesInfo, GetCandidateCerts, GetClusterInfo, GetClusterName, GetCompressionTools, GetConfigManager, GetConfigVersion, GetDRBDHelper, GetDefaultIAllocator, GetDefaultIAllocatorParameters, GetDetachedConfig, GetDiskInfo, GetDsaHostKey, GetFileStorageDir, GetGlusterStorageDir, GetGroupDiskParams, GetGroupNetParams, GetHvparamsString, GetHypervisorType, GetInstallImage, GetInstanceCommunicationNetwork, GetInstanceDiskParams, GetInstanceDisks, GetInstanceInfo, GetInstanceInfoByName, GetInstanceLVsByNode, GetInstanceList, GetInstanceName, GetInstanceNames, GetInstanceNetworks, GetInstanceNodeGroups, GetInstanceNodes, GetInstanceSecondaryNodes, GetInstancesInfoByFilter, GetMACPrefix, GetMasterCandidateStats, 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, GetPrimaryIPFamily, GetRsaHostKey, GetSharedFileStorageDir, GetSsconfValues, GetUseExternalMipScript, GetVGName, GetVmCapableNodeList, GetZeroingImage, HasAnyDiskOfType, 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, SetInstallImage, SetInstanceCommunicationNetwork, SetInstancePrimaryNode, SetVGName, Update, VerifyConfig

Inherited from ConfigWriter (private): _AddLockCount, _AllDRBDSecrets, _AllIDs, _AllInstanceNodes, _AllLVs, _AllMACs, _AllNICs, _AllUUIDObjects, _BumpSerialNo, _CheckUniqueUUID, _ConfigData, _EnsureUUID, _GenerateUniqueID, _GetAllHvparamsStrings, _GetWConfdContext, _LockCount, _SetConfigData, _SetInstanceStatus, _UnlockedAddDisk, _UnlockedAddNetwork, _UnlockedAddNode, _UnlockedAddNodeGroup, _UnlockedAddNodeToGroup, _UnlockedAttachInstanceDisk, _UnlockedCommitIp, _UnlockedCommitTemporaryIps, _UnlockedDetachInstanceDisk, _UnlockedDropECReservations, _UnlockedGetAllInstancesInfo, _UnlockedGetAllNodeGroupsInfo, _UnlockedGetAllNodesInfo, _UnlockedGetDiskInfo, _UnlockedGetGroupDiskParams, _UnlockedGetGroupNetParams, _UnlockedGetHvparamsString, _UnlockedGetInstanceDisks, _UnlockedGetInstanceInfo, _UnlockedGetInstanceInfoByName, _UnlockedGetInstanceLVsByNode, _UnlockedGetInstanceList, _UnlockedGetInstanceName, _UnlockedGetInstanceNames, _UnlockedGetInstanceNodes, _UnlockedGetInstanceSecondaryNodes, _UnlockedGetMasterCandidateStats, _UnlockedGetNdParams, _UnlockedGetNetwork, _UnlockedGetNetworkList, _UnlockedGetNodeGroup, _UnlockedGetNodeInfo, _UnlockedGetNodeInfoByName, _UnlockedGetNodeList, _UnlockedGetNodeName, _UnlockedGetNodeNames, _UnlockedGetOnlineNodeList, _UnlockedGetSsconfValues, _UnlockedGetSshPortMap, _UnlockedLookupNetwork, _UnlockedLookupNodeGroup, _UnlockedReleaseDRBDMinors, _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)

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)