Fixed adding "Get SOL Setting" keyword.

Resolves openbmc/openbmc-test-automation#718

Change-Id: Icf363d00bf807444cfe60afcc396787dca17473a
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/tests/ipmi/test_sol.robot b/tests/ipmi/test_sol.robot
index ecadd3e..f8f5af8 100644
--- a/tests/ipmi/test_sol.robot
+++ b/tests/ipmi/test_sol.robot
@@ -79,8 +79,8 @@
 
     ${privilege_level_list}=  Create List  user  operator  admin  oem
     : FOR  ${item}  IN  @{privilege_level_list}
-    \  Set SOL Setting Value  privilege-level  ${item}
-    \  ${output}=  Get SOL Setting Value  privilege level
+    \  Set SOL Setting  privilege-level  ${item}
+    \  ${output}=  Get SOL Setting  Privilege Level
     \  Should Contain  ${output}  ${item}  ignore_case=True
 
 
@@ -207,6 +207,17 @@
     Wait Until Keyword Succeeds  10 mins  30 secs
     ...  Check IPMI SOL Output Content  Petitboot
 
+Get SOL Setting
+    [Documentation]  Returns status for given SOL setting.
+    [Arguments]  ${setting}
+    # Description of argument(s):
+    # setting  SOL setting which needs to be read(e.g. "Retry Count").
+
+    ${sol_info_dict}=  Get SOL Info
+    ${setting_status}=  Get From Dictionary  ${sol_info_dict}  ${setting}
+
+    [Return]  ${setting_status}
+
 
 Restore Default SOL Configuration
     [Documentation]  Restore default SOL configuration.