From c9df464849cfe9f6ee769d1682f0968a7aa7af6f Mon Sep 17 00:00:00 2001 From: Teresa Ho Date: Tue, 4 May 2021 09:15:28 -0400 Subject: [PATCH] Fix missing sriov attributes in N3000 pci info The fpga-agent did not include all of the sriov attributes in the reporting of N3000 pci device info to the conductor resulting in fields being overwritten. This update ensures that the attributes sriov_vf_driver and sriov_vf_pdevice_id are copied. Closes-Bug: 1925513 Change-Id: I891166b1a0966b3bd9bfe253f954ff22f7ea8677 Signed-off-by: Teresa Ho --- sysinv/sysinv/sysinv/sysinv/fpga_agent/manager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sysinv/sysinv/sysinv/sysinv/fpga_agent/manager.py b/sysinv/sysinv/sysinv/sysinv/fpga_agent/manager.py index e8c1966b6a..2acf7e42df 100644 --- a/sysinv/sysinv/sysinv/sysinv/fpga_agent/manager.py +++ b/sysinv/sysinv/sysinv/sysinv/fpga_agent/manager.py @@ -354,6 +354,8 @@ def get_n3000_pci_info(): 'sriov_totalvfs': dev.sriov_totalvfs, 'sriov_numvfs': dev.sriov_numvfs, 'sriov_vfs_pci_address': dev.sriov_vfs_pci_address, + 'sriov_vf_driver': dev.sriov_vf_driver, + 'sriov_vf_pdevice_id': dev.sriov_vf_pdevice_id, 'driver': dev.driver, 'enabled': dev.enabled, 'extra_info': dev.extra_info}