Add redfish host force restart boot type
Changes:
- Added code to support new boot keyword.
Change-Id: Ic51ce535a09432dae653723f8ce852bc85e65763
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/boot_utils.robot b/lib/boot_utils.robot
index 361f977..61bc876 100644
--- a/lib/boot_utils.robot
+++ b/lib/boot_utils.robot
@@ -850,6 +850,32 @@
Run Key U ${cmd_buf}
+RF SYS ForceRestart
+ [Documentation] Do "RF SYS ForceRestart" boot test.
+ [Arguments] ${stack_mode}=${stack_mode} ${quiet}=${quiet}
+
+ # Description of argument(s):
+ # stack_mode If stack_mode is set to "skip", each test
+ # specified in the boot_stack is only
+ # performed if the machine is not already in
+ # the state that would normally result from
+ # running the given boot test. Otherwise,
+ # the test is skipped. If stack_mode is set
+ # to "normal", all tests from the boot_stack
+ # are performed. "skip" mode is useful when
+ # you simply want the machine in a desired
+ # state. The default value is the global
+ # value of "${stack_mode}"
+ # quiet If this parameter is set to ${1}, this
+ # keyword will print only essential
+ # information. The default value is the
+ # global value of "${quiet}"
+
+ ${cmd_buf} Catenate OBMC Boot Test \ loc_boot_stack=RF SYS ForceRestart
+ ... \ loc_stack_mode=${stack_mode} \ loc_quiet=${quiet}
+ Run Key U ${cmd_buf}
+
+
Smart Power Off
[Documentation] Do a smart power off.
[Arguments] ${quiet}=${QUIET}