]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Adding marker, pagination, sort key and sort direction to v2 api
authorMike Perez <thingee@gmail.com>
Tue, 18 Dec 2012 08:42:49 +0000 (00:42 -0800)
committerMike Perez <thingee@gmail.com>
Sun, 23 Dec 2012 07:46:29 +0000 (02:46 -0500)
commitf0d5dee0d3aed14d9c49df073a220c19e695461c
treef9463cb7c6762cd9bd35218d888c755416811b93
parent4c42d1eb86a44fb3c3ee3a3f446103dce95be8ec
Adding marker, pagination, sort key and sort direction to v2 api

Taking a cue from quantum, use glance's pagination function.

bp api-pagination

Change-Id: Ida7ade8d9332c88679849f7c640651df7e855abb
cinder/api/v1/volumes.py
cinder/api/v2/volumes.py
cinder/common/sqlalchemyutils.py [new file with mode: 0755]
cinder/db/api.py
cinder/db/sqlalchemy/api.py
cinder/tests/api/v1/test_volumes.py
cinder/tests/api/v2/stubs.py
cinder/tests/api/v2/test_volumes.py
cinder/volume/api.py