]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr: refactor python module management
authorJohn Spray <john.spray@redhat.com>
Mon, 14 Aug 2017 10:31:18 +0000 (06:31 -0400)
committerJohn Spray <john.spray@redhat.com>
Wed, 1 Nov 2017 12:20:20 +0000 (08:20 -0400)
commit9718896c8b844db2f3c07df1d344636da4605e61
treece2e379b694d4dec0bcb9697beb91760a6acdea5
parent089e105dd7ec762572ac06794caa7f5543075001
mgr: refactor python module management

Separate out the *loading* of modules from
the *running* of modules.

This is a precursor to enabling modules to run
in standby mode.

Signed-off-by: John Spray <john.spray@redhat.com>
15 files changed:
src/CMakeLists.txt
src/mgr/DaemonServer.cc
src/mgr/DaemonServer.h
src/mgr/Mgr.cc
src/mgr/Mgr.h
src/mgr/MgrPyModule.cc
src/mgr/MgrPyModule.h
src/mgr/MgrStandby.cc
src/mgr/MgrStandby.h
src/mgr/PyModuleRegistry.cc [new file with mode: 0644]
src/mgr/PyModuleRegistry.h [new file with mode: 0644]
src/mgr/PyModules.cc
src/mgr/PyModules.h
src/mgr/PyState.cc
src/mgr/PyState.h