mirror of
https://github.com/ceph/ceph
synced 2025-04-17 04:41:36 +00:00
doc/mgr: fix rst syntax in plugin guide
Signed-off-by: John Spray <john.spray@redhat.com>
This commit is contained in:
parent
7d4c4c83d1
commit
1dcdf35455
@ -11,11 +11,11 @@ named ``Module`` that inherits from ``MgrModule``.
|
|||||||
The most important methods to override are:
|
The most important methods to override are:
|
||||||
|
|
||||||
* a ``serve`` member function for server-type modules. This
|
* a ``serve`` member function for server-type modules. This
|
||||||
function should block forever.
|
function should block forever.
|
||||||
* a ``notify`` member function if your module needs to
|
* a ``notify`` member function if your module needs to
|
||||||
take action when new cluster data is available.
|
take action when new cluster data is available.
|
||||||
* a ``handle_command`` member function if your module
|
* a ``handle_command`` member function if your module
|
||||||
exposes CLI commands.
|
exposes CLI commands.
|
||||||
|
|
||||||
Installing a plugin
|
Installing a plugin
|
||||||
-------------------
|
-------------------
|
||||||
@ -72,6 +72,7 @@ storing large amounts of data.
|
|||||||
Config values are stored using the mon's config-key commands.
|
Config values are stored using the mon's config-key commands.
|
||||||
|
|
||||||
Hints for using these:
|
Hints for using these:
|
||||||
|
|
||||||
* Reads are fast: ceph-mgr keeps a local in-memory copy
|
* Reads are fast: ceph-mgr keeps a local in-memory copy
|
||||||
* Don't set things by hand with "ceph config-key", the mgr doesn't update
|
* Don't set things by hand with "ceph config-key", the mgr doesn't update
|
||||||
at runtime (only set things from within modules).
|
at runtime (only set things from within modules).
|
||||||
|
Loading…
Reference in New Issue
Block a user