ironic/api-ref/source/samples/node-inventory-response.json
Jakub Jelinek 2e80ea9099 API for node inventory
Add api to access node inventory

Story: 2010275
Task: 46204
Change-Id: If50f665da5fbb16f7646f3d6195a6e14e7325b0a
2023-01-12 15:09:18 +00:00

32 lines
622 B
JSON

{
"inventory": {
"interfaces":[
{
"name":"eth0",
"mac_address":"52:54:00:90:35:d6",
"ipv4_address":"192.168.122.128",
"ipv6_address":"fe80::5054:ff:fe90:35d6%eth0",
"has_carrier":true,
"lldp":null,
"vendor":"0x1af4",
"product":"0x0001"
}
],
"cpu":{
"model_name":"QEMU Virtual CPU version 2.5+",
"frequency":null,
"count":1,
"architecture":"x86_64"
}
},
"plugin_data":{
"macs":[
"52:54:00:90:35:d6"
],
"local_gb":10,
"cpus":1,
"cpu_arch":"x86_64",
"memory_mb":2048
}
}