f9959724 | 27-Jul-2020 |
Chen Yugang <yugang.chen@linux.intel.com> |
add BMC node properties for modular node system
In modular node system, there are several nodes in one chassis, and each node has its BMC. One node BMC takes primary role, BMC in other nodes works a
add BMC node properties for modular node system
In modular node system, there are several nodes in one chassis, and each node has its BMC. One node BMC takes primary role, BMC in other nodes works as secondary. Both primary BMC and secondary BMC manage their local node source, they are peer to peer. Sometimes, they need to communicate each other, for example, primary BMC needs to show all event log including secondary node event log, so it's needed to identify primary and secondary BMC role. In order to keep the modular node information in each BMC, it's needed to define DBUS properties to indicate BMC nodes and BMC role for each BMC node, then knows how many nodes in system and what's its BMC role in each node. The interface is: "xyz.openbmc_project.State.BMCRedundancy" And the object path is: "/xyz/openbmc_project/State/BMCRedundancy" The "Associations" object path is: "/xyz/openbmc_project/State/BMCRedundancy/Contained"
Tested: It's tested in a modular system with multi-BMC.
Change-Id: I2383a059503c7a59abc839a1109c656b20745087 Signed-off-by: Chen Yugang <yugang.chen@linux.intel.com> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|