Processor Turbo Test

Add processor turbo mode test back into the robot test library.
Processor turbo mode was not supported until recently.

Resolves openbmc/openbmc-test-automation#1354
Change-Id: I7971c21fc666e8adb1fcea50a1bb4faf08bcff9b
Signed-off-by: Steven Sombar <ssombar@us.ibm.com>
diff --git a/lib/utils.robot b/lib/utils.robot
index 885afa2..b1aa8da 100755
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -1395,18 +1395,17 @@
     [Return]  ${turbo_setting}
 
 
-
 Set Turbo Setting Via REST
     [Documentation]  Set turbo setting via REST.
-    [Arguments]  ${setting}
+    [Arguments]  ${setting}  ${verify}=${False}
 
     # Description of argument(s):
-    # setting  Value which needs to be set.(i.e. False or True).
+    # setting  State to set TurboAllowed, 1=allowed, 0=not allowed.
+    # verify   If True, read the TurboAllowed setting to confirm.
 
     ${data}=  Create Dictionary  data=${${setting}}
-    Write Attribute   ${CONTROL_HOST_URI}turbo_allowed  TurboAllowed
-    ...  data=${data}
-
+    Write Attribute  ${CONTROL_HOST_URI}turbo_allowed  TurboAllowed
+    ...  verify=${verify}  data=${data}
 
 
 Set Control Boot Mode