History log of /openbmc/phosphor-networkd/test/test_netlink.cpp (Results 1 – 11 of 11)
Revision Date Author Comments
# cafc1512 25-Jul-2023 William A. Kennington III <wak@google.com>

treewide: Convert most fmt::format -> std::format

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


# 9c441fd4 24-Feb-2023 William A. Kennington III <wak@google.com>

treewide: Ignore non-ethernet devices

These are not regular ethernet devices that use INET protocols. We can
ignore them as they just produce journal spam otherwise.

Tested: Verified that our MCTP

treewide: Ignore non-ethernet devices

These are not regular ethernet devices that use INET protocols. We can
ignore them as they just produce journal spam otherwise.

Tested: Verified that our MCTP interfaces are no longer reported as
objects and that our NCSI and ETH interfaces are still added.

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

show more ...


# 89d734b9 10-May-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.

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

show more ...


# 454a0dee 12-Nov-2022 William A. Kennington III <wak@google.com>

types: Migrate all of the Info types

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


# 7784856d 26-Oct-2022 William A. Kennington III <wak@google.com>

test: Make mock syscalls take InterfaceInfo

This will make it easier to expand the parameters and plumb data through
the mock.

Change-Id: I5ca015a0494c092d9d247bbb2b7d0122c5e58fd8
Signed-off-by: Wi

test: Make mock syscalls take InterfaceInfo

This will make it easier to expand the parameters and plumb data through
the mock.

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

show more ...


# 9ecb90eb 14-Oct-2022 William A. Kennington III <wak@google.com>

test/ethernet_interface: Improve syscall test coverage

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


# a19558ed 13-May-2021 William A. Kennington III <wak@google.com>

test: Fix VLA declarations

C++ doesn't support VLAs, but none of the uses were actually intended to
be dynamic. Instead, refactor out array lengths into constexpr
expressions.

test: Fix VLA declarations

C++ doesn't support VLAs, but none of the uses were actually intended to
be dynamic. Instead, refactor out array lengths into constexpr
expressions.

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

show more ...


# 12beaada 13-Jun-2020 William A. Kennington III <wak@google.com>

util: Replace raw struct functions with stdplus

These functions were recently added to stdplus as they are useful across
projects.

Change-Id: Ia383715a253fce71dacc6bc72b1771393e

util: Replace raw struct functions with stdplus

These functions were recently added to stdplus as they are useful across
projects.

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

show more ...


# 5bb7da95 22-Apr-2019 William A. Kennington III <wak@google.com>

test_netlink: Add basic request test

This adds a basic request / response test for netlink by faking out the
enumeration of network interfaces.

Change-Id: I6a2d4f8e162bb127976a6

test_netlink: Add basic request test

This adds a basic request / response test for netlink by faking out the
enumeration of network interfaces.

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

show more ...


# 862275aa 22-Apr-2019 William A. Kennington III <wak@google.com>

test: Clear out old mocks prior to testing

This ensures we don't have stale mock data left over after each run
that will leak into unrelated tests.

Change-Id: I08bc12f99f1103c5d

test: Clear out old mocks prior to testing

This ensures we don't have stale mock data left over after each run
that will leak into unrelated tests.

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

show more ...


# c920bdb8 19-Apr-2019 William A. Kennington III <wak@google.com>

neighbor: Refactor out netlink code

This will allow us to re-use the generic netlink bits for other netlink
request operations.

Adds test coverage to the netlink message parsing

neighbor: Refactor out netlink code

This will allow us to re-use the generic netlink bits for other netlink
request operations.

Adds test coverage to the netlink message parsing routines for sanity
and regression prevention.

Tested:
Neighbor population still works when static neighbors are created on
the BMC.

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

show more ...