Test power reading via IPMI raw.
Resolves openbmc/openbmc-test-automation#1248
Change-Id: I468e4e62b1ed6ae19f3ec3b0ba4162c7798bbd4d
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/data/ipmi_raw_cmd_table.py b/data/ipmi_raw_cmd_table.py
index 48c135c..57805f6 100644
--- a/data/ipmi_raw_cmd_table.py
+++ b/data/ipmi_raw_cmd_table.py
@@ -35,5 +35,15 @@
"none",
"Enabled nibble position 6th LSB e.g. 0x1",
],
+ },
+ 'power_reading':
+ {
+ 'Get':
+ [
+ # raw command, expected output(s), comment
+ "0x2c 0x02 0xdc 0x01 0x01 0x00",
+ "dc d5 00 d5 00 d5 00 d5 00 00 00 00 00 00 00 00 00 00",
+ "Byte position 2nd LSB e.g. d5 Instantaneous power readings",
+ ],
}
}