4d8c9a9040
All pci passthrough code is merged into nova, but the APIs are not supported. This patch provides a resource: endpoint to show PCI information. This is a part of PCI APIs, for more information see the blueprint. Partially implement blueprint pci-api-support Change-Id: I05c502cb7564b8b71f12d8f06249124b3d2b370f
20 lines
461 B
JSON
20 lines
461 B
JSON
{
|
|
"pci_devices": [
|
|
{
|
|
"address": "0000:04:10.0",
|
|
"compute_node_id": 1,
|
|
"id": 1,
|
|
"product_id": "1520",
|
|
"status": "available",
|
|
"vendor_id": "8086"
|
|
},
|
|
{
|
|
"address": "0000:04:10.1",
|
|
"compute_node_id": 1,
|
|
"id": 2,
|
|
"product_id": "1520",
|
|
"status": "available",
|
|
"vendor_id": "8086"
|
|
}
|
|
]
|
|
} |