Module Import alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias identifier ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Dict Str Str Num ListLoad Dict Str Str Assign AttributeStore NameLoad attr Dict Str Str Str NameLoad ListComp BinOpMod Str NameLoad comprehension NameStore Call NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr Str Str Dict Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str Dict Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str Dict Str Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr BinOpAdd BinOpAdd ListLoad NameLoad NameLoad ListLoad NameLoad ListLoad NameLoad NameLoad NameLoad Assign NameStore ListLoad ListLoad NameLoad NameLoad ListLoad NameLoad NameLoad ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str decorator_list
N/A N/A mock nova.pci stats pci_stats nova test nova_solverscheduler.scheduler.solvers.constraints pci_passthrough_constraint nova_solverscheduler.tests.scheduler solver_scheduler_fakes fakes TestPciPassthroughConstraint N/A N/A test NoDBTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestPciPassthroughConstraint self setUp N/A N/A self constraint_cls N/A pci_passthrough_constraint PciPassthroughConstraint N/A N/A N/A self _generate_fake_constraint_input N/A _generate_fake_constraint_input N/A N/A self N/A N/A N/A requests N/A N/A count spec 1 N/A N/A vendor_id 8086 N/A N/A self fake_filter_properties N/A pci_requests instance_uuids num_instances requests N/A N/A fake_uuid_%s x N/A x N/A range 2 2 N/A host1 N/A N/A fakes FakeSolverSchedulerHostState host1 node1 N/A pci_stats N/A N/A pci_stats PciDeviceStats N/A host2 N/A N/A fakes FakeSolverSchedulerHostState host2 node1 N/A pci_stats N/A N/A pci_stats PciDeviceStats N/A host3 N/A N/A fakes FakeSolverSchedulerHostState host3 node1 N/A pci_stats N/A N/A pci_stats PciDeviceStats N/A N/A self fake_hosts N/A host1 host2 host3 N/A test_get_constraint_matrix N/A N/A self apl_reqs spt_reqs N/A N/A N/A N/A spt_reqs side_effect N/A N/A N/A True False N/A False N/A True True False N/A expected_cons_mat N/A N/A True False N/A False False N/A True True N/A cons_mat N/A N/A N/A N/A self constraint_cls get_constraint_matrix N/A self fake_hosts N/A self fake_filter_properties N/A N/A N/A self assertEqual expected_cons_mat cons_mat N/A N/A N/A mock patch nova.pci.stats.PciDeviceStats.support_requests N/A N/A mock patch nova.pci.stats.PciDeviceStats.apply_requests N/A