split the commands out
Split the commands out to avoid conflicts in multiple definitions of
IPMI_CC_OK, etc, in a different environment.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I1f3a0214b4f6f6417a5649b0fc2d297119f8ad88
diff --git a/commands.hpp b/commands.hpp
new file mode 100644
index 0000000..dfe8f29
--- /dev/null
+++ b/commands.hpp
@@ -0,0 +1,27 @@
+#pragma once
+
+namespace google
+{
+namespace ipmi
+{
+
+enum SysOEMCommands
+{
+ // The Sys cable check command.
+ SysCableCheck = 0,
+ // The Sys cpld version over ipmi command.
+ SysCpldVersion = 1,
+ // The Sys get eth device command.
+ SysGetEthDevice = 2,
+ // The Sys psu hard reset command.
+ SysPsuHardReset = 3,
+ // The Sys pcie slot count command.
+ SysPcieSlotCount = 4,
+ // The Sys pcie slot to i2c bus mapping command.
+ SysPcieSlotI2cBusMapping = 5,
+ // The Sys "entity id:entity instance" to entity name mapping command.
+ SysEntityName = 6,
+};
+
+} // namespace ipmi
+} // namespace google