Add support for getting a connected peer from IOHS or SMPGROUP
This adds getConnectedTarget support to get a connected peer
target that is across a bus from a provided IOHS or
SMPGROUP/IOLINK target
Signed-off-by: Caleb Palmer <cnpalmer@us.ibm.com>
Change-Id: I00320cf604ea21023b702fc984efd83f137ab36d
diff --git a/util/dbus.hpp b/util/dbus.hpp
index fc8f11a..d8510ac 100644
--- a/util/dbus.hpp
+++ b/util/dbus.hpp
@@ -134,6 +134,23 @@
std::map<std::string, std::string>& io_additional,
const std::vector<FFDCTuple>& i_ffdc);
+/** @brief Machine ID definitions */
+enum class MachineType
+{
+ Rainier_2S4U,
+ Rainier_2S2U,
+ Rainier_1S4U,
+ Rainier_1S2U,
+ Everest,
+};
+
+/**
+ * @brief Read the System IM keyword to get the machine type
+ *
+ * @return An enum representing the machine type
+ */
+MachineType getMachineType();
+
} // namespace dbus
} // namespace util