Add cases to verify SEL action via IPMI
Add test cases to verify add SEL entry and reserve SEL via IPMI.
Signed-off-by: Tony Lee <tony.lee@quantatw.com>
Change-Id: I9b6cd6602bd9d2601774ad623157f4c48f0bfe85
diff --git a/data/ipmi_raw_cmd_table.py b/data/ipmi_raw_cmd_table.py
index 3d3dd65..4e1c811 100644
--- a/data/ipmi_raw_cmd_table.py
+++ b/data/ipmi_raw_cmd_table.py
@@ -71,5 +71,22 @@
"dc",
"Disable nibble position 6th LSB e.g. 0x00",
]
+ },
+ 'SEL_entry':
+ {
+ 'Add':
+ [
+ # raw command, expected output, comment
+ "0x0a 0x44 0x00 0x00 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x04 0x01 0x17 0x00 0xa0 0x04 0x07",
+ "02 00",
+ "02 00 is Record ID for added record, LS Byte first",
+ ],
+ 'Reserve':
+ [
+ # raw command, expected output, comment
+ "0x0a 0x42",
+ "27 00",
+ "27 is Reservation ID, LSB, 00 Reservation ID, MSB ",
+ ]
}
}