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/test/openpower-pels/pel_test.cpp b/test/openpower-pels/pel_test.cpp
index 1842a80..3fa3d55 100644
--- a/test/openpower-pels/pel_test.cpp
+++ b/test/openpower-pels/pel_test.cpp
@@ -402,6 +402,8 @@
     EXPECT_CALL(dataIface, getBMCState()).WillOnce(Return("State.Ready"));
     EXPECT_CALL(dataIface, getChassisState()).WillOnce(Return("State.On"));
     EXPECT_CALL(dataIface, getHostState()).WillOnce(Return("State.Off"));
+    EXPECT_CALL(dataIface, getSystemIMKeyword())
+        .WillOnce(Return(std::vector<uint8_t>{0, 1, 0x55, 0xAA}));
 
     std::string pid = "_PID=" + std::to_string(getpid());
     std::vector<std::string> ad{pid};
@@ -439,6 +441,9 @@
 
     state = json["HostState"].get<std::string>();
     EXPECT_EQ(state, "Off");
+
+    auto keyword = json["System IM"].get<std::string>();
+    EXPECT_EQ(keyword, "000155AA");
 }
 
 // Test that the sections that override