commit | db65c3b47728d7356728befb1df5a8dd7d3f298d | [log] [tgz] |
---|---|---|
author | Archana Kakani <archana.kakani@ibm.com> | Mon Feb 03 05:27:28 2025 -0600 |
committer | ManojKiran Eda <manojkiran.eda@gmail.com> | Mon Feb 10 05:16:53 2025 +0000 |
tree | 4a82fab3ffd39e1ad7b3d0f88dbe8914909eeadd | |
parent | 863b09b56bb06876a28882170363859577a1b162 [diff] [blame] |
host-bmc: Implement Chassis interface Adding support to host Chassis dbus interface. Based on the PDRs received from remote PLDM terminus, PLDM hosts the dbus interface based on the entity type. The Chassis 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/Chassis.interface.yaml Change-Id: Ia07c5974ae78314e0812cb09fbc6c738b4853cb9 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 94f6328..7cbbe85 100644 --- a/host-bmc/host_pdr_handler.cpp +++ b/host-bmc/host_pdr_handler.cpp
@@ -1134,6 +1134,10 @@ CustomDBus::getCustomDBus().implementCpuCoreInterface( entity.first); break; + case PLDM_ENTITY_SYSTEM_CHASSIS: + CustomDBus::getCustomDBus().implementChassisInterface( + entity.first); + break; case PLDM_ENTITY_SLOT: CustomDBus::getCustomDBus().implementPCIeSlotInterface( entity.first);