Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier Assign NameStore ListLoad Call AttributeLoad NameLoad attr Str keyword ListLoad Str keyword Str Call AttributeLoad NameLoad attr Str keyword ListLoad Str keyword Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad keyword Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad Raise Call AttributeLoad NameLoad attr keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad Raise Call AttributeLoad NameLoad attr keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Raise Call NameLoad decorator_list decorator_list
N/A N/A 
Scheduler host constraint solvers
 oslo_config cfg nova_solverscheduler.scheduler.solvers constraints nova_solverscheduler.scheduler.solvers costs nova_solverscheduler solver_scheduler_exception exception N/A scheduler_solver_opts N/A N/A N/A cfg ListOpt scheduler_solver_costs default N/A RamCost help Which cost matrices to use in the scheduler solver. N/A N/A cfg ListOpt scheduler_solver_constraints default N/A ActiveHostsConstraint help Which constraints to use in scheduler solver N/A CONF N/A cfg CONF N/A N/A N/A CONF register_opts scheduler_solver_opts group solver_scheduler BaseHostSolver N/A object N/A N/A Base class for host constraint solvers. __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super BaseHostSolver self __init__ N/A _get_cost_classes N/A N/A self N/A N/A N/A Get cost classes from configuration. N/A cost_classes N/A N/A bad_cost_names N/A N/A cost_handler N/A N/A costs CostHandler N/A all_cost_classes N/A N/A cost_handler get_all_classes N/A all_cost_names N/A N/A c __name__ N/A c all_cost_classes N/A expected_costs N/A N/A CONF solver_scheduler scheduler_solver_costs N/A cost expected_costs N/A N/A N/A cost all_cost_names N/A N/A N/A N/A cost_classes append N/A all_cost_classes N/A N/A N/A all_cost_names index cost N/A N/A N/A N/A bad_cost_names append cost N/A bad_cost_names N/A N/A msg N/A N/A ,  join bad_cost_names N/A N/A N/A exception SchedulerSolverCostNotFound cost_name msg N/A cost_classes N/A _get_constraint_classes N/A N/A self N/A N/A N/A Get constraint classes from configuration. N/A constraint_classes N/A N/A bad_constraint_names N/A N/A constraint_handler N/A N/A constraints ConstraintHandler N/A all_constraint_classes N/A N/A constraint_handler get_all_classes N/A all_constraint_names N/A N/A c __name__ N/A c all_constraint_classes N/A expected_constraints N/A N/A CONF solver_scheduler scheduler_solver_constraints N/A constraint expected_constraints N/A N/A N/A constraint all_constraint_names N/A N/A N/A N/A constraint_classes append N/A all_constraint_classes N/A N/A N/A all_constraint_names index constraint N/A N/A N/A N/A bad_constraint_names append constraint N/A bad_constraint_names N/A N/A msg N/A N/A ,  join bad_constraint_names N/A N/A N/A exception SchedulerSolverConstraintNotFound constraint_name msg N/A constraint_classes N/A solve N/A N/A self hosts filter_properties N/A N/A N/A Return the list of host-instance tuples after
           solving the constraints.
           Implement this in a subclass.
         N/A N/A NotImplementedError N/A N/A