Deprecate REST keywords in utils
Changes:
These keywords are no longer used in
test and REST support is deprecated.
Tested:
NA
Change-Id: Ia226cc8f11bf56f655656878b8875206b8158697
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/utils.robot b/lib/utils.robot
index 448233b..8c00bd1 100755
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -214,41 +214,6 @@
Verify LED State ${led_name} ${led_state}
-Read Turbo Setting Via REST
- [Documentation] Return turbo setting via REST.
- # Returns 1 if TurboAllowed, 0 if not.
-
- ${turbo_setting}= Read Attribute
- ... ${CONTROL_HOST_URI}turbo_allowed TurboAllowed
- RETURN ${turbo_setting}
-
-
-Set Turbo Setting Via REST
- [Documentation] Set turbo setting via REST.
- [Arguments] ${setting} ${verify}=${False}
-
- # Description of argument(s):
- # 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
- ... verify=${verify} data=${data}
-
-
-Set REST Logging Policy
- [Documentation] Enable or disable REST logging setting.
- [Arguments] ${policy_setting}=${True}
-
- # Description of argument(s):
- # policy_setting The policy setting value which can be either
- # True or False.
-
- ${log_dict}= Create Dictionary data=${policy_setting}
- Write Attribute ${BMC_LOGGING_URI}rest_api_logs Enabled
- ... data=${log_dict} verify=${1} expected_value=${policy_setting}
-
-
Old Get Boot Progress
[Documentation] Get the boot progress the old way (via org location).
[Arguments] ${quiet}=${QUIET}