aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci
diff options
context:
space:
mode:
authorJose Lausuch <jose.lausuch@ericsson.com>2017-02-16 19:33:50 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-16 19:33:50 +0000
commit0b5f01779a50b36d775a5ed8fed53106d04c450c (patch)
tree99fd63681cbc772ddd8a6ccc4df42e64fab230f0 /functest/ci
parent94b5433cdbbd99d6e649964072a8eb926407e63a (diff)
parent76a38b9f24f281897922ae5f5d929592ee2c9291 (diff)
Merge "Revert "Add deployment_handler printout to prepare env""
Diffstat (limited to 'functest/ci')
-rwxr-xr-xfunctest/ci/prepare_env.py24
1 files changed, 0 insertions, 24 deletions
diff --git a/functest/ci/prepare_env.py b/functest/ci/prepare_env.py
index d2e77312..6b24fe08 100755
--- a/functest/ci/prepare_env.py
+++ b/functest/ci/prepare_env.py
@@ -21,8 +21,6 @@ import subprocess
import sys
import yaml
-
-from opnfv.deployment import factory
from opnfv.utils import constants as opnfv_constants
import functest.utils.functest_logger as ft_logger
@@ -109,27 +107,6 @@ def check_env_variables():
logger.info(" IS_CI_RUN=%s" % CONST.IS_CI_RUN)
-def print_deployment_info():
- handler = None
- if CONST.INSTALLER_IP:
- if CONST.INSTALLER_TYPE == 'apex':
- pkey = '/root/.ssh/id_rsa'
- if os.path.isfile(pkey):
- handler = factory.Factory.get_handler(CONST.INSTALLER_TYPE,
- CONST.INSTALLER_IP,
- 'stack',
- pkey_file=pkey)
- elif CONST.INSTALLER_TYPE == 'fuel':
- handler = factory.Factory.get_handler(CONST.INSTALLER_TYPE,
- CONST.INSTALLER_IP,
- 'root',
- installer_pwd='r00tme')
-
- if handler:
- logger.info('\n\nDeployment information:\n%s' %
- handler.get_deployment_info())
-
-
def create_directories():
print_separator()
logger.info("Creating needed directories...")
@@ -309,7 +286,6 @@ def main(**kwargs):
elif kwargs['action'] == "start":
logger.info("######### Preparing Functest environment #########\n")
check_env_variables()
- print_deployment_info()
create_directories()
source_rc_file()
patch_config_file()