driver properties not discoverable in REST API
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Ironic |
Fix Released
|
High
|
Anusha | ||
Bug Description
Drivers expose their required properties via the REST endpoint "/v1/drivers/
However, this is not discoverable via the API today.
curl -H "X-OpenStack-
{
"drivers" : [
{
"hosts" : [
"Leni"
],
"links" : [
{
},
{
}
],
"name" : "pxe_amt"
},
....
curl -H "X-OpenStack-
{
"hosts" : [
"Leni"
],
"name" : "pxe_ssh",
"links" : [
{
"href" : "http://
"rel" : "self"
},
{
"href" : "http://
"rel" : "bookmark"
}
]
}
curl -H "X-OpenStack-
{
"deploy_kernel" : "UUID (from Glance) of the deployment kernel. Required.",
"ssh_port" : "port on the node to connect to; default is 22. Optional.",
"ssh_address" : "IP address or hostname of the node to ssh into. Required.",
"deploy_ramdisk" : "UUID (from Glance) of the ramdisk that is mounted at boot time. Required.",
"ssh_
"ssh_virt_type" : "virtualization software to use; one of vbox, virsh, vmware, parallels. Required.",
"ssh_password" : "password to use for authentication or for unlocking a private key. One of this, ssh_key_contents, or ssh_key_filename must be specified.",
"ssh_
"ssh_username" : "username to authenticate as. Required."
}
| Changed in ironic: | |
| status: | New → Confirmed |
| importance: | Undecided → High |
| tags: | added: api |
| Changed in ironic: | |
| assignee: | nobody → Anusha (anusha-iiitm) |
| Changed in ironic: | |
| milestone: | none → 4.2.0 |
| Changed in ironic: | |
| assignee: | Anusha (anusha-iiitm) → Lucas Alvares Gomes (lucasagomes) |
| Changed in ironic: | |
| assignee: | Lucas Alvares Gomes (lucasagomes) → Anusha (anusha-iiitm) |
| Changed in ironic: | |
| status: | Fix Committed → Fix Released |

Fix proposed to branch: master /review. openstack. org/203921
Review: https:/