lbaf.IO.lbsConfigurationValidator module

LBAF Configuration validator.

Classes

class ConfigurationValidator
Validate data in an YAML configuration file.

Functions

def get_error_message(iterable_collection: tuple) -> str
Return error message.

Data

ALLOWED_ALGORITHMS = ('InformAndTransfer', 'BruteForce', 'CentralizedPrefixOptimizer', 'PrescribedPermutation', 'PhaseStepper')
ALLOWED_CRITERIA = ('Tempered', 'StrictLocalizing')
ALLOWED_LOAD_VOLUME_SAMPLER = ('uniform', 'lognormal')
ALLOWED_LOGGING_LEVELS = ('info', 'debug', 'warning', 'error')
ALLOWED_ORDER_STRATEGIES = ('arbitrary', 'element_id', 'increasing_loads', 'decreasing_loads', 'fewest_migrations', 'small_objects')
ALLOWED_TRANSFER_STRATEGIES = ('Recursive', 'Clustering')
ALLOWED_WORK_MODELS = ('LoadOnly', 'AffineCombination')