Commit 1ac6f2ad authored by Guido Trotter's avatar Guido Trotter
Browse files

ConfigWriter.GetNodeGroupList


Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent f9116d58
......@@ -883,6 +883,13 @@ class ConfigWriter:
"""
return dict(self._config_data.nodegroups)
@locking.ssynchronized(_config_lock, shared=1)
def GetNodeGroupList(self):
"""Get a list of node groups.
"""
return self._config_data.nodegroups.keys()
@locking.ssynchronized(_config_lock)
def AddInstance(self, instance, ec_id):
"""Add an instance to the config.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment