Revision 60152bbe lib/constants.py
b/lib/constants.py | ||
---|---|---|
952 | 952 |
IALLOCATOR_MODE_RELOC = "relocate" |
953 | 953 |
IALLOCATOR_MODE_MEVAC = "multi-evacuate" |
954 | 954 |
IALLOCATOR_MODE_MRELOC = "multi-relocate" |
955 |
IALLOCATOR_MODE_CHG_GROUP = "change-group" |
|
956 |
IALLOCATOR_MODE_NODE_EVAC = "node-evacuate" |
|
955 | 957 |
VALID_IALLOCATOR_MODES = frozenset([ |
956 | 958 |
IALLOCATOR_MODE_ALLOC, |
957 | 959 |
IALLOCATOR_MODE_RELOC, |
958 | 960 |
IALLOCATOR_MODE_MEVAC, |
959 | 961 |
IALLOCATOR_MODE_MRELOC, |
962 |
IALLOCATOR_MODE_CHG_GROUP, |
|
963 |
IALLOCATOR_MODE_NODE_EVAC, |
|
960 | 964 |
]) |
961 | 965 |
IALLOCATOR_SEARCH_PATH = _autoconf.IALLOCATOR_SEARCH_PATH |
962 | 966 |
|
967 |
IALLOCATOR_NEVAC_PRI = "primary-only" |
|
968 |
IALLOCATOR_NEVAC_SEC = "secondary-only" |
|
969 |
IALLOCATOR_NEVAC_ALL = "all" |
|
970 |
IALLOCATOR_NEVAC_MODES = frozenset([ |
|
971 |
IALLOCATOR_NEVAC_PRI, |
|
972 |
IALLOCATOR_NEVAC_SEC, |
|
973 |
IALLOCATOR_NEVAC_ALL, |
|
974 |
]) |
|
975 |
|
|
976 |
# TODO: Remove multi-relocate constants, including IALLOCATOR_MODE_MRELOC |
|
963 | 977 |
IALLOCATOR_MRELOC_ANY = "any_group" |
964 | 978 |
IALLOCATOR_MRELOC_CHANGE = "change_group" |
965 | 979 |
IALLOCATOR_MRELOC_KEEP = "keep_group" |
Also available in: Unified diff