Support redfish auto reboot via busctl
Update boot table to call redfish auto reboot during boot.
Change-Id: I91ac4ae9b7dd4e90a4ce800e3a571be62cfe0403
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/data/boot_table_redfish.json b/data/boot_table_redfish.json
index aaac314..485ff19 100644
--- a/data/boot_table_redfish.json
+++ b/data/boot_table_redfish.json
@@ -537,15 +537,17 @@
"lib_file_path": "ipmi_client.robot"
},
# Do an auto reboot by setting auto reboot to "yes" and going to quiesce state.
+ # Start of host state as off and "Redfish Initiate Auto Reboot" invoke poweron
+ # sleep 30 and then inject the auto reboot sequence.
"Auto Reboot": {
"start": {
"redfish": "^1$",
- "chassis": "^On$",
- "boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
- "host": "^Enabled$",
- "os_ping": "^1$",
- "os_login": "^1$",
- "os_run_cmd": "^1$"
+ "chassis": "^Off$",
+ "boot_progress": "^None$",
+ "host": "^Disabled$",
+ "os_ping": "^0$",
+ "os_login": "^0$",
+ "os_run_cmd": "^0$"
},
"end": {
"redfish": "^1$",
@@ -558,7 +560,7 @@
},
"bmc_reboot": 0,
"method_type": "keyword",
- "method": "utils.Initiate Auto Reboot 1000",
+ "method": "utils.Redfish Initiate Auto Reboot 1000",
"lib_file_path": "utils.robot"
},
# Run a "reboot" command on the OS_HOST.