Add a `--limit` parameter to list operations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
Fix Released
|
Medium
|
Unassigned |
Bug Description
https:/
commit 93c9bc1fe0ae3f5
Author: Flavio Percoco <email address hidden>
Date: Tue Jan 27 14:20:27 2015 +0100
Add a `--limit` parameter to list operations
In v2, we use the link header during paginations to know when there are
more images available in the server that could be returned in the same
request. This way, it's possible to iterate over the generator returned
by list and consume the images in the server.
However, it's currently not possible to tell glanceclient the exact
number of images we want, which basically means that it'll *always* go
through the whole list of images in the server unless the limit is
implemented by the consumer.
DocImpact
Change-Id: I9f65a40d4eafda
Closes-bug: #1415035
Changed in openstack-manuals: | |
assignee: | nobody → Ramaraja (ramaraja-r) |
assignee: | Ramaraja (ramaraja-r) → nobody |
Changed in openstack-manuals: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → kilo |
Documented in current CLI Reference