Revision 81e3ab4f lib/cmdlib.py

b/lib/cmdlib.py
1229 1229
  return mc_now < mc_should
1230 1230

  
1231 1231

  
1232
def _CalculateGroupIPolicy(cfg, group):
1233
  """Calculate instance policy for group.
1234

  
1235
  """
1236
  cluster = cfg.GetClusterInfo()
1237
  return cluster.SimpleFillIPolicy(group.ipolicy)
1238

  
1239

  
1232 1240
def _CheckNicsBridgesExist(lu, target_nics, target_node):
1233 1241
  """Check that the brigdes needed by a list of nics exist.
1234 1242

  

Also available in: Unified diff