Signed-off-by: Mohamad Gebai <mgebai@suse.com>
{
"cmd": "foobar name=myarg,type=CephString",
"desc": "Do something awesome",
- "perm": "rw"
+ "perm": "rw",
+ # optional:
+ "poll": "true"
}
]
The ``cmd`` part of each entry is parsed in the same way as internal
Ceph mon and admin socket commands (see mon/MonCommands.h in
-the Ceph source for examples)
+the Ceph source for examples). Note that the "poll" field is optional,
+and is set to False by default.
Config settings
---------------
* OBSOLETE - command is considered obsolete
* DEPRECATED - command is considered deprecated
* MGR - command goes to ceph-mgr (for luminous+)
+ * POLL - command is intended to be called periodically by the
+ * client (see iostat)
*
* A command should always be first considered DEPRECATED before being
* considered OBSOLETE, giving due consideration to users and conforming