Replaced cipher 3 with 17 as cipher 3 support is removed

Change-Id: I881d25ae24513f056a9cc208407d6e35e624eec4
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/data/ipmi_raw_cmd_table.py b/data/ipmi_raw_cmd_table.py
index b8a2b41..f68f5ac 100644
--- a/data/ipmi_raw_cmd_table.py
+++ b/data/ipmi_raw_cmd_table.py
@@ -11,7 +11,7 @@
 # Refer:
 # openbmc/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipe
 # s-phosphor/ipmi/phosphor-ipmi-host/cipher_list.json
-valid_ciphers = ['3', '17']
+valid_ciphers = ['17']
 unsupported_ciphers = ['1', '2', '15', '16']
 
 IPMI_RAW_CMD = {
diff --git a/lib/ipmi_client.py b/lib/ipmi_client.py
index 3c747aa..6264a45 100644
--- a/lib/ipmi_client.py
+++ b/lib/ipmi_client.py
@@ -12,7 +12,7 @@
 
 # Set default values for required IPMI options.
 ipmi_interface = 'lanplus'
-ipmi_cipher_suite = BuiltIn().get_variable_value("${IPMI_CIPHER_LEVEL}", '3')
+ipmi_cipher_suite = BuiltIn().get_variable_value("${IPMI_CIPHER_LEVEL}", '17')
 ipmi_port = BuiltIn().get_variable_value("${IPMI_PORT}", '623')
 ipmi_username = BuiltIn().get_variable_value("${IPMI_USERNAME}", "root")
 ipmi_password = BuiltIn().get_variable_value("${IPMI_PASSWORD}", "0penBmc")
diff --git a/lib/resource.robot b/lib/resource.robot
index 36603c5..dfd7a67 100755
--- a/lib/resource.robot
+++ b/lib/resource.robot
@@ -25,7 +25,7 @@
 # can override to "Dbus" from command line.
 ${IPMI_COMMAND}    External
 # IPMI chipher default.
-${IPMI_CIPHER_LEVEL}  ${3}
+${IPMI_CIPHER_LEVEL}  ${17}
 
 # PDU related parameters
 ${PDU_TYPE}         ${EMPTY}
diff --git a/tox.ini b/tox.ini
index ffc96e2..a77a745 100644
--- a/tox.ini
+++ b/tox.ini
@@ -10,7 +10,7 @@
     SYSLOG_IP_ADDRESS=127.0.0.1
     SYSLOG_PORT=514
     IPMI_COMMAND=External
-    IPMI_CIPHER_LEVEL=3
+    IPMI_CIPHER_LEVEL=17
 whitelist_externals = *
 install_command = pip install {opts} {packages}
 deps = -r{toxinidir}/requirements.txt