]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: load mgr commands dynamically
authorJohn Spray <john.spray@redhat.com>
Thu, 29 Jun 2017 10:13:44 +0000 (06:13 -0400)
committerJohn Spray <john.spray@redhat.com>
Wed, 19 Jul 2017 12:58:40 +0000 (08:58 -0400)
commit54b693b06c635705066328083b5dd7f90daceda7
treeda1a938f25a387bb21ad305565e03bf3f613b1a7
parent5c3846306b6bf7864327265bbac9607295f46cfc
mon: load mgr commands dynamically

So that the list of commands includes python modules,
thus allowing python-provided commands to be invoked
by the CLI with out a `tell mgr` prefix.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mon/MgrMonitor.cc
src/mon/MgrMonitor.h
src/mon/Monitor.cc
src/mon/Monitor.h
src/test/common/get_command_descriptions.cc