support to query cinder resources filter by time comparison operators

Registered by wanghao

Now in cinder, resources(e.g. volume, snapshot, backup) have a record for when they were updated at. Wish to support user(admin/non-admin) can query those resources by specify the time that they are created_at or updated_at, and cinder will return the all updated after this time.

Blueprint information

Status:
Complete
Approver:
Sean McGinnis
Priority:
Low
Drafter:
wanghao
Direction:
Approved
Assignee:
wanghao
Definition:
Approved
Series goal:
Accepted for ussuri
Implementation:
Implemented
Milestone target:
milestone icon ussuri-2
Started by
wanghao
Completed by
Brian Rosmaita

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.opendev.org/#/q/topic:bp/support-to-query-cinder-resources-filter-by-change-since

Addressed by: https://review.opendev.org/352688
    Support to query volume filter by changes since/before

Cinder code has merged. Patch includes api-ref update, so documentation is covered.

Two questions:
(1) Do we know if this already works with the cinderclient?
(2) The spec mentions implementing tempest tests, what's the status of those?

Gerrit topic: https://review.opendev.org/#/q/topic:support-to-query-snapshot-filter-by-timestamp

Addressed by: https://review.opendev.org/733062
    Support to query snapshot filter by updated_at/created_at

Gerrit topic: https://review.opendev.org/#/q/topic:support-multiplie-filters-together-for-time-comparison

Addressed by: https://review.opendev.org/740146
    Support multiple filters together for volume time comparison filter

Addressed by: https://review.opendev.org/c/openstack/cinder/+/740146
    Support multiple filters together for volume time comparison filter

Addressed by: https://review.opendev.org/c/openstack/cinder/+/733062
    Support to query snapshot filter by updated_at/created_at

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.