Ask Your Question
0

When the instance is more and more, it is need pagination display, how to paging

asked 2013-03-31 23:29:44 -0500

wllabs gravatar image

When the instance is more and more, it is need pagination display, how to paging

for instance data by novaclient(request).servers.list(True, search_opts)

the param search_opts through the fields to search No limit, page such parameters

edit retag flag offensive close merge delete

Comments

can you explain more what you're trying to achieve? I'm not sure I understand what you're trying to achieve.

smaffulli gravatar imagesmaffulli ( 2013-04-03 19:51:24 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2013-04-11 14:40:01 -0500

annegentle gravatar image

For Compute (nova) for example, pagination is described in http://docs.openstack.org/api/openstack-compute/2/content/Paginated_Collections-d1e664.html and the limits are set by the cloud provider.

With that stated, it is also known that pagination is not present in the nova client. This blueprint discusses this: https://blueprints.launchpad.net/oslo/+spec/pagination-generator

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-03-31 23:29:44 -0500

Seen: 387 times

Last updated: Apr 11 '13