Module ImportFrom alias identifier ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore ListComp ListComp NameLoad comprehension NameStore Call NameLoad NameLoad comprehension NameStore Call NameLoad NameLoad Assign NameStore BoolOpOr Call AttributeLoad NameLoad attr Str Dict If UnaryOpNot NameLoad body Return NameLoad orelse Assign NameStore SubscriptLoad NameLoad Index Str If CompareLtE NameLoad Num body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Return NameLoad For NameStore Call NameLoad NameLoad body If UnaryOpNot AttributeLoad SubscriptLoad NameLoad Index NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Dict Str SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad ListComp NameLoad comprehension NameStore Call NameLoad NameLoad Continue orelse Assign NameStore BinOpSub AttributeLoad SubscriptLoad NameLoad Index NameLoad attr AttributeLoad SubscriptLoad NameLoad Index NameLoad attr If CompareEq NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad BinOpAdd ListLoad NameLoad ListComp NameLoad comprehension NameStore Call NameLoad BinOpSub NameLoad Num orelse Assign SubscriptStore NameLoad Index NameLoad ListComp NameLoad comprehension NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Dict Str Str Str SubscriptLoad NameLoad Index NameLoad NameLoad NameLoad Return NameLoad decorator_list decorator_list
N/A oslo_log log logging nova.i18n _LW nova_solverscheduler.scheduler.solvers constraints N/A LOG N/A N/A logging getLogger __name__ ExactVcpuConstraint N/A N/A constraints BaseLinearConstraint N/A N/A Constraint that selects hosts with exact number of vCPUs. get_constraint_matrix N/A N/A self hosts filter_properties N/A N/A N/A num_hosts N/A len hosts N/A num_instances N/A N/A filter_properties get num_instances N/A constraint_matrix N/A N/A True N/A j N/A xrange num_instances N/A i N/A xrange num_hosts N/A instance_type N/A N/A N/A filter_properties get instance_type N/A N/A N/A instance_type N/A N/A constraint_matrix N/A N/A instance_vcpus N/A instance_type N/A vcpus N/A N/A instance_vcpus 0 N/A N/A N/A N/A LOG warn N/A _LW ExactVcpuConstraint is skipped because requested instance vCPU number is 0 or invalid. N/A constraint_matrix N/A i N/A xrange num_hosts N/A N/A N/A N/A N/A hosts N/A i vcpus_total N/A N/A N/A N/A LOG warn N/A _LW vCPUs of %(host)s not set; assuming CPU collection broken. N/A host N/A hosts N/A i N/A N/A constraint_matrix N/A i N/A False N/A j N/A xrange num_instances N/A N/A N/A usable_vcpus N/A N/A N/A hosts N/A i vcpus_total N/A N/A hosts N/A i vcpus_used N/A N/A instance_vcpus usable_vcpus N/A N/A N/A constraint_matrix N/A i N/A N/A True N/A False N/A j N/A xrange N/A num_instances 1 N/A N/A N/A constraint_matrix N/A i N/A False N/A j N/A xrange num_instances N/A N/A N/A LOG debug %(host)s does not have exactly %(requested_num)s vcpus, it has %(usable_num)s vcpus. N/A host requested_num usable_num N/A hosts N/A i instance_vcpus usable_vcpus N/A constraint_matrix N/A N/A