nova/doc/api_samples/os-instance-actions/v2.58/instance-actions-list-resp.json
Yikun Jiang 577cb4b2f4 ServerActionsSampleJsonTest refactor
Change the instance action sample to a real world action.

In Setup, we create an instance and then stop it. That would
be 2 actions(create and stop), and the stop action should have
a "compute_stop_instance" event. And then we do 2.1/2.21/2.51
test case based on these actions, like we have done in 2.58.

Change-Id: Iac23a574a05e62a99aab20ffce4265f4fb5a44d9
2018-04-26 09:26:35 +08:00

24 lines
881 B
JSON

{
"instanceActions": [
{
"action": "stop",
"instance_uuid": "247cc793-7cf4-424a-a529-11bd62f960b6",
"message": null,
"project_id": "6f70656e737461636b20342065766572",
"request_id": "req-1448f44f-490d-42ff-8781-c3181d103a7c",
"start_time": "2018-04-25T01:26:28.793416",
"updated_at": "2018-04-25T01:26:29.292649",
"user_id": "fake"
},
{
"action": "create",
"instance_uuid": "247cc793-7cf4-424a-a529-11bd62f960b6",
"message": null,
"project_id": "6f70656e737461636b20342065766572",
"request_id": "req-de0561a0-09d9-4902-b1fc-23ee95b14c67",
"start_time": "2018-04-25T01:26:25.527791",
"updated_at": "2018-04-25T01:26:28.749039",
"user_id": "fake"
}
]
}