History log of /openbmc/phosphor-snmp/snmp_notification.cpp (Results 1 – 11 of 11)
Revision Date Author Comments
# 46d7ea4c 12-Jul-2023 Ed Tanous <edtanous@google.com>

Use a real struct

There's no usage of these structures as a tuple, and get<0> isn't very
descriptive. Replace them with a struct.

Change-Id: I7705a14fe1486c9398fd4bbc426f3c8208060c8e
Signed-off-by

Use a real struct

There's no usage of these structures as a tuple, and get<0> isn't very
descriptive. Replace them with a struct.

Change-Id: I7705a14fe1486c9398fd4bbc426f3c8208060c8e
Signed-off-by: Ed Tanous <edtanous@google.com>

show more ...


# 4caedfbb 10-May-2022 George Liu <liuxiwei@inspur.com>

logging: switch to lg2

After switching to C++20, it is recommended to use `phosphor::lg2`
to format log, and the correct `CODE_LINE` and `CODE_FUNC` values
can be used in log tracking.

Signed-off-b

logging: switch to lg2

After switching to C++20, it is recommended to use `phosphor::lg2`
to format log, and the correct `CODE_LINE` and `CODE_FUNC` values
can be used in log tracking.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I151fc489a93ec7f513411aea2f0b61829bc808f6

show more ...


# 34d129a9 04-Dec-2021 Ratan Gupta <ratankgupta31@gmail.com>

Resolve Meson issues

This commit includes fixes in the repo:

1. Moving experimental filesystem to filesystem
2. Errors that meson identified

Signed-off-by: Ratan Gupta <ratankgupta31@gmail.com>
Ch

Resolve Meson issues

This commit includes fixes in the repo:

1. Moving experimental filesystem to filesystem
2. Errors that meson identified

Signed-off-by: Ratan Gupta <ratankgupta31@gmail.com>
Change-Id: I93c77c2a434275c4da3ca4549919eaa55b57f481

show more ...


# 0d5094bf 05-Mar-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

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

show more ...


# 1334b7b3 22-Feb-2021 Patrick Williams <patrick@stwcx.xyz>

clang-format-11: reformat

The .clang-format file here is an old version of the common one.
Upgrade to the latest and reformat.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz

clang-format-11: reformat

The .clang-format file here is an old version of the common one.
Upgrade to the latest and reformat.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ic87853e6004d2d5ad6645a3ece8c0c87ccc96efd

show more ...


# 7d4bd22e 13-May-2020 Patrick Williams <patrick@stwcx.xyz>

sdbusplus: remove deprecated variant_ns

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I8d012f098dcca98ddbaf82e29219a15ddde5ba62


# bbee5d0d 06-Nov-2018 William A. Kennington III <wak@google.com>

Fix usage of std::variant

The .get() member interface is mapbox specific and will not work when we
transition to std::variant.

Change-Id: Ia2b580339af0ef08f4e43503b774988a300626

Fix usage of std::variant

The .get() member interface is mapbox specific and will not work when we
transition to std::variant.

Change-Id: Ia2b580339af0ef08f4e43503b774988a30062645
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...


# 212f53e8 30-Apr-2018 Ratan Gupta <ratagupt@in.ibm.com>

Persist the snmp manager configuration

This commit persist the manager configuration D-Bus objects
and restores it once service starts.

This commit also deletes the associated p

Persist the snmp manager configuration

This commit persist the manager configuration D-Bus objects
and restores it once service starts.

This commit also deletes the associated persistent file whenever
snmp client D-Bus object gets deleted.

Change-Id: I1526b52870ee5dfea30e6527bad3fd12d1191a13
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>

show more ...


# 63476197 19-Apr-2018 Ratan Gupta <ratagupt@in.ibm.com>

Send the trap to the configured SNMP managers

Get the snmp manager details from the D-bus service and send the
trap to all the configured snmp managers.

Resolves openbmc/openbmc

Send the trap to the configured SNMP managers

Get the snmp manager details from the D-bus service and send the
trap to all the configured snmp managers.

Resolves openbmc/openbmc#3058

Change-Id: I9c59ae866ab194e92a85254ca646ecc299803f26
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>

show more ...


# e4e08e0e 16-Apr-2018 Ratan Gupta <ratagupt@in.ibm.com>

Implement the sendTrap(library) function

This function is a library function which would be
used by the process which wants to send the snmp trap.

This function is a templatized

Implement the sendTrap(library) function

This function is a library function which would be
used by the process which wants to send the snmp trap.

This function is a templatized function and template parameter
would be snmp notification type.

Change-Id: I63920f8c4593ba366a34b344dfab3a4562bf5d36
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>

show more ...


# ec26fa6b 16-Apr-2018 Ratan Gupta <ratagupt@in.ibm.com>

Implement sendTrap function

This function gets all the objects from the specific
notification class and send the snmp trap using the
netsnmp lib functions.

This commt adds t

Implement sendTrap function

This function gets all the objects from the specific
notification class and send the snmp trap using the
netsnmp lib functions.

This commt adds the configure, makefile, bootstrap.sh,
clangformat file.

Add the unit test cases for ErrorNotification unit.

Change-Id: I2e982f18eb2745f2c0c8de0702cc85d12e80f6e3
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>

show more ...