 2ca8b73dd5
			
		
	
	2ca8b73dd5
	
	
	
		
			
			This patch changes v3 server_actions API to v2.1, and also share v2.1 and v2 test case. rename server_actions back to instance_actions. The differences between v2 and v3 are described on the wiki page https://wiki.openstack.org/wiki/NovaAPIv2tov3 . Partially implements blueprint v2-on-v3-api Change-Id: I8f11dc5f199711e1c98badfbe0035883d9c15573
		
			
				
	
	
		
			28 lines
		
	
	
		
			870 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			870 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|     "instanceAction": {
 | |
|         "action": "reboot",
 | |
|         "events": [
 | |
|             {
 | |
|                 "event": "schedule",
 | |
|                 "finish_time": "2012-12-05T01:02:00.000000",
 | |
|                 "result": "Success",
 | |
|                 "start_time": "2012-12-05T01:00:02.000000",
 | |
|                 "traceback": ""
 | |
|             },
 | |
|             {
 | |
|                 "event": "compute_create",
 | |
|                 "finish_time": "2012-12-05T01:04:00.000000",
 | |
|                 "result": "Success",
 | |
|                 "start_time": "2012-12-05T01:03:00.000000",
 | |
|                 "traceback": ""
 | |
|             }
 | |
|         ],
 | |
|         "instance_uuid": "b48316c5-71e8-45e4-9884-6c78055b9b13",
 | |
|         "message": "",
 | |
|         "project_id": "147",
 | |
|         "request_id": "req-3293a3f1-b44c-4609-b8d2-d81b105636b8",
 | |
|         "start_time": "2012-12-05T00:00:00.000000",
 | |
|         "user_id": "789"
 | |
|     }
 | |
| }
 |