
Nova currently lacks a straightforward way to expose scheduler hints associated with a server. This change extends existing Nova's API to allow users to retrieve this information when it is available. It adds a new API microversion to support returning the associated scheduler_hints in ``GET /servers/{server_id}``, `GET /servers/detail``, ``PUT /servers/{server_id}`` and ``POST /server/{server_id}/action`` (rebuild) responses. Implements: blueprint show-scheduler-hints-in-server-details Change-Id: If0070cfbc218e0515bf3b58fc8c5067ae22c7072
23 lines
677 B
JSON
23 lines
677 B
JSON
{
|
|
"server": {
|
|
"OS-DCF:diskConfig": "AUTO",
|
|
"adminPass": "6NpUwoz2QDRN",
|
|
"id": "f5dc173b-6804-445a-a6d8-c705dad5b5eb",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2/6f70656e737461636b20342065766572/servers/f5dc173b-6804-445a-a6d8-c705dad5b5eb",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/servers/f5dc173b-6804-445a-a6d8-c705dad5b5eb",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"security_groups": [
|
|
{
|
|
"name": "default"
|
|
}
|
|
]
|
|
}
|
|
}
|