mogan/mogan/db/sqlalchemy
Xinran 05cc14d399 Pagination support for server list API
We should support to return a list of servers according to users' requirements.
In this patch, marker, limit, sort_key and sort_dir were added in server list
API.
- marker is used to display a list of servers after marker
- limit is used to determinate the maximum number of servers to display
- sort_key is used to sort the returned server list by specified key value
- sort_dir is used to select a sort direction

DocImpact
APIImpact

Change-Id: Id70e965794c82a0a29e53d4364f65b0f39042c7c
Closes-Bug: #1726665
2017-10-26 07:40:05 +00:00
..
alembic Add tag table in db and migration file 2017-09-26 16:02:32 +08:00
__init__.py Rename nimble to mogan(part three) 2017-01-04 22:53:39 +08:00
alembic.ini Rename nimble to mogan(part three) 2017-01-04 22:53:39 +08:00
api.py Pagination support for server list API 2017-10-26 07:40:05 +00:00
migration.py Replace DbMigrationError with DBMigrationError 2017-09-05 23:04:47 +08:00
models.py Add tag table in db and migration file 2017-09-26 16:02:32 +08:00