'Get assigned Virtual Functions mac and pci slot
information and populates vf_to_pci_slot mappings
@return: list of VF pair (mac address, pci slot)'

def get_assigned_devices_info(self):

    vf_to_pci_slot_mapping = {}
    assigned_devices_info = []
    ls = self.pci_dev_wrapper.link_show()
    for (pci_slot, vf_index) in self.pci_slot_map.items():
        if (not PciOsWrapper.is_assigned_vf(self.dev_name, vf_index, ls)):
            continue
        vf_to_pci_slot_mapping[vf_index] = pci_slot
    if vf_to_pci_slot_mapping:
        vf_to_mac_mapping = self.pci_dev_wrapper.get_assigned_macs(list(vf_to_pci_slot_mapping.keys()))
        for (vf_index, mac) in vf_to_mac_mapping.items():
            pci_slot = vf_to_pci_slot_mapping[vf_index]
            assigned_devices_info.append((mac, pci_slot))
    return assigned_devices_info
