From 57922dcb8e6497f02fdee9306494e932e25dcace Mon Sep 17 00:00:00 2001 From: Nauman_Ahad Date: Tue, 5 Jan 2016 21:01:17 +0500 Subject: QTIP Index calculation along with a script to run qtip from docker Calculation of Result Indices for 1. Compute suite 2. Storage suite 3. Network suite A script to run qtip from inside the docker container (for Jenkins Jobs) Resolved bugs with ssl_trasform.py, sys info collection on ubuntu and system information collection script Change-Id: Ic5abb3dbd0012cd2257b588b1b3067a6677b1f5d Signed-off-by: Nauman_Ahad --- docker/Dockerfile | 3 ++- docker/run_qtip.sh | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100755 docker/run_qtip.sh (limited to 'docker') diff --git a/docker/Dockerfile b/docker/Dockerfile index b0d512f8..0087689c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -10,7 +10,8 @@ LABEL version="0.1" description="OPNFV QTIP Docker container" -ENV repos_dir /home/opnfv/repos +ENV REPOS_DIR /home/opnfv/repos +ENV QTIP_DIR /home/opnfv/repos/qtip WORKDIR /home/opnfv diff --git a/docker/run_qtip.sh b/docker/run_qtip.sh new file mode 100755 index 00000000..dd3d322f --- /dev/null +++ b/docker/run_qtip.sh @@ -0,0 +1,17 @@ +#! /bin/bash + +cp ${REPOS_DIR}/releng/utils/fetch_os_creds.sh ${QTIP_DIR}/data/ +cd ${QTIP_DIR}/data && source get_env_info.sh -n ${INSTALLER_TYPE} -i ${INSTALLER_IP} +source ${QTIP_DIR}/data/opnfv-creds.sh +cd ${QTIP_DIR} && python qtip.py -l ${LAB} -f compute.txt +cd ${QTIP_DIR} && python qtip.py -l ${LAB} -f storage.txt +cd ${QTIP_DIR} && python qtip.py -l ${LAB} -f network.txt + +cd ${QTIP_DIR}/data/ref_results/ $$ python compute_suite.py +cd ${QTIP_DIR}/data/ref_results/ $$ python storage_suite.py +cd ${QTIP_DIR}/data/ref_results/ $$ python network_suite.py + + + + + -- cgit 1.2.3-korg