The question comes from my patch[1]. Kgriffs point that there are two
way to get all the pools. But I don’t know which one is better, event
though I comment that limit=0 is wired. I think there are three ways.

use limit=0( current logical).
pro: 1) may easy to implement
con: 1) not clearly and wired. 2) may some storage driver doesn’t support?
call .list multiple times
pro: 1) directly and compatiblely
con: 1) multiple request must make when the list size is too large.
define a new method named list_all

[1] https://review.openstack.org/#/c/123462/5/zaqar/queues/storage/pooling.py

-- 
Lei Zhang
Blog: http://xcodest.me
twitter/weibo: @jeffrey4l

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to