]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/mgr: note need for module.py file in plugins 22622/head
authorJohn Spray <john.spray@redhat.com>
Tue, 19 Jun 2018 09:18:05 +0000 (10:18 +0100)
committerJohn Spray <john.spray@redhat.com>
Tue, 19 Jun 2018 09:19:06 +0000 (10:19 +0100)
This is kind of a kludgy thing but let's at least
document it!

Signed-off-by: John Spray <john.spray@redhat.com>
doc/mgr/plugins.rst

index d2053e090d254646724fe2ba2b9c7c6b2dfedbbe..377078fd899a59de99be73ec916ecd350af3ed7c 100644 (file)
@@ -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: