commit | 17b1e8a8fe1b1d8deab7718f40c57d766e235f63 | [log] [tgz] |
---|---|---|
author | Archana Kakani <archana.kakani@ibm.com> | Tue Feb 04 03:50:24 2025 -0600 |
committer | ManojKiran Eda <manojkiran.eda@gmail.com> | Mon Feb 10 05:16:53 2025 +0000 |
tree | 2608d6399c5580bb047f6408173f4a0b3de6e673 | |
parent | f935537d2433b9c431c3af5a2bcb2ea58a3e321d [diff] [blame] |
host-bmc: Implement Connector interface Adding support to host Connector dbus interface. Based on the PDRs received from remote PLDM terminus, PLDM hosts the dbus interface based on the entity type. The Connector 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/Connector.interface.yaml Change-Id: Iefad8287e4cb2221b14f28219473285b89098975 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 524c55b..cf2652f 100644 --- a/host-bmc/host_pdr_handler.cpp +++ b/host-bmc/host_pdr_handler.cpp
@@ -1168,6 +1168,10 @@ CustomDBus::getCustomDBus().implementPCIeSlotInterface( entity.first); break; + case PLDM_ENTITY_CONNECTOR: + CustomDBus::getCustomDBus().implementConnecterInterface( + entity.first); + break; case PLDM_ENTITY_CARD: CustomDBus::getCustomDBus().implementPCIeDeviceInterface( entity.first);