a944838993
Before this patch, VM diagnostics response was just a 'blob' of data returned by each hypervisor. New API version makes diagnostics response standardized. New response has a set of fields which each hypervisor will try to fill. If hypervisor unable to provide a specific field then this field will be reported as 'None'. Tempest tests: I7757c5beeea3d3b0bc15a51cafc5ea2ada65e76c DocImpact: admin guide docs should be updated to mention standardized version of the diagnostics response blueprint: restore-vm-diagnostics Change-Id: If0b1493cc5c1c7f0d9896dd68342ad4dea4f7da2
47 lines
1.0 KiB
JSON
47 lines
1.0 KiB
JSON
{
|
|
"config_drive": true,
|
|
"cpu_details": [
|
|
{
|
|
"id": 0,
|
|
"time": 17300000000,
|
|
"utilisation": 15
|
|
}
|
|
],
|
|
"disk_details": [
|
|
{
|
|
"errors_count": 1,
|
|
"read_bytes": 262144,
|
|
"read_requests": 112,
|
|
"write_bytes": 5778432,
|
|
"write_requests": 488
|
|
}
|
|
],
|
|
"driver": "libvirt",
|
|
"hypervisor": "kvm",
|
|
"hypervisor_os": "ubuntu",
|
|
"memory_details": {
|
|
"maximum": 524288,
|
|
"used": 0
|
|
},
|
|
"nic_details": [
|
|
{
|
|
"mac_address": "01:23:45:67:89:ab",
|
|
"rx_drop": 200,
|
|
"rx_errors": 100,
|
|
"rx_octets": 2070139,
|
|
"rx_packets": 26701,
|
|
"rx_rate": 300,
|
|
"tx_drop": 500,
|
|
"tx_errors": 400,
|
|
"tx_octets": 140208,
|
|
"tx_packets": 662,
|
|
"tx_rate": 600
|
|
}
|
|
],
|
|
"num_cpus": 1,
|
|
"num_disks": 1,
|
|
"num_nics": 1,
|
|
"state": "running",
|
|
"uptime": 46664
|
|
}
|