summaryrefslogtreecommitdiffstats
path: root/src/snmp_trap.cpp
Commit message (Collapse)AuthorAgeFilesLines
* std::variant: Fixup .get() usageWilliam A. Kennington III2018-11-121-4/+8
| | | | | | | | | | | This is just a refactor from the mapbox specific .get() interface to the common std::variant ::get<>() interface. Tested: Built and run through unit tests. Change-Id: Ic0737f632e80c9dd5b73717ec33d31f245f107db Signed-off-by: William A. Kennington III <wak@google.com>
* update .clang-formatPatrick Venture2018-09-041-4/+5
| | | | | | | | Added the header inclusion order to the .clang-format file generated these changes. Change-Id: I4f51a20f469de431ee6a5ba78e3f4da39c980fab Signed-off-by: Patrick Venture <venture@google.com>
* Raise SNMP trap by reading error entry propertiesMarri Devender Rao2018-08-281-2/+43
| | | | | | | | | | dbus-monitor is notified for any new error entry created. dbus-monitor parses the error entry and constructs ErrorNotification object and sends SNMP trap. Change-Id: I25916b087c5513916c90266278ccafc5db3c41a0 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
* Add SNMP event callback for error notificationMarri Devender Rao2018-06-051-0/+15
Added callback support for SNMP events. Parse the callback message and raise SNMP trap Clients specify the object paths to watch and callbacks to invoke in the config yaml. Change-Id: I105652f65e4e1c5354c934c88e4d59866540f71c Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
OpenPOWER on IntegriCloud