
This is a follow up to 9e770e6213
, which
missed the change in a duplicate copy of host_status.
Add regression test to test_virt_drivers.
This requires changes to the API samples, because they were wrong. virt
drivers use convert_version_to_int which converts a version string to a
4 digit number ("1.0" becomes to 1000)
Change-Id: I28ce23509e3c9feae183a49a8fc5bf3c7c601295
Closes-Bug: #1285035
27 lines
706 B
JSON
27 lines
706 B
JSON
{
|
|
"hypervisors": [
|
|
{
|
|
"cpu_info": "?",
|
|
"current_workload": 0,
|
|
"disk_available_least": null,
|
|
"free_disk_gb": 1028,
|
|
"free_ram_mb": 7680,
|
|
"hypervisor_hostname": "fake-mini",
|
|
"hypervisor_type": "fake",
|
|
"hypervisor_version": 1000,
|
|
"id": 1,
|
|
"local_gb": 1028,
|
|
"local_gb_used": 0,
|
|
"memory_mb": 8192,
|
|
"memory_mb_used": 512,
|
|
"running_vms": 0,
|
|
"service": {
|
|
"host": "1e0d7892083548cfb347e782d3b20342",
|
|
"id": 2
|
|
},
|
|
"vcpus": 1,
|
|
"vcpus_used": 0
|
|
}
|
|
]
|
|
}
|