Commit 6dc364f9 authored by Jose A. Lopes's avatar Jose A. Lopes
Browse files

Remove duplicate 'IALLOCATOR_NEVAC_*' constants



Constants 'IALLOCATOR_NEVAC_*' are duplicates of 'NODE_EVAC_*' and are
no longer being used so they can be removed. Fixes issue 583.
Signed-off-by: default avatarJose A. Lopes <jabolopes@google.com>
Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
parent d4d424fb
......@@ -1552,11 +1552,6 @@ VALID_IALLOCATOR_MODES = _constants.VALID_IALLOCATOR_MODES
IALLOCATOR_SEARCH_PATH = _constants.IALLOCATOR_SEARCH_PATH
DEFAULT_IALLOCATOR_SHORTCUT = _constants.DEFAULT_IALLOCATOR_SHORTCUT
IALLOCATOR_NEVAC_PRI = _constants.IALLOCATOR_NEVAC_PRI
IALLOCATOR_NEVAC_SEC = _constants.IALLOCATOR_NEVAC_SEC
IALLOCATOR_NEVAC_ALL = _constants.IALLOCATOR_NEVAC_ALL
IALLOCATOR_NEVAC_MODES = _constants.IALLOCATOR_NEVAC_MODES
# Node evacuation
NODE_EVAC_PRI = _constants.NODE_EVAC_PRI
NODE_EVAC_SEC = _constants.NODE_EVAC_SEC
......
......@@ -1097,19 +1097,6 @@ iallocatorSearchPath = AutoConf.iallocatorSearchPath
defaultIallocatorShortcut :: String
defaultIallocatorShortcut = "."
iallocatorNevacPri :: String
iallocatorNevacPri = Types.nodeEvacModeToRaw NEvacPrimary
iallocatorNevacSec :: String
iallocatorNevacSec = Types.nodeEvacModeToRaw NEvacSecondary
iallocatorNevacAll :: String
iallocatorNevacAll = Types.nodeEvacModeToRaw NEvacAll
iallocatorNevacModes :: FrozenSet String
iallocatorNevacModes =
ConstantUtils.mkSet $ map Types.nodeEvacModeToRaw [minBound..]
-- * Node evacuation
nodeEvacPri :: String
......
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