CountableResource: try count/get functions for all plugins
It's of no guarantee that core plugin implements counter/getter function
for a CountableResource. Instead of just trying core plugin, try every
plugin registered in the directory.
To retain backwards compatibility, we also make sure that core plugin is
checked first.
Change-Id: I5245e217e1f44281f85febbdfaf873321253dc5d
Closes-Bug: #1714769
(cherry picked from commit 07bfe6adb96ee0a88b9dd54d7e4b0bb684b63e3c)
Reviewed: https:/ /review. openstack. org/503062 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=8d1b5bda382 0a76d2af9758fc9 85e6e5e6004b33
Committed: https:/
Submitter: Jenkins
Branch: stable/pike
commit 8d1b5bda3820a76 d2af9758fc985e6 e5e6004b33
Author: Ihar Hrachyshka <email address hidden>
Date: Wed Sep 6 12:55:24 2017 -0700
CountableRe source: try count/get functions for all plugins
It's of no guarantee that core plugin implements counter/getter function
for a CountableResource. Instead of just trying core plugin, try every
plugin registered in the directory.
To retain backwards compatibility, we also make sure that core plugin is
checked first.
Change-Id: I5245e217e1f442 81f85febbdfaf87 3321253dc5d 88b9dd54d7e4b0b b684b63e3c)
Closes-Bug: #1714769
(cherry picked from commit 07bfe6adb96ee0a