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$",
diff --git a/lib/utils.robot b/lib/utils.robot
index ad1a700..3163015 100755
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -1000,7 +1000,6 @@
# Check if BMC is still online.
Wait Until Keyword Succeeds 5 min 10 sec Is BMC Unpingable
- Wait For Host To Ping ${OPENBMC_HOST} 3 min
Get BIOS Attribute