]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind/mgr/selftest: add "mgr self-test eval" command
authorKefu Chai <kchai@redhat.com>
Sat, 29 May 2021 17:10:25 +0000 (01:10 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 1 Jun 2021 03:03:10 +0000 (11:03 +0800)
commit2f1dd0ce9f69fa59075a3f1744819f83a85561a5
treea8745e0e74666c5941632e10b195b5333c861f40
parent54d02f098a77738d9e1fd905e7f4cb8aed721d22
pybind/mgr/selftest: add "mgr self-test eval" command

and a simple REPL client allowing developer to peek and poke the
selftest module. if this turns out to be useful, we can promote this
method into a dedicated mix-in class, so other module can use it if
developer wants to test it manually.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/ceph_mgr_repl.py [new file with mode: 0755]
src/pybind/mgr/selftest/module.py