
All pci passthrough code is merged into nova, but the API does not support. this patch extends the servers to show PCI information for instance and compute node. This is a part of PCI APIs, for more information see the blueprint. Partially implement blueprint pci-api-support Change-Id: I99eeeca67983c49433ab0079f490a454d250f5e0
81 lines
2.6 KiB
JSON
81 lines
2.6 KiB
JSON
{
|
|
"server": {
|
|
"addresses": {
|
|
"private": [
|
|
{
|
|
"addr": "192.168.0.3",
|
|
"mac_addr": "aa:bb:cc:dd:ee:ff",
|
|
"type": "fixed",
|
|
"version": 4
|
|
}
|
|
]
|
|
},
|
|
"created": "2013-09-23T13:37:00Z",
|
|
"flavor": {
|
|
"id": "1",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/flavors/1",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
"host_id": "9cc36101a27c2a69c1a18241f6228454d9d7f466bd90c62db8e8b856",
|
|
"id": "f474386b-4fb6-4e1f-b1d5-d6bf4437f7d5",
|
|
"image": {
|
|
"id": "70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"links": [
|
|
{
|
|
"href": "http://glance.openstack.example.com/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
"key_name": null,
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v3/servers/f474386b-4fb6-4e1f-b1d5-d6bf4437f7d5",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/servers/f474386b-4fb6-4e1f-b1d5-d6bf4437f7d5",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"metadata": {
|
|
"My Server Name": "Apache1"
|
|
},
|
|
"name": "new-server-test",
|
|
"os-access-ips:access_ip_v4": "",
|
|
"os-access-ips:access_ip_v6": "",
|
|
"os-config-drive:config_drive": "",
|
|
"os-disk-config:disk_config": "AUTO",
|
|
"os-extended-availability-zone:availability_zone": "nova",
|
|
"os-extended-server-attributes:host": "b8b357f7100d4391828f2177c922ef93",
|
|
"os-extended-server-attributes:hypervisor_hostname": "fake-mini",
|
|
"os-extended-server-attributes:instance_name": "instance-00000001",
|
|
"os-extended-status:locked_by": null,
|
|
"os-extended-status:power_state": 1,
|
|
"os-extended-status:task_state": null,
|
|
"os-extended-status:vm_state": "active",
|
|
"os-extended-volumes:volumes_attached": [],
|
|
"os-pci:pci_devices": [
|
|
{
|
|
"id": 1
|
|
}
|
|
],
|
|
"os-server-usage:launched_at": "2013-09-23T13:37:00.880302",
|
|
"os-server-usage:terminated_at": null,
|
|
"progress": 0,
|
|
"security_groups": [
|
|
{
|
|
"name": "default"
|
|
}
|
|
],
|
|
"status": "ACTIVE",
|
|
"tenant_id": "openstack",
|
|
"updated": "2013-10-31T07:31:30Z",
|
|
"user_id": "fake"
|
|
}
|
|
}
|