Enable support for IPMI RMCP encryption.
Encrypted RMCP sessions support is now available and by default
the IPMI test cases needs to run with RMCP encryption enabled.
The encryption is done by using "-C 3" option in IPMI command.
Resolves openbmc/openbmc-test-automation#329
Change-Id: Iee210d7e068b1e67ef55efcfe97fb4891d31ffeb
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/lib/ipmi_client.robot b/lib/ipmi_client.robot
index 83175dc..65fec87 100755
--- a/lib/ipmi_client.robot
+++ b/lib/ipmi_client.robot
@@ -12,7 +12,7 @@
${netfnByte}= ${EMPTY}
${cmdByte}= ${EMPTY}
${arrayByte}= array:byte:
-${IPMI_EXT_CMD}= ipmitool -I lanplus -C 1 -P
+${IPMI_EXT_CMD}= ipmitool -I lanplus -C 3 -P
${HOST}= -H
${RAW}= raw