59d6a712a0
1. Return briefly info of node after composed node 2. Fixed hardcode fields in node details, like ip addr, mac, etc. Added more fields according to valence api spec. Change-Id: I9291b1245895fd7693f5e960559e9f29a314b712 Closes-Bug: #1636826
33 lines
898 B
JSON
33 lines
898 B
JSON
{
|
|
"uuid" : "4d8c3732-a248-40ed-bebc-539a6ffd25c0",
|
|
"node_power_state" : "Off",
|
|
"node_state" : "Allocated",
|
|
"boot_source" : "Hdd",
|
|
"target_boot_source": "Pxe",
|
|
"health_status" : "ok",
|
|
"name" : "Server-1",
|
|
"description": "Description for this node",
|
|
"pooled_group_id" : "11z23344-0099-7766-5544-33225511",
|
|
"metadata" : {
|
|
"system_nic" : [
|
|
{"mac" : "f1:12:44:55:66:77"},
|
|
{"mac" : "f2:44:44:44:44:88"}
|
|
],
|
|
"mgmt_mac" : "00:AA:BB:CC:DD:EE",
|
|
"system_serialno" : "2M220100SL"
|
|
},
|
|
"url_id" : "node1",
|
|
"created_at" : "2016-04-20T15:40:00+00:00",
|
|
"updated_at" : "2016-04-20T15:40:00+00:00",
|
|
"links": [
|
|
{
|
|
"rel" : "self",
|
|
"href" : "https://127.0.0.1/v1/nodes/4d8c3732-a248-40ed-bebc-539a6ffd25c0"
|
|
},
|
|
{
|
|
"rel" : "boomark",
|
|
"href" : "https://127.0.0.1/nodes/4d8c3732-a248-40ed-bebc-539a6ffd25c0"
|
|
}
|
|
]
|
|
}
|