Created new data/boot_table.json file to define boot tests.
Change-Id: I5be822230ee340a1b56f69f8b972c33f40569c0d
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/data/boot_table.json b/data/boot_table.json
new file mode 100644
index 0000000..1feea0b
--- /dev/null
+++ b/data/boot_table.json
@@ -0,0 +1,53 @@
+# 2017/02/20 Note: Commenting out 'boot_progress' requirements until they are working in product code.
+# TODO: Uncomment the boot_progress lines when support is re-introduced.
+{
+ "BMC Power On": {
+ "start": {
+ "chassis": "^Off$",
+ # "boot_progress": "^Off$",
+ "host": "^Off$"
+ },
+ "end": {
+ "chassis": "^On$",
+ # "boot_progress": "^FW Progress, Starting OS$",
+ "host": "^Running$",
+ "os_ping": "^1$",
+ "os_login": "^1$",
+ "os_run_cmd": "^1$"
+ },
+ "bmc_reboot": 0,
+ "method_type": "keyword",
+ "method": "Initiate Power On wait=${0}"
+ },
+ "BMC Power Off": {
+ "start": {
+ "chassis": "^On$",
+ # "boot_progress": "^FW Progress, Starting OS$",
+ "host": "^Running$"
+ },
+ "end": {
+ "chassis": "^Off$",
+ # "boot_progress": "^Off$",
+ "host": "^Off$",
+ "os_ping": "^0$",
+ "os_login": "^0$",
+ "os_run_cmd": "^0$"
+ },
+ "bmc_reboot": 0,
+ "method_type": "keyword",
+ "method": "Initiate Power Off"
+ },
+ "BMC MC Reset Warm": {
+ "start": {
+ "chassis": "^Off|On$"
+ },
+ "end": {
+ "chassis": "^Off$",
+ # "boot_progress": "^Off$",
+ "host": "^Off$"
+ },
+ "bmc_reboot": 1,
+ "method_type": "keyword",
+ "method": "Start Command /sbin/reboot"
+ }
+}