]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add pagination support to volume type
authorwanghao <wanghao749@huawei.com>
Fri, 25 Dec 2015 09:08:20 +0000 (17:08 +0800)
committerwanghao <wanghao749@huawei.com>
Tue, 5 Jan 2016 11:48:21 +0000 (19:48 +0800)
commitc945960000538bb0fef876aaca84e3330761c8f8
tree2102e57ecb561afdce6c4cad45e90f2bc5459f3b
parent6348aa38ff25fc32ca17846d1f9f73c9c39cd705
Add pagination support to volume type

In Liberty release, we have added pagination to backups
and snapshot. There are still some work that hasn't been
done yet.
This patch add pagination support to volume type.

APIImpact
Add pagination agrs like limit, marker, sort to query
volume type.

DocImpact

Change-Id: I09226d42b1f3a2efcd6711dac9f825c9bd277b78
Implements: blueprint add-pagination-to-other-resource
cinder/api/v2/types.py
cinder/api/v2/views/types.py
cinder/db/api.py
cinder/db/sqlalchemy/api.py
cinder/objects/volume_type.py
cinder/tests/unit/api/contrib/test_volume_type_access.py
cinder/tests/unit/api/v2/test_types.py
cinder/tests/unit/objects/test_objects.py
cinder/tests/unit/objects/test_volume_type.py
cinder/tests/unit/test_volume_types.py
cinder/volume/volume_types.py