host-bmc: Implement Inventory Item interface

Adding support to host Inventory Item dbus interface.  PLDM hosts the
dbus interface based on the entity type.  The Inventory Item 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.interface.yaml

Change-Id: Ifed3cc01d825a69d64afcffd8447f7c8d9387913
Signed-off-by: Archana Kakani <archana.kakani@ibm.com>
diff --git a/host-bmc/dbus/inventory_item.cpp b/host-bmc/dbus/inventory_item.cpp
new file mode 100644
index 0000000..a706220
--- /dev/null
+++ b/host-bmc/dbus/inventory_item.cpp
@@ -0,0 +1,32 @@
+#include "inventory_item.hpp"
+
+namespace pldm
+{
+namespace dbus
+{
+
+std::string InventoryItem::prettyName() const
+{
+    return sdbusplus::xyz::openbmc_project::Inventory::server::Item::
+        prettyName();
+}
+
+std::string InventoryItem::prettyName(std::string value)
+{
+    return sdbusplus::xyz::openbmc_project::Inventory::server::Item::prettyName(
+        value);
+}
+
+bool InventoryItem::present() const
+{
+    return sdbusplus::xyz::openbmc_project::Inventory::server::Item::present();
+}
+
+bool InventoryItem::present(bool value)
+{
+    return sdbusplus::xyz::openbmc_project::Inventory::server::Item::present(
+        value);
+}
+
+} // namespace dbus
+} // namespace pldm