Browse Source

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 <teresa.ho@windriver.com>
changes/71/789571/1
Teresa Ho 2 months ago
parent
commit
c9df464849
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      sysinv/sysinv/sysinv/sysinv/fpga_agent/manager.py

+ 2
- 0
sysinv/sysinv/sysinv/sysinv/fpga_agent/manager.py View File

@ -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}


Loading…
Cancel
Save