oem-ibm: Adding entity path correction function
This commit introduces enhancements to rectify entity paths over DBus.
Formerly, the conventional DBus path involved appending an instance
number, such as 'system' becoming 'system1', 'motherboard' becoming
'motherboard1', and 'chassis' becoming 'chassis1'. This function is
designed to align with IBM's specific use case, ensuring the numbering
system adheres appropriately.
Testing:
Unit tests passed
Change-Id: I671f8486078054b44110ffa2cbf169c63d164cf1
Signed-off-by: Kamalkumar Patel <kamalkumar.patel@ibm.com>
diff --git a/host-bmc/utils.hpp b/host-bmc/utils.hpp
index 2b0e2a7..6a3629e 100644
--- a/host-bmc/utils.hpp
+++ b/host-bmc/utils.hpp
@@ -35,9 +35,11 @@
* BMC's entity association tree
* @return
*/
-void updateEntityAssociation(const EntityAssociations& entityAssoc,
- pldm_entity_association_tree* entityTree,
- ObjectPathMaps& objPathMap, EntityMaps entityMaps);
+void updateEntityAssociation(
+ const EntityAssociations& entityAssoc,
+ pldm_entity_association_tree* entityTree, ObjectPathMaps& objPathMap,
+ EntityMaps entityMaps,
+ pldm::responder::oem_platform::Handler* oemPlatformHandler);
/** @brief Parsing entity to DBus string mapping from json file
*