]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add pagination support to consistency group
authorwanghao <wanghao749@huawei.com>
Wed, 30 Dec 2015 06:18:09 +0000 (14:18 +0800)
committerwanghao <wanghao749@huawei.com>
Thu, 21 Jan 2016 01:15:21 +0000 (09:15 +0800)
commit7d60f39911b24ae926f78775a26457e6aef8f89a
treedec9df939d995b370033887ddde0eb11a7b94188
parent7e040192d4a33fbe18f569cf10d8c786c8c369f8
Add pagination support to consistency group

In liberty release, we have added pagination to backups
and snapshots. There are still some work that hasn't been
done yet.
This patch adds pagination support to consistency groups.

APIImpact
Add pagination args like limit, marker, sort to query
consistency group.

DocImpact

Change-Id: I37602069e06cc99c9adbf45c2a981b0513a1be26
Implements: blueprint add-pagination-to-other-resource
cinder/api/contrib/consistencygroups.py
cinder/api/views/consistencygroups.py
cinder/consistencygroup/api.py
cinder/db/api.py
cinder/db/sqlalchemy/api.py
cinder/objects/consistencygroup.py
cinder/tests/unit/api/contrib/test_consistencygroups.py
cinder/tests/unit/objects/test_consistencygroup.py
cinder/tests/unit/objects/test_objects.py