ConfigurationData
ConfigurationData module is the base for cfg files management
- class DIRAC.ConfigurationSystem.private.ConfigurationData.ConfigurationData(loadDefaultCFG=True)
Bases:
object
- __init__(loadDefaultCFG=True)
- dangerZoneEnd(returnValue=None)
End of danger zone. PRIVATE USE
- dangerZoneStart()
Start of danger zone. This danger zone may be or may not be a mutual exclusion zone. Counter is maintained to know how many threads are inside and be able to enable and disable mutual exclusion. PRIVATE USE
- deleteLocalOption(optionPath)
- deleteOptionInCFG(path, cfg=False)
- dumpLocalCFGToFile(fileName)
- dumpRemoteCFGToFile(fileName)
- exportName()
- extractOptionFromCFG(path, cfg=False, disableDangerZones=False)
- generateNewVersion()
- getAutoPublish()
- getAutoSlaveSync()
- getBackupDir()
- getCommentFromCFG(path, cfg=False)
- getCompressedData()
- getConfigurationGateway()
- getMasterServer()
- getMergedCFGAsString()
- getName()
- getOptionsFromCFG(path, cfg=False, ordered=False)
- getPropagationTime()
- getRefreshTime()
- getRemoteCFG()
- getSectionsFromCFG(path, cfg=False, ordered=False)
- getServers()
- getServicesPath()
- getSlavesGraceTime()
- getVersion(cfg=False)
- isMaster()
- isService()
- loadConfigurationData(fileName=False)
- loadFile(fileName)
- loadRemoteCFGFromCompressedMem(data)
- loadRemoteCFGFromMem(data)
- lock()
Locks Event to prevent further threads from reading. Stops current thread until no other thread is accessing. PRIVATE USE
- mergeWithLocal(extraCFG)
- mergingEnabled()
- setAsService()
- setMasterServer(sURL)
- setOptionInCFG(path, value, cfg=False, disableDangerZones=False)
- setRemoteCFG(cfg, disableSync=False)
- setServers(sServers)
- setVersion(version, cfg=False)
- skipCACheck()
- sync()
- unlock()
Unlocks Event. PRIVATE USE
- useServerCertificate()
- writeRemoteConfigurationToDisk(backupName=False)