Add system IM keyword to PEL userdata0 section
Read the system IM keyword via dbus and add it to the PEL userdata0 section.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I6a45e0450928e49c8789cc2f93baad03cccf90c7
diff --git a/extensions/openpower-pels/data_interface.hpp b/extensions/openpower-pels/data_interface.hpp
index 9894684..3bfb5dc 100644
--- a/extensions/openpower-pels/data_interface.hpp
+++ b/extensions/openpower-pels/data_interface.hpp
@@ -202,6 +202,13 @@
virtual std::string getMotherboardCCIN() const = 0;
/**
+ * @brief Returns the system IM
+ *
+ * @return std::string The system IM
+ */
+ virtual std::vector<uint8_t> getSystemIMKeyword() const = 0;
+
+ /**
* @brief Get the fields from the inventory necessary for doing
* a callout on an inventory path.
*
@@ -453,6 +460,13 @@
std::string getMotherboardCCIN() const override;
/**
+ * @brief Returns the system IM
+ *
+ * @return std::vector The system IM keyword in 4 byte vector
+ */
+ std::vector<uint8_t> getSystemIMKeyword() const override;
+
+ /**
* @brief Get the fields from the inventory necessary for doing
* a callout on an inventory path.
*