More changes to handle new style state processing:
- Changed the bmc state expected values from
HOST_BOOTED/HOST_POWERED_OFF to Ready/Ready.
- Commented out expectations for boot_progress until we have
host ipmi enabled.
Change-Id: I7df4c0bc01ca500b59592a1eb6380c7392f5c7d4
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/lib/boot/poweroffs.py b/lib/boot/poweroffs.py
index d72fd81..ec2673c 100755
--- a/lib/boot/poweroffs.py
+++ b/lib/boot/poweroffs.py
@@ -44,8 +44,10 @@
cmd_buf = ["Create Dictionary", "power=${0}",
"bmc=HOST_POWERED_OFF", "boot_progress=Off"]
else:
+ # TODO: Add back boot_progress when ipmi is enabled on Witherspoon.
cmd_buf = ["Create Dictionary", "chassis=Off",
- "bmc=HOST_POWERED_OFF", "boot_progress=Off",
+ "bmc=Ready",
+ # "boot_progress=Off",
"host=Off"]
grp.rdpissuing_keyword(cmd_buf)
final_state = BuiltIn().run_keyword(*cmd_buf)
diff --git a/lib/boot/powerons.py b/lib/boot/powerons.py
index 94ee1b1..0977d4c 100755
--- a/lib/boot/powerons.py
+++ b/lib/boot/powerons.py
@@ -45,9 +45,10 @@
"bmc=HOST_BOOTED",
"boot_progress=FW Progress, Starting OS"]
else:
+ # TODO: Add back boot_progress when ipmi is enabled on Witherspoon.
cmd_buf = ["Create Dictionary", "chassis=On",
- "bmc=HOST_BOOTED",
- "boot_progress=FW Progress, Starting OS",
+ "bmc=Ready",
+ # "boot_progress=FW Progress, Starting OS",
"host=Running"]
grp.rdpissuing_keyword(cmd_buf)
final_state = BuiltIn().run_keyword(*cmd_buf)