From: Hans-Christoph Steiner Date: Fri, 11 May 2012 02:06:45 +0000 (-0400) Subject: jsoninfo: document the existing command set X-Git-Tag: OLSRD_0_6_3~65 X-Git-Url: http://olsr.org/git/?p=olsrd.git;a=commitdiff_plain;h=6d7b825b54a149289ce446e6df411fcc4cce5c32 jsoninfo: document the existing command set --- diff --git a/lib/jsoninfo/README_JSONINFO b/lib/jsoninfo/README_JSONINFO index 18f44dd2..28160f63 100644 --- a/lib/jsoninfo/README_JSONINFO +++ b/lib/jsoninfo/README_JSONINFO @@ -7,6 +7,32 @@ make make install +There are a number of commands for getting information from this +plugin. They are designed to be tacked onto a URL, but can also be +sent directly via a network socket. The commands are similar to the +txtinfo plugin, but not exactly the same. + +If there is no command or no recognized command, then it sends the +/status output, which is the combination of /neighbors, /links, +/routes, /hna, /mid, /topology, /gateways, and /interfaces. + +runtime information: +* /neighbors (including 2-hop) +* /links +* /routes +* /hna +* /mid +* /topology +* /gateways +* /interfaces +* /status - data that changes during runtime (all above commands combined) + +static information: +* /config - the current configuration, i.e. what was loaded from the olsrd.conf +* /plugins - currently loaded plugins and their config parameters +* /olsrd.conf - the current config, formatted for writing directly to /etc/olsrd.conf + + PLUGIN CONFIGURATION ==========================