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/data/boot_table.json b/data/boot_table.json
index df1a4b2..3b049f8 100644
--- a/data/boot_table.json
+++ b/data/boot_table.json
@@ -764,5 +764,32 @@
"method_type": "keyword",
"method": "Redfish Power Operation GracefulRestart",
"lib_file_path": "bmc_redfish_utils.robot"
+ },
+ # Initiate host reboot using the Redfish API interface (ForceRestart).
+ "RF SYS ForceRestart": {
+ "start": {
+ "rest": "^1$",
+ "chassis": "^On$",
+ "boot_progress": "^FW Progress, Starting OS|OSStart$",
+ "operating_system": "^BootComplete$",
+ "host": "^Running$",
+ "os_ping": "^1$",
+ "os_login": "^1$",
+ "os_run_cmd": "^1$"
+ },
+ "end": {
+ "rest": "^1$",
+ "chassis": "^On$",
+ "boot_progress": "^FW Progress, Starting OS|OSStart$",
+ "operating_system": "^BootComplete$",
+ "host": "^Running$",
+ "os_ping": "^1$",
+ "os_login": "^1$",
+ "os_run_cmd": "^1$"
+ },
+ "bmc_reboot": 0,
+ "method_type": "keyword",
+ "method": "Redfish Power Operation ForceRestart",
+ "lib_file_path": "bmc_redfish_utils.robot"
}
}