Revision 6dc364f9

b/lib/constants.py
1552 1552
IALLOCATOR_SEARCH_PATH = _constants.IALLOCATOR_SEARCH_PATH
1553 1553
DEFAULT_IALLOCATOR_SHORTCUT = _constants.DEFAULT_IALLOCATOR_SHORTCUT
1554 1554

  
1555
IALLOCATOR_NEVAC_PRI = _constants.IALLOCATOR_NEVAC_PRI
1556
IALLOCATOR_NEVAC_SEC = _constants.IALLOCATOR_NEVAC_SEC
1557
IALLOCATOR_NEVAC_ALL = _constants.IALLOCATOR_NEVAC_ALL
1558
IALLOCATOR_NEVAC_MODES = _constants.IALLOCATOR_NEVAC_MODES
1559

  
1560 1555
# Node evacuation
1561 1556
NODE_EVAC_PRI = _constants.NODE_EVAC_PRI
1562 1557
NODE_EVAC_SEC = _constants.NODE_EVAC_SEC
b/src/Ganeti/HsConstants.hs
1097 1097
defaultIallocatorShortcut :: String
1098 1098
defaultIallocatorShortcut = "."
1099 1099

  
1100
iallocatorNevacPri :: String
1101
iallocatorNevacPri = Types.nodeEvacModeToRaw NEvacPrimary
1102

  
1103
iallocatorNevacSec :: String
1104
iallocatorNevacSec = Types.nodeEvacModeToRaw NEvacSecondary
1105

  
1106
iallocatorNevacAll :: String
1107
iallocatorNevacAll = Types.nodeEvacModeToRaw NEvacAll
1108

  
1109
iallocatorNevacModes :: FrozenSet String
1110
iallocatorNevacModes =
1111
  ConstantUtils.mkSet $ map Types.nodeEvacModeToRaw [minBound..]
1112

  
1113 1100
-- * Node evacuation
1114 1101

  
1115 1102
nodeEvacPri :: String

Also available in: Unified diff