summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorpengyuwei <pengyuwei@gmail.com>2012-08-14 14:47:36 +0800
committerpengyuwei <pengyuwei@gmail.com>2012-09-07 19:20:51 +0800
commit75ca5dfa4a740c1f73750394722687cbdf3155e5 (patch)
tree11eb8602de501d70ca4fc08f7a64071bb78c5ad7 /nova/openstack
parent37cc45b8fdaa199b248a7ef5f683d514733b8387 (diff)
downloadnova-75ca5dfa4a740c1f73750394722687cbdf3155e5.tar.gz
nova-75ca5dfa4a740c1f73750394722687cbdf3155e5.tar.xz
nova-75ca5dfa4a740c1f73750394722687cbdf3155e5.zip
Implement paginate query use marker in nova-api
1.add limit and marker param to db.instance_get_all_by_filters() 2.set the filter use marker 3.execute limit before sqlarchmy get_all() 4.add testcase 'test_db_api.test_instance_get_all_by_filters_paginate' 5.related testcase: test_get_servers_with_marker() test_get_servers_with_limit_and_marker() in nova/tests/api/openstack/compute/test_servers.py test_instance_get_all_by_filters_paginate() in nova/tests/test_db_api.py 6.add InvalidSortkey exception Implement bp:efficient-limiting. Change-Id: Iea3eeb7b51194b6017d624506aafc6469d7338e4
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions