Comment 2 for bug 1726770

Revision history for this message
Matt Riedemann (mriedem) wrote :

https://review.openstack.org/#/c/134133/ is arguably implementing the wrong default behavior.

We have something similar in python-novaclient where if you pass limit=-1 then that means "no limit" and the client will page through the results automatically and display everything until there are no more pages.

I'd suggest changing the default limit behavior in python-cinderclient to be similar, so that the user opts into getting unlimited results, else the default is just enforced via the configurable limit on the server side. It would be a behavior change though so a release note would definitely be needed, and likely at least a minor version change in the client.