Enabled sensor number option in SEL add

Signed-off-by: Tony Lee <tony.lee@quantatw.com>
Change-Id: Ifa9de373601a6859d684997bd8c56cf7dfa3b734
diff --git a/ipmi/test_ipmi_sel.robot b/ipmi/test_ipmi_sel.robot
index b8f4a9e..e685333 100644
--- a/ipmi/test_ipmi_sel.robot
+++ b/ipmi/test_ipmi_sel.robot
@@ -7,6 +7,10 @@
 
 Test Teardown    FFDC On Test Case Fail
 
+*** Variables ***
+
+${sensor_number}      0x17
+
 
 *** Test Cases ***
 
@@ -43,7 +47,7 @@
     Create SEL
     # Get last SEL entry.
     ${resp}=  Run IPMI Standard Command  sel elist last 1
-    Run Keywords  Should Contain  ${resp}  Temperature #0x17  AND
+    Run Keywords  Should Contain  ${resp}  Temperature #${sensor_number}  AND
     ...  Should Contain  ${resp}  Asserted
     ...  msg=Add SEL Entry failed.
 
@@ -70,5 +74,5 @@
     # Create a SEL.
     # Example:
     # a | 02/14/2020 | 01:16:58 | Temperature #0x17 |  | Asserted
-    Run IPMI Standard Command
-    ...  raw ${IPMI_RAW_CMD['SEL_entry']['Add'][0]}
+    Run IPMI Command
+    ...  0x0a 0x44 0x00 0x00 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x04 0x01 ${sensor_number} 0x00 0xa0 0x04 0x07