Display PCI stats in Horizon per Compute as we do CPU/Memory

Registered by Souvik Dey

Summary
=======
Display PCI Resource history in Horizon

Motivation
========
As more Accelerated device support is given to OpenStack it is tough to maintain and plan without the resource utilization info on Horizon. All the devices are taken as Pci Passthrough devices but there is currently no way to check on teh resource utilization of the same.

Description
=========
This blueprint talks about showing the Pci resource stats along with cpu/memory stats that are shown on the Horizon admin/hypervisor tab.
With more Accelerated Device support coming in Openstack like GPU,FPGA,QAT, SR-IOV, we should have a way to display the current usage details in the Horizon. Currently all the above are detected as pci devices but there is no way to check on the status of each apart from going in each Compute and checking nova-compute.log. This is not robust and hampers in planning of the instances. Also there is no aggregate view of all the available PCI devices in the datacenter which can be used to plan the instances better.

Proposed Change
===============

The change will affect the navaclient and nova api of getting hypervisor stats and also Horizon to display the stats properly.

UX
===
There should be support on the Horizon to display Pci Stats per Hypervisor.

Testing
======
To be planned.

Outside Dependencies
==================

To be analyzed.

Requirements Update Required
========================
Yes, we need to update the requirements one more formal discussion are started on this.

Doc Impact
=========
Only documnet that Pci stats are displayed giving the current free count.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Souvik Dey
Direction:
Needs approval
Assignee:
Souvik Dey
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

[yingzuo - 2017-10-31] Please provide more information for the implementation using this template: https://blueprints.launchpad.net/horizon/+spec/template

[amotoki - Feb 17, 2018] Can all information you planned to show in horizon be retrieved from Nova API? I would like to know which compute API is used and which fields are used.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.