summaryrefslogtreecommitdiff
path: root/openstackclient/image
diff options
context:
space:
mode:
authorPavlo Shchelokovskyy <shchelokovskyy@gmail.com>2019-02-27 14:21:08 +0200
committerPavlo Shchelokovskyy <shchelokovskyy@gmail.com>2019-02-28 20:27:04 +0200
commitc79de8a90bc1f1149b8302052580e5a76876724c (patch)
tree03c74b3621bbab5479f37cf6fb7fc9749f1b7bf1 /openstackclient/image
parent55cbbbe4692002e58120b0c129eb2add4f0bc18a (diff)
downloadpython-openstackclient-c79de8a90bc1f1149b8302052580e5a76876724c.tar.gz
Paginate over usage list to return all usages
since nova api 2.40 the os-simple-tenant-usage API supports pagination and will by default return a number of entities configured internally in Nova. This means that when there are many enough projects, the single call to usage.list() will not return usages for all projects. This patch effectively copy-pastes the logic to paginate over usage list results from novaclient/v2/shell.py code. Change-Id: I1b639fe386b7b7db3223f6965495094b9d51533a Story: #2005099 Task: #29713
Diffstat (limited to 'openstackclient/image')
0 files changed, 0 insertions, 0 deletions