History log of /openbmc/phosphor-snmp/test/test_snmp_client.cpp (Results 1 – 6 of 6)
Revision Date Author Comments
# 40f769bb 20-Jun-2023 Ivan Mikhaylov <fr0st61te@gmail.com>

Add UDP protocol by default in SNMP client

Set UDP protocol as transport protocol by default on Client
instantiation.

Tested: protocol set as UDP by default when creating subscribers.

```
busctl c

Add UDP protocol by default in SNMP client

Set UDP protocol as transport protocol by default on Client
instantiation.

Tested: protocol set as UDP by default when creating subscribers.

```
busctl call xyz.openbmc_project.Network.SNMP /xyz/openbmc_project/network/snmp/manager xyz.openbmc_project.Network.Client.Create Client sq 192.168.1.25 999
s "/xyz/openbmc_project/network/snmp/manager/1"

busctl get-property xyz.openbmc_project.Network.SNMP /xyz/openbmc_project/network/snmp/manager/1 xyz.openbmc_project.Network.Client Address
s "192.168.1.25"

busctl get-property xyz.openbmc_project.Network.SNMP /xyz/openbmc_project/network/snmp/manager/1 xyz.openbmc_project.Network.Client TransportProtocol
s "xyz.openbmc_project.Network.Client.TransportProtocol.UDP"
```

Change-Id: I21aa601519cbfa51db3b21d260e77c46e6383ae7
Signed-off-by: Ivan Mikhaylov <fr0st61te@gmail.com>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

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 ...


# 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 ...


# 2cbf7231 24-Feb-2021 Patrick Williams <patrick@stwcx.xyz>

test: unit test fixes for vtable exception

Seeing the following unit test failures due to duplicate
objects being put onto the dbus. This is likely due to a
change in an underlying library to be mo

test: unit test fixes for vtable exception

Seeing the following unit test failures due to duplicate
objects being put onto the dbus. This is likely due to a
change in an underlying library to be more stringent. Changed
the object path for the second objects to avoid the exception.

[ RUN ] TestSNMPClient.CheckPersistency
unknown file: Failure
C++ exception with description "sd_bus_add_object_vtable:
org.freedesktop.DBus.Error.FileExists: File exists" thrown in the test body.
[ FAILED ] TestSNMPClient.CheckPersistency (0 ms)

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

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 ...