Multiple changes to support functions.
lib/dvt/obmc_call_points.robot
- Deleting this file. I don't really see a need for it.
lib/gen_print.py
- I added code to convert local copy of GEN_PRINT_DEBUG to int.
lib/gen_robot_print.py
- I added code to convert local copy of GEN_ROBOT_PRINT_DEBUG to int.
- I added import of DotDict and collections. I added code to define shortcuts
for debug and quiet versions (e.g. rdpvars, rqpvars).
bin/process_plug_in_packages.py
- Change from using dissuing to dpissuing to coincide with changes in
gen_robot_print.py
- Shift 'Starting plug-in' output 1 char to the right to align better with
time stamp output.
lib/rest_client.robot
- I added support for a quiet parm to the following keywords:
- OpenBMC Get Request
- OpenBMC Post Request
- Read Attribute
- Call Method
- I cleaned up excessive spaces (e.g. 4 where 2 will do).
- I changed " =" to "=" for consistency (e.g. "${data} =" to "${data}=").
lib/utils.robot
- I cleaned up some lines exceeding 79 chars.
- I cleaned up excessive spaces (e.g. 4 where 2 will do).
- I changed " =" to "=" for consistency (e.g. "${data} =" to "${data}=").
- I added support for a quiet parm to the following keywords:
- Get Boot Progress
- Check OS
- Wait for OS
- Get BMC State
- Get Power State
- This quiet parm may contribute to resolving the following issue:
https://github.com/openbmc/openbmc-test-automation/issues/162
- I added support for a wait parm to "Initiate Power On". It defaults to ${1}
to preserve traditional behavior. I have calls to this keyword that only
want it to "Initiate Power On" and that's it. No waiting for anything.
- I added support for print_string parm to Check OS.
- I improved the error output for "Check OS".
- I improved the output for "Wait for OS"
lib/dvt/obmc_driver_vars.txt
- Changed all "IPL" to "BOOT". "IPL" is an IBM term. This file only used by
obmc_boot_test.robot so change is safe.
Change-Id: I9a410b17b5ec4ffb0c8998cb6b8763c41cfd2655
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/lib/dvt/obmc_driver_vars.txt b/lib/dvt/obmc_driver_vars.txt
index 41bc6eb..0ce4bee 100644
--- a/lib/dvt/obmc_driver_vars.txt
+++ b/lib/dvt/obmc_driver_vars.txt
@@ -5,31 +5,24 @@
# Alias of the master connection to the BMC
${master_alias} master
-# The count of the IPL we're currently doing - used in the FOR loop
-${IPL_COUNT} ${0}
+# The count of the boot we're currently doing - used in the FOR loop.
+${BOOT_COUNT} ${0}
-# The total number of IPLs we plan on doing
-${IPL_TOTAL} ${3}
+# The status of the last boots that finished
+${BOOT_STATUS} ${EMPTY}
-# The total number of IPLs that have passed and failed
-${IPL_PASSED} ${0}
-${IPL_FAILED} ${0}
-
-# The status of the last IPL that finished
-${IPL_STATUS} ${EMPTY}
-
-# A list of the last 10 IPLs that have been performed (see Log Last Ten)
+# A list of the last 10 boots that have been performed (see Log Last Ten)
@{LAST_TEN}
-# A list of keywords of valid IPLs that can be performed
+# A list of keywords of valid boots that can be performed
@{VALID_POWER_ON} BMC Power On
@{VALID_POWER_OFF} BMC Power Off
#@{VALID_ACCYCLE}
#@{VALID_REBOOT}
-# The master list of all IPLs possible, for reference. (Currently not in use).
-@{MASTER_IPL_LIST} BMC Power On BMC Power Off
+# The master list of all boots possible, for reference. (Currently not in use).
+@{MASTER_BOOT_LIST} BMC Power On BMC Power Off
-# The list of available IPLs - Modifying this will limit what IPLs can be done.
+# The list of available boots - Modifying this will limit what boots can be done.
# This list is also used by: Setup Run Table, Log Run Table
-@{AVAIL_IPLS} BMC Power On BMC Power Off
+@{AVAIL_BOOTS} BMC Power On BMC Power Off