Revision Date Author Comments
# 871f163e 21-Aug-2024 Patrick Williams <patrick@stwcx.xyz>

ibm: hypervisor-network-mgr: adjust includes and fwd declarations

clang-18 with C++23 complains as follows:

```
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:

ibm: hypervisor-network-mgr: adjust includes and fwd declarations

clang-18 with C++23 complains as follows:

```
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:97:16: error: invalid application of 'sizeof' to an incomplete type 'phosphor::network::HypSysConfig'
97 | static_assert(sizeof(_Tp)>0,
...
../src/ibm/hypervisor-network-mgr-src/hyp_network_manager.hpp:159:32: note: in instantiation of member function 'std::unique_ptr<phosphor::network::HypSysConfig>::~unique_ptr' requested here
159 | SystemConfPtr systemConf = nullptr;
```

Get rid of the forward declaration and adjust some of the include
directives to satisfy clang.

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

show more ...


# ad205028 16-Aug-2024 Patrick Williams <patrick@stwcx.xyz>

clang-format: re-format for clang-18

clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda forma

clang-format: re-format for clang-18

clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda formatting also changed, so we have made changes to the
organization default style format to better handle lambda formatting.

See I5e08687e696dd240402a2780158664b7113def0e for updated style.
See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.

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

show more ...


# c8a5b7b7 19-Jul-2022 Asmitha Karunanithi <asmitk01@in.ibm.com>

Add DHCP functionalities to hypervisor eth interfaces

This commit adds methods that provides dhcp functionalities on
the ethernet interface like - disable dhcp on an ethernet interface,
to check if

Add DHCP functionalities to hypervisor eth interfaces

This commit adds methods that provides dhcp functionalities on
the ethernet interface like - disable dhcp on an ethernet interface,
to check if dhcp is enabled on an interface.

Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.com>
Change-Id: Ic713782d48c4c3cc1e1d029212b3ecf7ff5f39ad

show more ...


# c24de883 08-Jun-2021 Asmitha Karunanithi <asmitk01@in.ibm.com>

Add ethernet objects under hypervisor network obj

In this commit, ethernet interface dbus objects are created
under the hypervisor network service.

busctl tree xyz.openbmc_project.Network.Hyperviso

Add ethernet objects under hypervisor network obj

In this commit, ethernet interface dbus objects are created
under the hypervisor network service.

busctl tree xyz.openbmc_project.Network.Hypervisor
└─/xyz
└─/xyz/openbmc_project
└─/xyz/openbmc_project/network
└─/xyz/openbmc_project/network/hypervisor
├─/xyz/openbmc_project/network/hypervisor/config
├─/xyz/openbmc_project/network/hypervisor/eth0
└─/xyz/openbmc_project/network/hypervisor/eth1

Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.com>
Change-Id: I4222fa29a9df607c8291d7f81f7f3e837442bc26

show more ...