28a399a13c
This commit does several things, which were just easier to do together. - Adds a new "misc" page describing the /v1/lookup and /v1/heartbeat resources. - Adds descriptions of the node.resource_class and node.network_interface fields that were introduced into the API but not into the documentation. - Introduces a new script, api-ref/regenerate-samples.sh, which can be used with Ironic to automate the generation of most of the sample files used in the api-ref documententation. - Corrects several errors in the sample JSON files that rendered errors when using them with curl for POST, PUT, or PATCH. - Uses the aforementioned regenerate-samples.sh script to regenerate most of the JSON result samples, ensuring that they are all up to date with the v1.22 API microversion. - Removes a few old/incorrect "Error Code" listings. - Updates the index page to remove extraneous wording. Change-Id: I764cbb43be15f05ba681de6ce1be1ae7c022173d
109 lines
2.4 KiB
JSON
109 lines
2.4 KiB
JSON
{
|
|
"drivers": [
|
|
{
|
|
"hosts": [
|
|
"897ab1dad809"
|
|
],
|
|
"links": [
|
|
{
|
|
"href": "http://127.0.0.1:6385/v1/drivers/agent_ssh",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://127.0.0.1:6385/drivers/agent_ssh",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"name": "agent_ssh",
|
|
"properties": [
|
|
{
|
|
"href": "http://127.0.0.1:6385/v1/drivers/agent_ssh/properties",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://127.0.0.1:6385/drivers/agent_ssh/properties",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hosts": [
|
|
"897ab1dad809"
|
|
],
|
|
"links": [
|
|
{
|
|
"href": "http://127.0.0.1:6385/v1/drivers/pxe_ipmitool",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://127.0.0.1:6385/drivers/pxe_ipmitool",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"name": "pxe_ipmitool",
|
|
"properties": [
|
|
{
|
|
"href": "http://127.0.0.1:6385/v1/drivers/pxe_ipmitool/properties",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://127.0.0.1:6385/drivers/pxe_ipmitool/properties",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hosts": [
|
|
"897ab1dad809"
|
|
],
|
|
"links": [
|
|
{
|
|
"href": "http://127.0.0.1:6385/v1/drivers/agent_ipmitool",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://127.0.0.1:6385/drivers/agent_ipmitool",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"name": "agent_ipmitool",
|
|
"properties": [
|
|
{
|
|
"href": "http://127.0.0.1:6385/v1/drivers/agent_ipmitool/properties",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://127.0.0.1:6385/drivers/agent_ipmitool/properties",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hosts": [
|
|
"897ab1dad809"
|
|
],
|
|
"links": [
|
|
{
|
|
"href": "http://127.0.0.1:6385/v1/drivers/fake",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://127.0.0.1:6385/drivers/fake",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"name": "fake",
|
|
"properties": [
|
|
{
|
|
"href": "http://127.0.0.1:6385/v1/drivers/fake/properties",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://127.0.0.1:6385/drivers/fake/properties",
|
|
"rel": "bookmark"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|