Add timestamp filtering support for migration-list API

Registered by Zhenyu Zheng

Currently, migration-list API doesn't contain changes-since filter. As for large scale deployment, large numbers of migration can take place, the performance of migration-list will be very poor. It will be very useful if this function can be provided.

Blueprint information

Status:
Complete
Approver:
Matt Riedemann
Priority:
Low
Drafter:
Zhenyu Zheng
Direction:
Approved
Assignee:
Yikun Jiang
Definition:
Approved
Series goal:
Accepted for queens
Implementation:
Implemented
Milestone target:
milestone icon queens-3
Started by
Zhenyu Zheng
Completed by
Matt Riedemann

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/add-pagination-and-change-since-for-migration-list,n,z

Addressed by: https://review.openstack.org/239869
    Add pagination and timestamp filtering support for os-migrations API

Addressed by: https://review.openstack.org/330406
    Add pagination and Changes-since filter support for os-migrations.

There are still pending changes for this and we're now past non-priority blueprint feature freeze for Newton. -- mriedem 20160701

Addressed by: https://review.openstack.org/506030
    Add pagination and timestamp filtering support for os-migrations API

Addressed by: https://review.openstack.org/511421
    Add migration_get_by_uuid in db api.

Addressed by: https://review.openstack.org/514904
    [WIP] Add migration db and object pagination support.

Addressed by: https://review.openstack.org/517273
    WIP: Add cross cell sort support for get_migrations

Gerrit topic: https://review.openstack.org/#q,topic:add-pagination-and-change-since-for-migration-list,n,z

Addressed by: https://review.openstack.org/518871
    Extract SortContext/SortWrapper of instance_list into utils

Addressed by: https://review.openstack.org/518644
    Implement query param schema for migration index

Addressed by: https://review.openstack.org/524253
    Genericify the instance_list stuff

Addressed by: https://review.openstack.org/524302
    Split instance_list into instance and multi_cell

Addressed by: https://review.openstack.org/529519
    test

Addressed by: https://review.openstack.org/531132
    Add index(updated_at) on migrations table.

Addressed by: https://review.openstack.org/531633
    [DNM] add uuid in server migration

Addressed by: https://review.openstack.org/532368
    Fix comment in MigrationSortContext

Addressed by: https://review.openstack.org/532898
    Address nits in change I7e01f95d7173d9217f76e838b3ea71555151ef56

Addressed by: https://review.openstack.org/532904
    Amend the migration paging spec for uuid in server migrations response

Now that the corresponding novaclient change https://review.openstack.org/#/c/516168/ is merged I'm going to consider this blueprint complete for Queens. -- mriedem 20180123

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.