Change to use new 'BMC Execute Command'.
Changes to use new 'BMC Execute Command' and to stop using
'Open Connection and Log In'.
Change-Id: Iab86623f8835845913233cfe2cb858c93b5e39b6
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/lib/utils.robot b/lib/utils.robot
index d53aac1..2453e1a 100755
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -9,6 +9,7 @@
Library gen_robot_print.py
Library gen_cmd.py
Library gen_robot_keyword.py
+Library bmc_ssh_utils.py
*** Variables ***
${pflash_cmd} /usr/sbin/pflash -r /dev/stdout -P VERSION
@@ -54,8 +55,7 @@
Get BMC System Model
[Documentation] Get the BMC model from the device tree.
- Open Connection And Log In
- ${bmc_model} ${stderr}= Execute Command
+ ${bmc_model} ${stderr} ${rc}= BMC Execute Command
... cat ${devicetree_base} | cut -d " " -f 1 return_stderr=True
Should Be Empty ${stderr}
Should Not Be Empty ${bmc_model}