Trees | Indices | Help |
|
---|
|
Interface to static cluster data.
This is different that the config.ConfigWriter and SimpleConfigReader classes in that it holds data that will always be present, even on nodes which don't have all the cluster data.
Other particularities of the datastore:
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
_SS_FILEPREFIX = "ssconf_"
|
|||
_VALID_KEYS = constants.SS_CLUSTER_NAME, constants.SS_CLUSTER_
|
|||
_MAX_SIZE = 131072
|
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Generic routine to read keys. This will read the file which holds the value requested. Errors will be changed into ConfigurationErrors. |
Writes ssconf files used by external scripts.
|
Return the list of all config files. This is used for computing node replication data. |
Return the user-id pool definition string. The separator character is a newline. The return value can be parsed using uidpool.ParseUidPool(): ss = ssconf.SimpleStore() uid_pool = uidpool.ParseUidPool(ss.GetUidPool(), separator="\n") |
|
_VALID_KEYS
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Oct 27 14:19:37 2011 | http://epydoc.sourceforge.net |