Enforce BMC redfish state for BMC reset
Changes:
- Added directive in boot table for BMC state check
on BMC reset.
- remove 3 minute wait for ping and let state check
take over it.
Change-Id: I17c76beec01130c8a64a4baf8940d82a0d491d7c
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/data/boot_table_redfish.json b/data/boot_table_redfish.json
index 238fd4b..5379a4a 100644
--- a/data/boot_table_redfish.json
+++ b/data/boot_table_redfish.json
@@ -198,6 +198,7 @@
},
"end": {
"redfish": "^1$",
+ "bmc": "^Enabled$",
"chassis": "^On$",
"boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
"host": "^Enabled$",
@@ -221,6 +222,7 @@
},
"end": {
"redfish": "^1$",
+ "bmc": "^Enabled$",
"chassis": "^On$",
"boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
"host": "^Enabled$",
@@ -240,6 +242,7 @@
},
"end": {
"redfish": "^1$",
+ "bmc": "^Enabled$",
"chassis": "^Off$",
"boot_progress": "^None$",
"host": "^Disabled$"
@@ -255,6 +258,7 @@
},
"end": {
"redfish": "^1$",
+ "bmc": "^Enabled$",
"chassis": "^Off$",
"boot_progress": "^None$",
"host": "^Disabled$"
@@ -548,6 +552,7 @@
},
"end": {
"redfish": "^1$",
+ "bmc": "^Enabled$",
"chassis": "^On$",
"boot_progress": "^SystemHardwareInitializationComplete|OSBootStarted|OSRunning$",
"host": "^Enabled$",