'Load devices from driver and filter if needed.
@param exclude_devices: excluded devices mapping device_name: pci slots'

def _load_devices(self, exclude_devices):

    scanned_pci_list = PciOsWrapper.scan_vf_devices(self.dev_name)
    for (pci_slot, vf_index) in scanned_pci_list:
        if (pci_slot not in exclude_devices):
            self.pci_slot_map[pci_slot] = vf_index
