aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/config_functest.py
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2015-09-22 14:12:26 +0200
committerjose.lausuch <jose.lausuch@ericsson.com>2015-09-22 14:12:26 +0200
commit0e69b924ce354246feeb95ea56feacce5dcf8751 (patch)
treeb51d19f9ac013036c965f8046da3b03c437fcfaf /testcases/config_functest.py
parentd9bb547be665f2cfc284103028fbe912ff6c69bb (diff)
added yum install of needed packages on jumphost
Change-Id: I7ee320dc9564ad144d9f1106c79a876e2d5b1bdc Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'testcases/config_functest.py')
-rw-r--r--testcases/config_functest.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/testcases/config_functest.py b/testcases/config_functest.py
index 9268aa611..a80da49db 100644
--- a/testcases/config_functest.py
+++ b/testcases/config_functest.py
@@ -90,6 +90,12 @@ def action_start():
logger.debug("Cleaning possible functest environment leftovers.")
action_clean()
+ logger.info("Installing needed libraries on the host")
+ cmd = "sudo yum -y install gcc libffi-devel python-devel openssl-devel gmp-devel libxml2-devel libxslt-devel postgresql-devel git wget"
+ if not functest_utils.execute_command(cmd, logger):
+ logger.error("There has been a problem while installing software packages.")
+ exit(-1)
+
logger.info("Installing ODL environment...")
if not install_odl():
logger.error("There has been a problem while installing Robot.")