2e80ea9099
Add api to access node inventory Story: 2010275 Task: 46204 Change-Id: If50f665da5fbb16f7646f3d6195a6e14e7325b0a
32 lines
622 B
JSON
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
|
|
}
|
|
}
|