]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
misc: add cluster-aware roles filter
authorJosh Durgin <jdurgin@redhat.com>
Thu, 17 Mar 2016 00:46:30 +0000 (17:46 -0700)
committerJosh Durgin <jdurgin@redhat.com>
Mon, 11 Apr 2016 21:36:42 +0000 (14:36 -0700)
commit0c54b1638e094bafe8f85656e82352ecc08d5979
treeb120022e1efbb002172269b20de585e0f05a4f3f
parent79fb9442ebed21e0eff97a78f77b92aebe21c052
misc: add cluster-aware roles filter

Unlike roles_of_type, this actually returns roles. We can't change the
semantics of the existing one due to backwards compatibility
requirements for old ceph-qa-suite branches, so make a new function
and implement the old one in terms of the new more general interface.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
teuthology/misc.py
teuthology/test/test_misc.py