]> git-server-git.apps.pok.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 23:03:28 +0000 (23:03 +0000)
commitd37bf83f419fd5b34f0cbc8ee5313425e5177bc8
tree4047e8197602691352a66dde3ff47f682b5125d8
parentb563555edb51b576fcbf94a3b92598a7300aaf09
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>
(cherry picked from commit 9718896c8b844db2f3c07df1d344636da4605e61)
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