This adds the changes-before filter to the servers, os-instance-actions and os-migrations APIs for filtering resources which were last updated before or equal to the given time. The changes-before filter, like the changes-since filter, will return deleted server resources. Part of bp support-to-query-nova-resources-filter-by-changes-before Change-Id: If91c179e3823c8b0da744a9363906b0f7b05c326
		
			
				
	
	
		
			20 lines
		
	
	
		
			736 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			736 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "instanceActions": [
 | 
						|
        {
 | 
						|
            "action": "stop",
 | 
						|
            "instance_uuid": "ca3d3be5-1a40-427f-9515-f5e181f479d0",
 | 
						|
            "message": null,
 | 
						|
            "project_id": "6f70656e737461636b20342065766572",
 | 
						|
            "request_id": "req-4dbefbb7-d743-4d42-b0a1-a79cbe256138",
 | 
						|
            "start_time": "2018-04-25T01:26:28.909887",
 | 
						|
            "updated_at": "2018-04-25T01:26:29.400606",
 | 
						|
            "user_id": "admin"
 | 
						|
        }
 | 
						|
    ],
 | 
						|
    "links": [
 | 
						|
        {
 | 
						|
            "href": "http://openstack.example.com/v2.1/6f70656e737461636b20342065766572/servers/ca3d3be5-1a40-427f-9515-f5e181f479d0/os-instance-actions?limit=1&marker=req-4dbefbb7-d743-4d42-b0a1-a79cbe256138",
 | 
						|
            "rel": "next"
 | 
						|
        }
 | 
						|
    ]
 | 
						|
} |