def _generate_fake_constraint_input(self):
        requests = [{'count': 1, 'spec': [{'vendor_id': '8086'}]}]
        self.fake_filter_properties = {
                'pci_requests': requests,
                'instance_uuids': ['fake_uuid_%s' % x for x in range(2)],
                'num_instances': 2}
        host1 = fakes.FakeSolverSchedulerHostState('host1', 'node1',
                {'pci_stats': pci_stats.PciDeviceStats()})
        host2 = fakes.FakeSolverSchedulerHostState('host2', 'node1',
                {'pci_stats': pci_stats.PciDeviceStats()})
        host3 = fakes.FakeSolverSchedulerHostState('host3', 'node1',
                {'pci_stats': pci_stats.PciDeviceStats()})
        self.fake_hosts = [host1, host2, host3]
dataset/ETHPy150Open openstack/nova-solver-scheduler/nova_solverscheduler/tests/scheduler/solvers/constraints/test_pci_passthrough_constraint.py/TestPciPassthroughConstraint._generate_fake_constraint_input/original