Feature #2371
Paginate the .info API responses
Status: | Closed | Start date: | 10/10/2013 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Javi Fontan | % Done: | 0% | |
Category: | Core & System | |||
Target version: | Release 4.6 | |||
Resolution: | fixed | Pull request: |
Description
Request made during the OpenNebulaConf
Related issues
Associated revisions
feature #2371: add pagination to pool info
When the end_id of pool.info xmlrpc call is lower than -1 the parameters
do not refer to object ids but offset and cuantity used for pool pagination.r
The SQL query will have "LIMIT start_id,-end_id".
feature #2371: add pagination to ruby oca, cli and sunstone
There is a new pool method called get_hash that uses pagination when possible.
The default page size can be changed with the environment variable
ONE_POOL_PAGE_SIZE. Any value > 2 will set a page size, a non
numeric value disables pagination.
Paginated pools are parsed using sax instead of dom so this makes the parse
a bit faster. It will also detect Ox gem (https://github.com/ohler55/ox) and
will use it as it is much faster than Nokogiri.
Screen cleaning in top command is done after retrieving the pool reducing
the flickering.
feature #2371: add ox gem to install_gems
feature #2371: delete debuging STDERR.puts
feature #2371: fix bug returning errors from get_hash
feature #2371: do not print extra line in list commands
feature #2371: better fix for the extra new line in list
feature #2371: fix bugs in CLI table renderer
feature #2371: raise exception and cli error when nokogiri is not installed
feature #2371: parse cdata with ox parser
History
#1 Updated by Ruben S. Montero over 7 years ago
- Status changed from Pending to Closed
#2 Updated by Ruben S. Montero over 7 years ago
- Tracker changed from Backlog to Feature
- Status changed from Closed to Assigned
- Assignee set to Javi Fontan
- Target version set to Release 4.6
#3 Updated by Ruben S. Montero over 7 years ago
- Related to Backlog #2340: filter VM listing server-side added
#4 Updated by Javi Fontan over 7 years ago
- Status changed from Assigned to Closed
- Resolution set to fixed