commit | 765cf03dfed4da20ea0418a509c49b033fcbef3a | [log] [tgz] |
---|---|---|
author | Archana Kakani <archana.kakani@ibm.com> | Tue Feb 04 06:24:14 2025 -0600 |
committer | ManojKiran Eda <manojkiran.eda@gmail.com> | Mon Feb 10 05:16:53 2025 +0000 |
tree | 8dc361311c32adcf58cac4769673daa1dccbd7ed | |
parent | c366447aecf9f76638430c484c94178cc1d90464 [diff] [blame] |
host-bmc: Implement Panel interface Adding support to host Panel dbus interface. Based on the PDRs received from remote PLDM terminus, PLDM hosts the dbus interface based on the entity type. The Panel interface is defined at [1]. Tested: Functional test passed [1]: https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Inventory/Item/Panel.interface.yaml Change-Id: I9e98baa8a0559a6cc38e8557349f4e2369ba6058 Signed-off-by: Archana Kakani <archana.kakani@ibm.com>
diff --git a/host-bmc/host_pdr_handler.cpp b/host-bmc/host_pdr_handler.cpp index e83495c..4278025 100644 --- a/host-bmc/host_pdr_handler.cpp +++ b/host-bmc/host_pdr_handler.cpp
@@ -1171,6 +1171,10 @@ CustomDBus::getCustomDBus().implementPowerSupplyInterface( entity.first); break; + case PLDM_ENTITY_CHASSIS_FRONT_PANEL_BOARD: + CustomDBus::getCustomDBus().implementPanelInterface( + entity.first); + break; case PLDM_ENTITY_SLOT: CustomDBus::getCustomDBus().implementPCIeSlotInterface( entity.first);