Add IPMI cipher default in tox.ini profile
and https://gerrit.openbmc-project.xyz/#/c/10387/ changes bellow
IPMI cipher level integrity test
Changes:
- Added test to execute all cipher supported level.
- Added local IPMI test suite keyword to execute command
with a given cipher level value.
- Added new IPMI_CIPHER_LEVEL global variable.
- Added new default variable IPMI_CIPHER_LEVEL and set
value to 3.
- Added IPMI chipher supported list variable.
Change-Id: Ib8083c55028cea31275df46594cde7c187d36496
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/ipmi_client.robot b/lib/ipmi_client.robot
index 60c5a45..591919c 100755
--- a/lib/ipmi_client.robot
+++ b/lib/ipmi_client.robot
@@ -15,9 +15,9 @@
${netfnByte}= ${EMPTY}
${cmdByte}= ${EMPTY}
${arrayByte}= array:byte:
-${IPMI_EXT_CMD}= ipmitool -I lanplus -C 3
+${IPMI_EXT_CMD}= ipmitool -I lanplus -C ${IPMI_CIPHER_LEVEL}
${IPMI_USER_OPTIONS} ${EMPTY}
-${IPMI_INBAND_CMD}= ipmitool -C 3
+${IPMI_INBAND_CMD}= ipmitool -C ${IPMI_CIPHER_LEVEL}
${HOST}= -H
${RAW}= raw