05d85dd8bb
This patch adds these storage interface fields to api-ref: - storage_interface of Node - default_storage_interface of Driver - enabled_storage_interfaces of Driver These fields were introdeced with API version 1.33. Change-Id: Iac73d7ae4976dfd437b9821a2221dd842be24b55 Partial-Bug: #1559691
193 lines
5.7 KiB
JSON
193 lines
5.7 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"
|
|
}
|
|
],
|
|
"storage_interface": "noop",
|
|
"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,
|
|
"volume": [
|
|
{
|
|
"href": "http://127.0.0.1:6385/v1/nodes/6d85703a-565d-469a-96ce-30b6de53079d/volume",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://127.0.0.1:6385/nodes/6d85703a-565d-469a-96ce-30b6de53079d/volume",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"storage_interface": "noop",
|
|
"target_power_state": null,
|
|
"target_provision_state": null,
|
|
"target_raid_config": {},
|
|
"updated_at": null,
|
|
"uuid": "2b045129-a906-46af-bc1a-092b294b3428",
|
|
"vendor_interface": "no-vendor",
|
|
"volume": [
|
|
{
|
|
"href": "http://127.0.0.1:6385/v1/nodes/2b045129-a906-46af-bc1a-092b294b3428/volume",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://127.0.0.1:6385/nodes/2b045129-a906-46af-bc1a-092b294b3428/volume",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|