History log of /openbmc/phosphor-logging/test/remote_logging_test_address.cpp (Results 1 – 4 of 4)
Revision Date Author Comments
# a1c4338e 15-Apr-2021 Lei YU <yulei.sh@bytedance.com>

rsyslog-config: Support IPv6 address

The IPv6 address requires `[]` in the config file. Add support for this
format so that user could set IPv6 address on DBus, and this service
will

rsyslog-config: Support IPv6 address

The IPv6 address requires `[]` in the config file. Add support for this
format so that user could set IPv6 address on DBus, and this service
will add `[]` in the config file to make it work correctly.

Split the logic in restore() into a separate function parseConfig() so
that it is easier to test.

Tested: Verify both IPv4 and IPv6 address could be set to rsyslog-config
and verify it works correctly.
Added several IPv6 related test cases.

Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I2135e3b0e916947449ab5d0cfa9669a98349226e

show more ...


# 27e9f131 30-Mar-2020 Andrew Geissler <geissonator@yahoo.com>

invalid-address: ensure bad path is invalid

Running the CI test suite on my mac within the docker container created
by the CI scripts results in this test passing. i.e. getaddrinfo retur

invalid-address: ensure bad path is invalid

Running the CI test suite on my mac within the docker container created
by the CI scripts results in this test passing. i.e. getaddrinfo returns
a 0 indicating "not_an_IP" is valid. It seems to indicate it's a valid
IPV6 address. Change the bad address to be badder.

Tested:
Test suite now passes on my mac

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I37e425bceacd3ea95df39a7d33cf63abacc85df7

show more ...


# f18bf836 26-Oct-2018 Patrick Venture <venture@google.com>

add .clang-format

Change-Id: I2c36b7886a25d0b235693b0776019d29608e1d52
Signed-off-by: Patrick Venture <venture@google.com>


# 834dcf10 30-Aug-2018 Deepak Kodihalli <dkodihal@in.ibm.com>

phosphor-rsyslog-conf: add unit tests

Add tests related to setting remote server IP address and port.

Change-Id: I35ac539a8316d34245ee6b1abcb9f48c1ebe5095
Signed-off-by: Deepak

phosphor-rsyslog-conf: add unit tests

Add tests related to setting remote server IP address and port.

Change-Id: I35ac539a8316d34245ee6b1abcb9f48c1ebe5095
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>

show more ...