Revision a0c26bdb
b/lib/ssconf.py | ||
---|---|---|
91 | 91 |
def GetNodeList(self): |
92 | 92 |
return self._config_data["nodes"].keys() |
93 | 93 |
|
94 |
def GetConfigSerialNo(self): |
|
95 |
return self._config_data["serial_no"] |
|
96 |
|
|
97 |
def GetClusterSerialNo(self): |
|
98 |
return self._config_data["cluster"]["serial_no"] |
|
99 |
|
|
94 | 100 |
|
95 | 101 |
class SimpleStore(object): |
96 | 102 |
"""Interface to static cluster data. |
Also available in: Unified diff