TDiskIndex = TAnd(TNonNegativeInt, lambda val: val < constants.MAX_DISKS)
TReplaceDisksMode = TElemOf(constants.REPLACE_MODES)
TDiskTemplate = TElemOf(constants.DISK_TEMPLATES)
-TNodeEvacMode = TElemOf(constants.IALLOCATOR_NEVAC_MODES)
+TEvacMode = TElemOf(constants.NODE_EVAC_MODES)
TIAllocatorTestDir = TElemOf(constants.VALID_IALLOCATOR_DIRECTIONS)
TIAllocatorMode = TElemOf(constants.VALID_IALLOCATOR_MODES)
TINicParams = \
Comment("NIC parameters")(TDictOf(TElemOf(constants.INIC_PARAMS),
- TMaybeString))
+ TMaybe(TString)))
TIDiskParams = \
Comment("Disk parameters")(TDictOf(TElemOf(constants.IDISK_PARAMS),