Segregate utility methods

This commit segregates utility methods required commonly by both
openpower-read-vpd and ibm-read-vpd from methods only required by
ibm-read-vpd.
All dependency required by utility methods specific to ibm-read-vpd
is not applicable to utility methods required by openpower-read-vpd.

Hence to avoid un-necessary dependency inclusion, this change is
introduced.

Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
Change-Id: I95f2be27dc0c391a45beb1654a99506317aaa52b
diff --git a/common_utility.hpp b/common_utility.hpp
new file mode 100644
index 0000000..15e2f2c
--- /dev/null
+++ b/common_utility.hpp
@@ -0,0 +1,31 @@
+#pragma once
+#include "types.hpp"
+
+namespace openpower
+{
+namespace vpd
+{
+namespace common
+{
+namespace utility
+{
+
+/** @brief Api to Get d-bus service for given interface
+ *  @param[in] bus - Bus object
+ *  @param[in] path - object path of the service
+ *  @param[in] interface - interface under the object path
+ *  @return service name
+ */
+std::string getService(sdbusplus::bus::bus& bus, const std::string& path,
+                       const std::string& interface);
+
+/** @brief Call inventory-manager to add objects
+ *
+ *  @param [in] objects - Map of inventory object paths
+ */
+void callPIM(inventory::ObjectMap&& objects);
+
+} // namespace utility
+} // namespace common
+} // namespace vpd
+} // namespace openpower
\ No newline at end of file