pldm: Implement Cable interface

Adding support to host Cable dbus interface.
Based on the PDRs received from remote PLDM terminus,
PLDM hosts the dbus interface based on the entity type.
The Cable interface is defined at [1].

[1]: https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Inventory/Item/Cable.interface.yaml

Change-Id: I23f02387c1d50ce8d9c5921760740760cea2cd47
Signed-off-by: Archana Kakani <archana.kakani@ibm.com>
diff --git a/host-bmc/dbus/cable.cpp b/host-bmc/dbus/cable.cpp
new file mode 100644
index 0000000..fe298c1
--- /dev/null
+++ b/host-bmc/dbus/cable.cpp
@@ -0,0 +1,34 @@
+#include "cable.hpp"
+
+namespace pldm
+{
+namespace dbus
+{
+
+double Cable::length() const
+{
+    return sdbusplus::xyz::openbmc_project::Inventory::Item::server::Cable::
+        length();
+}
+
+double Cable::length(double value)
+{
+    return sdbusplus::xyz::openbmc_project::Inventory::Item::server::Cable::
+        length(value);
+}
+
+std::string Cable::cableTypeDescription() const
+{
+    return sdbusplus::xyz::openbmc_project::Inventory::Item::server::Cable::
+        cableTypeDescription();
+}
+
+std::string Cable::cableTypeDescription(std::string value)
+{
+    return sdbusplus::xyz::openbmc_project::Inventory::Item::server::Cable::
+        cableTypeDescription(value);
+}
+
+} // namespace dbus
+
+} // namespace pldm