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/dbus/custom_dbus.cpp b/host-bmc/dbus/custom_dbus.cpp
index f4581d8..54dd076 100644
--- a/host-bmc/dbus/custom_dbus.cpp
+++ b/host-bmc/dbus/custom_dbus.cpp
@@ -147,6 +147,16 @@
     }
 }
 
+void CustomDBus::implementConnecterInterface(const std::string& path)
+{
+    if (!connector.contains(path))
+    {
+        connector.emplace(
+            path, std::make_unique<Connector>(
+                      pldm::utils::DBusHandler::getBus(), path.c_str()));
+    }
+}
+
 void CustomDBus::implementChassisInterface(const std::string& path)
 {
     if (!chassis.contains(path))