Add OPAL Terminate Immeadiate boot test
Changes:
- Added new keyword for OPAL TI.
- Changes in boot table JSON file.
Signed-off-by: Michael Shepos <shepos@us.ibm.com>
Change-Id: I4bb26f18f6ed6d1722ea79f4b95b69bbd27dd94b
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/data/boot_lists/All b/data/boot_lists/All
index 8a3acd3..a77d00d 100755
--- a/data/boot_lists/All
+++ b/data/boot_lists/All
@@ -66,3 +66,4 @@
pflash
Out of Band Code Update
OS Code Update
+OPAL TI
diff --git a/data/boot_table.json b/data/boot_table.json
index b38a9fb..b8af1b3 100644
--- a/data/boot_table.json
+++ b/data/boot_table.json
@@ -791,5 +791,32 @@
"method_type": "keyword",
"method": "Redfish Power Operation ForceRestart",
"lib_file_path": "bmc_redfish_utils.robot"
+ },
+ # OPAL Terminate Immediate.
+ "OPAL TI": {
+ "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": "Inject OPAL TI",
+ "lib_file_path": "open_power_utils.robot"
}
}