summaryrefslogtreecommitdiffstats
path: root/openbsc/src/libctrl
Commit message (Collapse)AuthorAgeFilesLines
* libctrl: Add commands to query counters and rate_cntrDaniel Willmann2014-08-211-0/+258
| | | | | | | | | | | | These commands are installed in controlif_setup. Query them like this: "rate_ctr.<interval>.<counter group>.<index>.<counter name>" for rate counters and "counter.<counter name>" for regular counters. <interval> may be either "abs" for absolute values or one or "per_{sec,min,hour,day}". It is possible to query all rate counters in a group (regardless of index) or all counters in a group and with a certain index if you omit <counter name> and <index> or just <counter name>.
* Add libctrl, an SNMP-like control interfaceDaniel Willmann2014-08-213-0/+819
In contrast to the VTY interface the control interface is meant to be used by programs. This patch adds basic support, no commands are defined.