b01676c418
In a future change, the use of 'hw:cpu_policy' will require a host to report PCPU inventory. Rather than modify the fake driver used in these tests to report such inventory, just use a different extra spec, 'hw:numa_nodes'. This has the added bonus of being supported by both the libvirt and Hyper-V virt drivers, unlike 'hw:cpu_policy' and 'hw:mem_page_size', which are only supported by the libvirt virt driver. Change-Id: Id203dc07f08557b1b094ec72e1df3493ec9524b1 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
69 lines
2.1 KiB
JSON
69 lines
2.1 KiB
JSON
{
|
|
"server": {
|
|
"OS-DCF:diskConfig": "AUTO",
|
|
"accessIPv4": "1.2.3.4",
|
|
"accessIPv6": "80fe::",
|
|
"addresses": {
|
|
"private": [
|
|
{
|
|
"addr": "192.168.0.3",
|
|
"version": 4
|
|
}
|
|
]
|
|
},
|
|
"adminPass": "seekr3t",
|
|
"created": "2017-10-10T16:06:02Z",
|
|
"flavor": {
|
|
"disk": 1,
|
|
"ephemeral": 0,
|
|
"extra_specs": {
|
|
"hw:numa_nodes": "1"
|
|
},
|
|
"original_name": "m1.tiny.specs",
|
|
"ram": 512,
|
|
"swap": 0,
|
|
"vcpus": 1
|
|
},
|
|
"hostId": "28d8d56f0e3a77e20891f455721cbb68032e017045e20aa5dfc6cb66",
|
|
"id": "a0a80a94-3d81-4a10-822a-daa0cf9e870b",
|
|
"image": {
|
|
"id": "70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2.1/6f70656e737461636b20342065766572/servers/a4baaf2a-3768-4e45-8847-13becef6bc5e",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/servers/a4baaf2a-3768-4e45-8847-13becef6bc5e",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"locked": false,
|
|
"metadata": {
|
|
"meta_var": "meta_val"
|
|
},
|
|
"name": "foobar",
|
|
"key_name": "new-key",
|
|
"description" : "description of foobar",
|
|
"progress": 0,
|
|
"status": "ACTIVE",
|
|
"tags": [],
|
|
"user_data": "ZWNobyAiaGVsbG8gd29ybGQi",
|
|
"tenant_id": "6f70656e737461636b20342065766572",
|
|
"trusted_image_certificates": [
|
|
"0b5d2c72-12cc-4ba6-a8d7-3ff5cc1d8cb8",
|
|
"674736e3-f25c-405c-8362-bbf991e0ce0a"
|
|
],
|
|
"updated": "2017-10-10T16:06:03Z",
|
|
"user_id": "fake"
|
|
}
|
|
}
|
|
|