28c1075b59
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
27 lines
892 B
JSON
27 lines
892 B
JSON
{
|
|
"migrations": [
|
|
{
|
|
"created_at": "2016-06-23T14:42:02.000000",
|
|
"dest_compute": "compute20",
|
|
"dest_host": "5.6.7.8",
|
|
"dest_node": "node20",
|
|
"id": 4,
|
|
"instance_uuid": "9128d044-7b61-403e-b766-7547076ff6c1",
|
|
"new_instance_type_id": 6,
|
|
"old_instance_type_id": 5,
|
|
"source_compute": "compute10",
|
|
"source_node": "node10",
|
|
"status": "migrating",
|
|
"migration_type": "resize",
|
|
"updated_at": "2016-06-23T14:42:02.000000",
|
|
"uuid": "42341d4b-346a-40d0-83c6-5f4f6892b650"
|
|
}
|
|
],
|
|
"migrations_links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2.1/6f70656e737461636b20342065766572/os-migrations?limit=1&marker=42341d4b-346a-40d0-83c6-5f4f6892b650",
|
|
"rel": "next"
|
|
}
|
|
]
|
|
}
|