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/tests/ipmi/test_general_ipmi.robot b/tests/ipmi/test_general_ipmi.robot
index 7145ede..cfbc33d 100644
--- a/tests/ipmi/test_general_ipmi.robot
+++ b/tests/ipmi/test_general_ipmi.robot
@@ -11,7 +11,6 @@
 
 Test Teardown       FFDC On Test Case Fail
 
-
 *** Variables ***
 
 ${new_mc_id}=  HOST
@@ -20,6 +19,13 @@
 
 *** Test Cases ***
 
+Verify Supported Cipher List
+    [Documentation]  Execute all supported cipher levels and verify.
+    [Tags]  Verify_Supported_Cipher_List
+
+    :FOR  ${cipher_level}  IN  @{valid_cipher_list}
+    \  Execute IPMI Command With Cipher  ${cipher_level}
+
 Set Asset Tag With Valid String Length
     [Documentation]  Set asset tag with valid string length and verify.
     [Tags]  Set_Asset_Tag_With_Valid_String_Length
@@ -753,3 +759,19 @@
     ${physical_interface_count}=  Get Length  ${mac_unique_list}
 
     [Return]  ${physical_interface_count}
+
+
+Execute IPMI Command With Cipher
+    [Documentation]  Execute IPMI command with a given cipher level value.
+    [Arguments]  ${cipher_level}
+
+    # Description of argument(s):
+    # cipher_level  IPMI chipher level value
+    #               (e.g. "1", "2", "3", "15", "16", "17").
+
+    ${ipmi_cmd}=  Catenate  SEPARATOR=
+    ...  ipmitool -I lanplus -C ${cipher_level} -P${SPACE}${IPMI_PASSWORD}
+    ...  ${SPACE}${HOST}${SPACE}${OPENBMC_HOST}${SPACE}mc info
+
+    ${rc}  ${output}=  Run And Return RC and Output  ${ipmi_cmd}
+    Should Be Equal  ${rc}  ${0}  msg=${output}