#
c0d7cd47 |
| 28-Jul-2022 |
George Liu <liuxiwei@inspur.com> |
Fix deleteSNMPClient method in Unit Test file
The previous method can only delete one piece of data, and if the last piece of data is deleted, an error will be reported and the UT will fail.
Tested
Fix deleteSNMPClient method in Unit Test file
The previous method can only delete one piece of data, and if the last piece of data is deleted, an error will be reported and the UT will fail.
Tested: UT passed.
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: If1e0b4170a0a58fb30d4e28c55fed68b0d0f5e28
show more ...
|
#
87d3edd6 |
| 22-Jul-2022 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are for: * bus_t * exception_t * manager_t * match_t * message_t * object_t * slot_t
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ib15ce49ac136da396084ab09972dd132f02beeea
show more ...
|
#
b9b4c7db |
| 05-Apr-2022 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: object: don't use 'bool' argument constructor
`sdbusplus::server::object_t` has long had an enum-based parameter for signal action, but maintained a backwards compatible boolean mapping.
sdbusplus: object: don't use 'bool' argument constructor
`sdbusplus::server::object_t` has long had an enum-based parameter for signal action, but maintained a backwards compatible boolean mapping. It is time to remove this boolean to make it more observable which actions are being used in applications. Map all `true` occurrences to `action::defer_emit`.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I12bac733597177ec85336a204b081779fe6ce19e
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 ...
|
#
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> Change-Id: Ic87853
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 ...
|
#
9d18e562 |
| 16-Nov-2018 |
Ratan Gupta <ratagupt@linux.vnet.ibm.com> |
Add support for individual property update
SNMP Manager D-Bus object doesn't have support for individual D-Bus property update. This commit adds the support for the same.
Resolves openbmc/phosphor-
Add support for individual property update
SNMP Manager D-Bus object doesn't have support for individual D-Bus property update. This commit adds the support for the same.
Resolves openbmc/phosphor-snmp#2
Change-Id: Ic72366b6b18190e66e23d400a5f2c95037947809 Signed-off-by: Ratan Gupta <ratagupt@linux.vnet.ibm.com>
show more ...
|
#
a7ff3850 |
| 16-Nov-2018 |
Ratan Gupta <ratagupt@linux.vnet.ibm.com> |
Change the logic of generating the D-Bus object identifier
Presently D-Bus object identifier is generated with the hash of D-Bus properties, as a result of this if the value of D-Bus property gets c
Change the logic of generating the D-Bus object identifier
Presently D-Bus object identifier is generated with the hash of D-Bus properties, as a result of this if the value of D-Bus property gets change the D-Bus object identifier will get change.
This commit fixes this problem by keeping the last identifier value in the manager object so whenever user creates new snmp manager object it is incremented by 1, hence the object path becomes unique.
This commit also takes care of that if at any point of time if snmp manager app restart it gets the same D-Bus identifier as it was before the restart.
Change-Id: I456c11f7824ff678ae470bc6641f0e0cc7c1f6bc Signed-off-by: Ratan Gupta <ratagupt@linux.vnet.ibm.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 persistent file whene
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 ...
|
#
1dc9178d |
| 19-Apr-2018 |
Ratan Gupta <ratagupt@in.ibm.com> |
Implement the Client create interface
This commit also implement the D-Bus service which would be used for snmp client configuration and would add the snmp manager/trap receiver D-Bus objects under
Implement the Client create interface
This commit also implement the D-Bus service which would be used for snmp client configuration and would add the snmp manager/trap receiver D-Bus objects under namespace /xyz/openbmc_project/network/snmp/manager/
It implements the delete interface for SNMP client D-Bus Object.
Resolves openbmc/openbmc#3057
Change-Id: I0df7b1475f81325b9ac497c1fb350c3f62329686 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
show more ...
|