Removed ODL create_env from config_functest.py 87/2687/1
authorjose.lausuch <jose.lausuch@ericsson.com>
Wed, 21 Oct 2015 09:53:31 +0000 (11:53 +0200)
committerjose.lausuch <jose.lausuch@ericsson.com>
Wed, 21 Oct 2015 09:53:31 +0000 (11:53 +0200)
Since create_env script in ODL suite is not longer needed for ODL tests
because we have the libraries already installed in the docker
container, this is not needed any more.

Change-Id: I33a23c3acc0d931f6560f7b3a1d2054e5d277025
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
testcases/config_functest.py

index 507e246..c509d3d 100755 (executable)
@@ -89,13 +89,6 @@ def action_start():
         logger.debug("Cleaning possible functest environment leftovers.")
         action_clean()
 
-
-        logger.info("Installing ODL environment...")
-        if not install_odl():
-            logger.error("There has been a problem while installing Robot.")
-            action_clean()
-            exit(-1)
-
         logger.info("Starting installation of functest environment")
         logger.info("Installing Rally...")
         if not install_rally():
@@ -308,16 +301,6 @@ def check_rally():
         return False
 
 
-def install_odl():
-    cmd = "chmod +x " + ODL_DIR + "start_tests.sh"
-    functest_utils.execute_command(cmd,logger)
-    cmd = "chmod +x " + ODL_DIR + "create_venv.sh"
-    functest_utils.execute_command(cmd,logger)
-    cmd = ODL_DIR + "create_venv.sh"
-    functest_utils.execute_command(cmd,logger)
-    return True
-
-
 
 def create_glance_image(path,name,disk_format):
     """