05a86b3d57
Add initial API reference, which covers all inspector endpoits. The conf.py and the tox environment are stolen from ironic. Co-Authored-By: Kaifeng Wang <kaifeng.w@gmail.com> Change-Id: I5009e8708dcad8ab25380f7bf574125d6e758ef5
114 lines
2.6 KiB
JSON
114 lines
2.6 KiB
JSON
{
|
|
"cpu_arch":"x86_64",
|
|
"macs":[
|
|
"52:54:00:4e:3d:30"
|
|
],
|
|
"root_disk":{
|
|
"rotational":true,
|
|
"vendor":"0x1af4",
|
|
"name":"/dev/vda",
|
|
"hctl":null,
|
|
"wwn_vendor_extension":null,
|
|
"wwn_with_extension":null,
|
|
"model":"",
|
|
"wwn":null,
|
|
"serial":null,
|
|
"size":13958643712
|
|
},
|
|
"interfaces":{
|
|
"eth0":{
|
|
"ip":"172.24.42.100",
|
|
"mac":"52:54:00:4e:3d:30",
|
|
"pxe":true,
|
|
"client_id":null
|
|
}
|
|
},
|
|
"cpus":2,
|
|
"boot_interface":"52:54:00:4e:3d:30",
|
|
"memory_mb":2048,
|
|
"ipmi_address":"192.167.2.134",
|
|
"inventory":{
|
|
"bmc_address":"192.167.2.134",
|
|
"interfaces":[
|
|
{
|
|
"lldp":null,
|
|
"product":"0x0001",
|
|
"vendor":"0x1af4",
|
|
"name":"eth1",
|
|
"has_carrier":true,
|
|
"switch_port_descr":null,
|
|
"switch_chassis_descr":null,
|
|
"ipv4_address":"172.24.42.101",
|
|
"client_id":null,
|
|
"mac_address":"52:54:00:47:20:4d"
|
|
},
|
|
{
|
|
"lldp":null,
|
|
"product":"0x0001",
|
|
"vendor":"0x1af4",
|
|
"name":"eth0",
|
|
"has_carrier":true,
|
|
"switch_port_descr":null,
|
|
"switch_chassis_descr":null,
|
|
"ipv4_address":"172.24.42.100",
|
|
"client_id":null,
|
|
"mac_address":"52:54:00:4e:3d:30"
|
|
}
|
|
],
|
|
"disks":[
|
|
{
|
|
"rotational":true,
|
|
"vendor":"0x1af4",
|
|
"name":"/dev/vda",
|
|
"hctl":null,
|
|
"wwn_vendor_extension":null,
|
|
"wwn_with_extension":null,
|
|
"model":"",
|
|
"wwn":null,
|
|
"serial":null,
|
|
"size":13958643712
|
|
}
|
|
],
|
|
"boot":{
|
|
"current_boot_mode":"bios",
|
|
"pxe_interface":"52:54:00:4e:3d:30"
|
|
},
|
|
"system_vendor":{
|
|
"serial_number":"Not Specified",
|
|
"product_name":"Bochs",
|
|
"manufacturer":"Bochs"
|
|
},
|
|
"memory":{
|
|
"physical_mb":2048,
|
|
"total":2105864192
|
|
},
|
|
"cpu":{
|
|
"count":2,
|
|
"frequency":"2100.084",
|
|
"flags": [
|
|
"fpu",
|
|
"mmx",
|
|
"fxsr",
|
|
"sse",
|
|
"sse2"
|
|
],
|
|
"architecture":"x86_64"
|
|
}
|
|
},
|
|
"error":null,
|
|
"local_gb":12,
|
|
"all_interfaces":{
|
|
"eth1":{
|
|
"ip":"172.24.42.101",
|
|
"mac":"52:54:00:47:20:4d",
|
|
"pxe":false,
|
|
"client_id":null
|
|
},
|
|
"eth0":{
|
|
"ip":"172.24.42.100",
|
|
"mac":"52:54:00:4e:3d:30",
|
|
"pxe":true,
|
|
"client_id":null
|
|
}
|
|
}
|
|
} |