nova/releasenotes/notes/pci-vpd-capability-0d8039629db4afb8.yaml
Dmitrii Shcherbakov ab49f97b2c [yoga] Add PCI VPD Capability Handling
This change comes as a part of the "Off-path Networking Backends
Support" spec implementation.

https://review.opendev.org/c/openstack/nova-specs/+/787458

* Add VPD capability parsing support
  * The XML data from libvirt is parsed and formatted into PCI device
    JSON dict that is sent to Nova API and is stored in the extra_info
    column of a PciDevice.

    The code gracefully handles the lack of the capability since it is
    optional or Libvirt may not support it in a particular release.
    https://libvirt.org/news.html#v7-9-0-2021-11-01 (VPD capability
    was added in 7.9.0).
* Pass the serial number to Neutron in port updates
  If a card serial number is present based on the information from PCI
  VPD, pass it to Neutron along with other PCI-related information.

Change-Id: I6445433142286728a8c7efadcf80d07082d60bc3
Implements: blueprint integration-with-off-path-network-backends
2022-02-01 17:31:04 +03:00

21 lines
784 B
YAML

---
features:
- |
Add VPD capability parsing support when a PCI VPD capability is exposed
via node device XML in Libvirt. The XML data from Libvirt is parsed and
formatted into PCI device JSON dict that is sent to Nova API and is stored
in the extra_info column of a PciDevice.
The code gracefully handles the lack of the capability since it is optional
or Libvirt may not support it in a particular release.
A serial number is extracted from PCI VPD of network devices (if present)
and is sent to Neutron in port updates.
Libvirt supports parsing the VPD capability from PCI/PCIe devices and
exposing it via nodedev XML as of 7.9.0.
- https://libvirt.org/news.html#v7-9-0-2021-11-01
- https://libvirt.org/drvnodedev.html#VPDCap