![Yikun Jiang](/assets/img/avatar_default.png)
This patch adds a new microversion to ``GET /servers/{server_id}/os-instance-actions/{req_id}`` API to include the ``host`` field for admin and an ``hostId`` for all users by default. And the display of newly added ``host`` field will be controlled by the same policy as the ``traceback`` field. The newly added fields can be used to determine on which host a given action event occurred. Part of blueprint: add-host-to-instance-action-events Change-Id: I2f8b4a12a088b9ed96b428eafde2e0c478fb1db5
14 lines
458 B
JSON
14 lines
458 B
JSON
{
|
|
"instanceActions": [
|
|
{
|
|
"action": "create",
|
|
"instance_uuid": "9bde1fd5-8435-45c5-afc1-bedd0605275b",
|
|
"message": null,
|
|
"project_id": "6f70656e737461636b20342065766572",
|
|
"request_id": "req-4510fb10-447f-4572-a64d-c2324547d86c",
|
|
"start_time": "2018-04-25T01:26:33.710291",
|
|
"updated_at": "2018-04-25T01:26:35.374936",
|
|
"user_id": "fake"
|
|
}
|
|
]
|
|
} |