]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/orch: allow list daemons by service_name 33851/head
authorKiefer Chang <kiefer.chang@suse.com>
Tue, 10 Mar 2020 11:43:42 +0000 (19:43 +0800)
committerKiefer Chang <kiefer.chang@suse.com>
Tue, 24 Mar 2020 05:07:26 +0000 (13:07 +0800)
commit079c9fd7718ceb17660da61d46019c53012e0f0c
tree92d3b9149a233c67bbbf98a5164f8a073f75a82f
parentca0978a892b647569ee929a14ccbda6024e596a2
mgr/orch: allow list daemons by service_name

Services like rgw and mds are differentiated by service_name. For
example: mds.xyz vs. mds.abc. With current interface, we can't list all
daemons belonged to mds.xyz only. Add service_name as a new argument to
filter daemons by it.

Fixes: https://tracker.ceph.com/issues/44541
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/orchestrator/_interface.py
src/pybind/mgr/orchestrator/module.py
src/pybind/mgr/rook/module.py
src/pybind/mgr/test_orchestrator/module.py