Revision ae5849b5 lib/config.py
b/lib/config.py | ||
---|---|---|
814 | 814 |
for node in self._UnlockedGetNodeList()]) |
815 | 815 |
return my_dict |
816 | 816 |
|
817 |
@locking.ssynchronized(_config_lock, shared=1) |
|
818 |
def DumpConfig(self): |
|
819 |
"""Return the entire configuration of the cluster. |
|
820 |
""" |
|
821 |
self._OpenConfig() |
|
822 |
return self._config_data |
|
823 |
|
|
824 | 817 |
def _BumpSerialNo(self): |
825 | 818 |
"""Bump up the serial number of the config. |
826 | 819 |
|
Also available in: Unified diff