summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorNauman_Ahad <Nauman_Ahad@dell.com>2016-01-05 21:01:17 +0500
committerNauman_Ahad <Nauman_Ahad@dell.com>2016-01-05 21:01:17 +0500
commit57922dcb8e6497f02fdee9306494e932e25dcace (patch)
tree03243a0673de88e39cc682d4d64e54be2ad1c898 /docker
parent8812f4746015c669dc8dcab23069f5244ff8acb6 (diff)
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 <Nauman_Ahad@dell.com>
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile3
-rwxr-xr-xdocker/run_qtip.sh17
2 files changed, 19 insertions, 1 deletions
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
+
+
+
+
+