commit 72f5f0485ae6a1dca53532844469e679885eacca
Author: Clinton Knight <email address hidden>
Date: Sat Feb 14 19:51:34 2015 -0500
Fix issues with get_pool scheduler API
The scheduler API 'get_pools' was copied from Cinder and has several
problems. The REST endpoint, /scheduler-stats/get_pools, is not a
REST-appropriate name. The API allows filtering but filters are not
currently supported by the Manila scheduler. The API was added as an
extension, not part of the v1 API as it should be. After restarting
the scheduler service, the API doesn't return any data until a share
has been created (Cinder was used as a model for fixing this one).
This patch fixes all of these issues.
Reviewed: https:/ /review. openstack. org/164360 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=72f5f0485ae 6a1dca535328444 69e679885eacca
Committed: https:/
Submitter: Jenkins
Branch: master
commit 72f5f0485ae6a1d ca53532844469e6 79885eacca
Author: Clinton Knight <email address hidden>
Date: Sat Feb 14 19:51:34 2015 -0500
Fix issues with get_pool scheduler API
The scheduler API 'get_pools' was copied from Cinder and has several stats/get_ pools, is not a appropriate name. The API allows filtering but filters are not
problems. The REST endpoint, /scheduler-
REST-
currently supported by the Manila scheduler. The API was added as an
extension, not part of the v1 API as it should be. After restarting
the scheduler service, the API doesn't return any data until a share
has been created (Cinder was used as a model for fixing this one).
This patch fixes all of these issues.
Closes-Bug: #1422042 b0a62f644ca5a12 dcad14d8a9b
Change-Id: I7e32efb5390fd4