d33faedbac
Updates reference for drivers API as well as nodes API to match the merged driver composition reform work. Change-Id: I89a7b1998a858d5c39f21c6653893aa8d7ad15bd Partial-Bug: 1524745
171 lines
5.0 KiB
JSON
171 lines
5.0 KiB
JSON
{
|
|
"nodes": [
|
|
{
|
|
"boot_interface": null,
|
|
"chassis_uuid": null,
|
|
"clean_step": {},
|
|
"console_enabled": false,
|
|
"console_interface": null,
|
|
"created_at": "2016-08-18T22:28:48.643434+11:11",
|
|
"deploy_interface": null,
|
|
"driver": "fake",
|
|
"driver_info": {
|
|
"ipmi_password": "******",
|
|
"ipmi_username": "ADMIN"
|
|
},
|
|
"driver_internal_info": {
|
|
"clean_steps": null
|
|
},
|
|
"extra": {},
|
|
"inspect_interface": null,
|
|
"inspection_finished_at": null,
|
|
"inspection_started_at": null,
|
|
"instance_info": {},
|
|
"instance_uuid": null,
|
|
"last_error": null,
|
|
"links": [
|
|
{
|
|
"href": "http://127.0.0.1:6385/v1/nodes/6d85703a-565d-469a-96ce-30b6de53079d",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://127.0.0.1:6385/nodes/6d85703a-565d-469a-96ce-30b6de53079d",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"maintenance": false,
|
|
"maintenance_reason": null,
|
|
"management_interface": null,
|
|
"name": "test_node_classic",
|
|
"network_interface": "flat",
|
|
"portgroups": [
|
|
{
|
|
"href": "http://127.0.0.1:6385/v1/nodes/6d85703a-565d-469a-96ce-30b6de53079d/portgroups",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://127.0.0.1:6385/nodes/6d85703a-565d-469a-96ce-30b6de53079d/portgroups",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"ports": [
|
|
{
|
|
"href": "http://127.0.0.1:6385/v1/nodes/6d85703a-565d-469a-96ce-30b6de53079d/ports",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://127.0.0.1:6385/nodes/6d85703a-565d-469a-96ce-30b6de53079d/ports",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"power_interface": null,
|
|
"power_state": "power off",
|
|
"properties": {},
|
|
"provision_state": "available",
|
|
"provision_updated_at": "2016-08-18T22:28:49.946416+00:00",
|
|
"raid_config": {},
|
|
"raid_interface": null,
|
|
"reservation": null,
|
|
"resource_class": null,
|
|
"states": [
|
|
{
|
|
"href": "http://127.0.0.1:6385/v1/nodes/6d85703a-565d-469a-96ce-30b6de53079d/states",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://127.0.0.1:6385/nodes/6d85703a-565d-469a-96ce-30b6de53079d/states",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"target_power_state": null,
|
|
"target_provision_state": null,
|
|
"target_raid_config": {},
|
|
"updated_at": "2016-08-18T22:28:49.653974+00:00",
|
|
"uuid": "6d85703a-565d-469a-96ce-30b6de53079d",
|
|
"vendor_interface": null
|
|
},
|
|
{
|
|
"boot_interface": "pxe",
|
|
"chassis_uuid": null,
|
|
"clean_step": {},
|
|
"console_enabled": false,
|
|
"console_interface": "no-console",
|
|
"created_at": "2016-08-18T22:28:48.643434+11:11",
|
|
"deploy_interface": "iscsi",
|
|
"driver": "ipmi",
|
|
"driver_info": {
|
|
"ipmi_password": "******",
|
|
"ipmi_username": "ADMIN"
|
|
},
|
|
"driver_internal_info": {},
|
|
"extra": {},
|
|
"inspect_interface": "no-inspect",
|
|
"inspection_finished_at": null,
|
|
"inspection_started_at": null,
|
|
"instance_info": {},
|
|
"instance_uuid": null,
|
|
"last_error": null,
|
|
"links": [
|
|
{
|
|
"href": "http://127.0.0.1:6385/v1/nodes/2b045129-a906-46af-bc1a-092b294b3428",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://127.0.0.1:6385/nodes/2b045129-a906-46af-bc1a-092b294b3428",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"maintenance": false,
|
|
"maintenance_reason": null,
|
|
"management_interface": "ipmitool",
|
|
"name": "test_node_dynamic",
|
|
"network_interface": "flat",
|
|
"portgroups": [
|
|
{
|
|
"href": "http://127.0.0.1:6385/v1/nodes/2b045129-a906-46af-bc1a-092b294b3428/portgroups",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://127.0.0.1:6385/nodes/2b045129-a906-46af-bc1a-092b294b3428/portgroups",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"ports": [
|
|
{
|
|
"href": "http://127.0.0.1:6385/v1/nodes/2b045129-a906-46af-bc1a-092b294b3428/ports",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://127.0.0.1:6385/nodes/2b045129-a906-46af-bc1a-092b294b3428/ports",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"power_interface": "ipmitool",
|
|
"power_state": null,
|
|
"properties": {},
|
|
"provision_state": "enroll",
|
|
"provision_updated_at": null,
|
|
"raid_config": {},
|
|
"raid_interface": "no-raid",
|
|
"reservation": null,
|
|
"resource_class": null,
|
|
"states": [
|
|
{
|
|
"href": "http://127.0.0.1:6385/v1/nodes/2b045129-a906-46af-bc1a-092b294b3428/states",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://127.0.0.1:6385/nodes/2b045129-a906-46af-bc1a-092b294b3428/states",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"target_power_state": null,
|
|
"target_provision_state": null,
|
|
"target_raid_config": {},
|
|
"updated_at": null,
|
|
"uuid": "2b045129-a906-46af-bc1a-092b294b3428",
|
|
"vendor_interface": "no-vendor"
|
|
}
|
|
]
|
|
}
|