Home
last modified time | relevance | path

Searched hist:"0 d5094bf" (Results 1 – 2 of 2) sorted by relevance

/openbmc/phosphor-snmp/
H A Dsnmp_notification.hpp0d5094bf Fri Mar 05 07:55:26 CST 2021 Ratan Gupta <ratagupt@linux.vnet.ibm.com> Add the Sysuptime in SNMP trap

As per the rfc3416 https://tools.ietf.org/search/rfc3416#page-22
The first two variable bindings in the variable binding list
of an SNMPv2-Trap-PDU are sysUpTime.0 [RFC3418] and snmpTrapOID.0
[RFC3418].

This commit adds the sysUpTime.0 [RFC3418] in the SNMP trap.

Signed-off-by: Ratan Gupta <ratagupt@linux.vnet.ibm.com>
Change-Id: Ie1a28ac2bbf30e05f0be498c278d866e9bf9c8a2
H A Dsnmp_notification.cpp0d5094bf Fri Mar 05 07:55:26 CST 2021 Ratan Gupta <ratagupt@linux.vnet.ibm.com> Add the Sysuptime in SNMP trap

As per the rfc3416 https://tools.ietf.org/search/rfc3416#page-22
The first two variable bindings in the variable binding list
of an SNMPv2-Trap-PDU are sysUpTime.0 [RFC3418] and snmpTrapOID.0
[RFC3418].

This commit adds the sysUpTime.0 [RFC3418] in the SNMP trap.

Signed-off-by: Ratan Gupta <ratagupt@linux.vnet.ibm.com>
Change-Id: Ie1a28ac2bbf30e05f0be498c278d866e9bf9c8a2