forked from openbmc/phosphor-networkd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change SLAAC to IPv6SLAAC as per bios enum (openbmc#67)
* Change SLAAC to IPv6SLAAC as per bios enum The "method" attribute of the bios table had the below values: "IPv6Static", "IPv6DHCP", "SLAAC" There is a recent change that changes "SLAAC" to "IPv6SLAAC". This commit has changes with respect to the above change. Tested By: busctl set-property xyz.openbmc_project.Network.Hypervisor \ /xyz/openbmc_project/network/hypervisor/eth1 \ xyz.openbmc_project.Network.EthernetInterface DHCPEnabled s \ "xyz.openbmc_project.Network.EthernetInterface.DHCPConf.v6stateless" When the above value is set, the dbus origin is changed to "SLAAC" and bios table is updated to "IPv6SLAAC" Change-Id: I619c80b4e25d4a5a8fb7766adcc1191de42b2ffd Signed-off-by: Asmitha Karunanithi <[email protected]> * Add dependency on pldm service for hypervisor app The hypervisor app depends on the bios service currently, that comes up with the bios table. But it is pldm that populates the bios table values. There are cases, where hypervisor app comes up first before pldm populates the bios table, causing the app to have default values (0.0.0.0 ip) in the dbus even when vmi ip has been configured. This commit adds a dependency on pldm service for the hypervisor app to start. Tested By: * Rebooted the bmc - and checked if hypervisor dbus has the vmi ip that is configured * Code updated the bmc to observe the same behaviour as above Change-Id: I1ba3c54c0eb24ebe7c5fab52ef80a47bd9d57c82 Signed-off-by: Asmitha Karunanithi <[email protected]> * code-format: fix up downstream clang issues 1050 branch didn't have CI running so some issues got in. Enable CI and fix issues. Signed-off-by: Andrew Geissler <[email protected]> * Fix CI failure for a unit test case This commit resolves CI failure for dhcpEnabled test case Change-Id: Ifcb90fc077eba9e44b394f95325e11e22d79322b Signed-off-by: Asmitha Karunanithi <[email protected]> --------- Signed-off-by: Asmitha Karunanithi <[email protected]> Signed-off-by: Andrew Geissler <[email protected]> Co-authored-by: Andrew Geissler <[email protected]>
- Loading branch information
1 parent
d8e6801
commit 8fa2a6d
Showing
6 changed files
with
49 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
src/ibm/hypervisor-network-mgr-src/xyz.openbmc_project.Network.Hypervisor.service.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters