]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr: add get_context() to python interface
authorJohn Spray <john.spray@redhat.com>
Sun, 5 Mar 2017 15:31:49 +0000 (10:31 -0500)
committerKefu Chai <kchai@redhat.com>
Wed, 3 May 2017 02:37:17 +0000 (10:37 +0800)
commit07cae6214b6c12e4b118f5142e90a37386b446b2
tree05075533a04303ef330c5ba8979e1848bf00907e
parent92a894c53f3935c77466d33bf727473e8abb65b7
mgr: add get_context() to python interface

For modules that would like a CephContext* inside
a capsule, suitable for passing to librados constructor.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mgr/PyModules.cc
src/mgr/PyModules.h
src/mgr/PyState.cc