On-demand Generate PCI Device Pools¶

Registered by John Garbutt on 2015-12-04

This proposal is to generate PCI device pool information on-the-fly instead of storing the summary pool information in the database.

Blueprint information

Status:
Started
Approver:
John Garbutt
Priority:
Medium
Drafter:
John Garbutt
Direction:
Needs approval
Assignee:
Dmitry Stepanenko
Definition:
Pending Approval
Series goal:
None
Implementation:
Started
Milestone target:
None
Started by
Matt Riedemann on 2015-12-10

Related branches

Sprints

Whiteboard

This BP replaces: https://blueprints.launchpad.net/nova/+spec/pci-generate-stats

Gerrit topic: https://review.openstack.org/#q,topic:bp/pci-generate-stats,n,z

Gerrit topic: https://review.openstack.org/#q,topic:pci-stats-generate,n,z

Gerrit topic: https://review.openstack.org/#q,topic:bp/pci-stats-generate,n,z

Addressed by: https://review.openstack.org/242087
    Added support_requests method to PciDevicePoolList

Addressed by: https://review.openstack.org/243131
    Go away from using PciDeviceStats consume_requests

Addressed by: https://review.openstack.org/247692
    Add PciDevicePoolList.get_by_compute_node method

Addressed by: https://review.openstack.org/250757
    Add PciDevicePoolList.get_all method

Addressed by: https://review.openstack.org/258417
    Switch HostState to use pci device pools

Addressed by: https://review.openstack.org/260023
    Change HostManager to load pci_dev_pools from db

Addressed by: https://review.openstack.org/262240
    Remove pci stats module entirely

Addressed by: https://review.openstack.org/285865
    Fix _test_pci() to NOT actually claim device

Lets defer this to newton, there are issues, and its only just go review eyes --johnthetubaguy 2nd March 2016

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.