Modified IPMI raw command for partial get SDR.
Added code to get SDR record ID dynamically in Suite Setup.
Modified IPMI raw commad for Get partial SDR in data/ipmi_raw_cmd_table.py
and in script file to form IPMI raw command.
Added sleep time of 10s after BMC reboot to populate SDR.
Tested: Run robot ipmi/test_ipmi_sdr.robot
Signed-off-by: Nagarjun B <nagarjunb@ami.com>
Change-Id: I1788280059fbf1153e86ec26adf875b936d92065
diff --git a/data/ipmi_raw_cmd_table.py b/data/ipmi_raw_cmd_table.py
index b7bf02d..e4395c4 100644
--- a/data/ipmi_raw_cmd_table.py
+++ b/data/ipmi_raw_cmd_table.py
@@ -467,7 +467,7 @@
# Netfunction and cmd.
"0x0a 0x23",
# Record ID offset and bytes to read.
- "0x00 0x00 0x01 0x0f",
+ "0x01 0x0f",
# Raw command To Get SDR Partial without Reservation ID.
"0x0a 0x23 0x00 0x00 0x00 0x00 0x01 0x0f"
],