
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
26 lines
669 B
JSON
26 lines
669 B
JSON
{
|
|
"version": {
|
|
"id": "v2.1",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2.1/",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://docs.openstack.org/",
|
|
"rel": "describedby",
|
|
"type": "text/html"
|
|
}
|
|
],
|
|
"media-types": [
|
|
{
|
|
"base": "application/json",
|
|
"type": "application/vnd.openstack.compute+json;version=2.1"
|
|
}
|
|
],
|
|
"status": "CURRENT",
|
|
"version": "2.100",
|
|
"min_version": "2.1",
|
|
"updated": "2013-07-23T11:33:21Z"
|
|
}
|
|
} |