Home
last modified time | relevance | path

Searched hist:a1c4338ece021ed22b575be0502f2e733c739579 (Results 1 – 3 of 3) sorted by relevance

/openbmc/phosphor-logging/test/
H A Dremote_logging_test_address.cppdiff a1c4338ece021ed22b575be0502f2e733c739579 Thu Apr 15 07:26:25 CDT 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 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
H A Dremote_logging_test_config.cppdiff a1c4338ece021ed22b575be0502f2e733c739579 Thu Apr 15 07:26:25 CDT 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 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
/openbmc/phosphor-logging/phosphor-rsyslog-config/
H A Dserver-conf.cppdiff a1c4338ece021ed22b575be0502f2e733c739579 Thu Apr 15 07:26:25 CDT 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 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