Revision 098c0958 lib/config.py
b/lib/config.py | ||
---|---|---|
48 | 48 |
|
49 | 49 |
|
50 | 50 |
class ConfigWriter: |
51 |
"""The interface to the cluster configuration"""
|
|
51 |
"""The interface to the cluster configuration.
|
|
52 | 52 |
|
53 |
""" |
|
53 | 54 |
def __init__(self, cfg_file=None, offline=False): |
54 | 55 |
self._config_data = None |
55 | 56 |
self._config_time = None |
... | ... | |
267 | 268 |
"""Mark the status of an instance to down in the configuration. |
268 | 269 |
|
269 | 270 |
""" |
270 |
|
|
271 | 271 |
self._OpenConfig() |
272 | 272 |
|
273 | 273 |
if instance_name not in self._config_data.instances: |
Also available in: Unified diff