Revision 0359e5d0 lib/config.py

b/lib/config.py
1203 1203
    return self._config_data.cluster.default_iallocator
1204 1204

  
1205 1205
  @locking.ssynchronized(_config_lock, shared=1)
1206
  def GetDefaultIAllocatorParameters(self):
1207
    """Get the default instance allocator parameters for this cluster.
1208

  
1209
    @rtype: dict
1210
    @return: dict of iallocator parameters
1211

  
1212
    """
1213
    return self._config_data.cluster.default_iallocator_params
1214

  
1215
  @locking.ssynchronized(_config_lock, shared=1)
1206 1216
  def GetPrimaryIPFamily(self):
1207 1217
    """Get cluster primary ip family.
1208 1218

  

Also available in: Unified diff