From c731f2a170cab2658310e3d286e5a80ca33fb6cc Mon Sep 17 00:00:00 2001 From: John Spray Date: Tue, 19 Jun 2018 10:18:05 +0100 Subject: [PATCH] doc/mgr: note need for module.py file in plugins This is kind of a kludgy thing but let's at least document it! Signed-off-by: John Spray --- doc/mgr/plugins.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/mgr/plugins.rst b/doc/mgr/plugins.rst index d2053e090d2..377078fd899 100644 --- a/doc/mgr/plugins.rst +++ b/doc/mgr/plugins.rst @@ -6,7 +6,8 @@ Creating a plugin ----------------- In pybind/mgr/, create a python module. Within your module, create a class -that inherits from ``MgrModule``. +that inherits from ``MgrModule``. For ceph-mgr to detect your module, your +directory must contain a file called `module.py`. The most important methods to override are: -- 2.39.5