Revision a9f33339 lib/config.py

b/lib/config.py
1374 1374
    return self._UnlockedGetAllNodeGroupsInfo()
1375 1375

  
1376 1376
  @locking.ssynchronized(_config_lock, shared=1)
1377
  def GetAllNodeGroupsInfoDict(self):
1378
    """Get the configuration of all node groups expressed as a dictionary of
1379
    dictionaries.
1380

  
1381
    """
1382
    return dict(map(lambda (uuid, ng): (uuid, ng.ToDict()),
1383
                    self._UnlockedGetAllNodeGroupsInfo().items()))
1384

  
1385
  @locking.ssynchronized(_config_lock, shared=1)
1377 1386
  def GetNodeGroupList(self):
1378 1387
    """Get a list of node groups.
1379 1388

  

Also available in: Unified diff