qtip.git
8 years agoAdd path for QTIP docs 97/32097/4
akhilbatra898 [Tue, 28 Mar 2017 21:25:25 +0000 (02:55 +0530)]
Add path for QTIP docs

This file will serve as the index page of QTIP isolated documentation
on qtip.readthedoc.org and docs.qtip.io

Change-Id: I34315e62847bc1bdc970db9b400138c3640c9ed5
Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
8 years agoMerge "Align folder structure `docs/testing/developer` to opnfvdocs template"
Yujun Zhang [Tue, 28 Mar 2017 06:15:48 +0000 (06:15 +0000)]
Merge "Align folder structure `docs/testing/developer` to opnfvdocs template"

8 years agoMerge "Add project introduction"
Yujun Zhang [Tue, 28 Mar 2017 06:15:31 +0000 (06:15 +0000)]
Merge "Add project introduction"

8 years agoMerge "update user docs"
Yujun Zhang [Tue, 28 Mar 2017 05:57:47 +0000 (05:57 +0000)]
Merge "update user docs"

8 years agoMerge "Cleanup DEVELOP.md"
Yujun Zhang [Tue, 28 Mar 2017 05:57:34 +0000 (05:57 +0000)]
Merge "Cleanup DEVELOP.md"

8 years agoAdd project introduction 33/31533/6
Yujun Zhang [Thu, 23 Mar 2017 09:12:45 +0000 (17:12 +0800)]
Add project introduction

Change-Id: I5d0553f0ccec571f9db90b2fd8f25f0941f00b03
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "cite danube.rst in index.rst"
Yujun Zhang [Tue, 28 Mar 2017 05:46:02 +0000 (05:46 +0000)]
Merge "cite danube.rst in index.rst"

8 years agoMerge "Add API docs"
Yujun Zhang [Tue, 28 Mar 2017 05:45:55 +0000 (05:45 +0000)]
Merge "Add API docs"

8 years agoMerge "Add overview in developer guide"
Yujun Zhang [Tue, 28 Mar 2017 05:45:27 +0000 (05:45 +0000)]
Merge "Add overview in developer guide"

8 years agoMerge "remove replicated dependencies"
zhihui wu [Tue, 28 Mar 2017 03:18:05 +0000 (03:18 +0000)]
Merge "remove replicated dependencies"

8 years agoupdate user docs 55/31655/7
wu.zhihui [Fri, 24 Mar 2017 05:51:40 +0000 (13:51 +0800)]
update user docs

Change-Id: I7a7a1343c457fe1c3063dfeafa079154d495eac0
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoAdd info about selective running 83/31883/2
Taseer [Mon, 27 Mar 2017 08:33:51 +0000 (13:33 +0500)]
Add info about selective running

Change-Id: Ic5f7969c3d3969b7790d17beec10d73991ca8d08
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoAdd overview in developer guide 61/31861/1
Yujun Zhang [Mon, 27 Mar 2017 06:57:20 +0000 (14:57 +0800)]
Add overview in developer guide

Change-Id: I491f921d87cf0cec3bbef5a78e9f3065b1e012a1
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoremove replicated dependencies 55/31855/1
SerenaFeng [Mon, 27 Mar 2017 06:53:09 +0000 (14:53 +0800)]
remove replicated dependencies

Change-Id: Ie82153d201a06e7008465a5ea116b389dc1311c6
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agocite danube.rst in index.rst 33/31833/2
SerenaFeng [Mon, 27 Mar 2017 02:36:55 +0000 (10:36 +0800)]
cite danube.rst in index.rst

Change-Id: I00aa92a22e4e6aabd69463f3dd97d5d4a58f1e3a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoAdd API docs 33/31733/7
akhilbatra898 [Fri, 24 Mar 2017 22:24:47 +0000 (03:54 +0530)]
Add API docs

  - Add developer guide for API
  - Add user guide for API
  - Add api to user guide doctree

JIRA: QTIP-234

Change-Id: Id388f82c52e31b3c75599ab846e64431be8083b7
Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
8 years agoAlign folder structure `docs/testing/developer` to opnfvdocs template 27/31827/1
Yujun Zhang [Mon, 27 Mar 2017 02:15:27 +0000 (10:15 +0800)]
Align folder structure `docs/testing/developer` to opnfvdocs template

Change-Id: I9ce069cf4b5384b5788ca7cfc70e4188519667d5
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoUpdate ssh-key request 81/31781/1
akhilbatra898 [Sun, 26 Mar 2017 06:48:56 +0000 (12:18 +0530)]
Update ssh-key request

Change-Id: I86e6a5fa020439ee9eca95ea767c241c1e41703d
Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
8 years agoCleanup DEVELOP.md 57/31757/1
Yujun Zhang [Tue, 21 Mar 2017 09:04:31 +0000 (17:04 +0800)]
Cleanup DEVELOP.md

- remove unecessary content
- move CLI develop guide to rst document

Change-Id: I20b6f458aa13f1feb1764e6c4d096ec8a9dddf49
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "bugfix: regex for dpi"
Yujun Zhang [Sat, 25 Mar 2017 01:04:02 +0000 (01:04 +0000)]
Merge "bugfix: regex for dpi"

8 years agoMerge "Update CLI docs."
Yujun Zhang [Sat, 25 Mar 2017 01:03:31 +0000 (01:03 +0000)]
Merge "Update CLI docs."

8 years agoadd qtip installation in Dockerfile 69/31669/1
wu.zhihui [Fri, 24 Mar 2017 09:14:19 +0000 (17:14 +0800)]
add qtip installation in Dockerfile

Docker build successfully on local. And QTIP cli works well.

Change-Id: I0916c73e67808ae170ff7b290b8e03b605be8e69
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agobugfix: regex for dpi 67/31667/1
wu.zhihui [Fri, 24 Mar 2017 08:47:31 +0000 (16:47 +0800)]
bugfix: regex for dpi

see: https://build.opnfv.org/ci/view/qtip/job/
qtip-os-nosdn-kvm-ha-zte-pod3-daily-danube/3/console

Previous regex cann't match with log like:
"nDPI throughput:       943.34 K pps / 8.86 Gb/sec".
For pps, there are two type of unit: K and M.
Same with bps.

Change-Id: I247c8b6049cc8b264fe894538cd4f89ba544c0b8
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoMerge "Rename docs/testing/developer/design to docs/testing/developer/devguide"
Yujun Zhang [Fri, 24 Mar 2017 07:46:58 +0000 (07:46 +0000)]
Merge "Rename docs/testing/developer/design to docs/testing/developer/devguide"

8 years agoMerge "Cleanup `docs` folder"
Yujun Zhang [Fri, 24 Mar 2017 07:46:53 +0000 (07:46 +0000)]
Merge "Cleanup `docs` folder"

8 years agoMerge "Sync docs from stable/danube 05ef2c4f46a9dc7a704a290eb15817c80a52c2e6"
Yujun Zhang [Fri, 24 Mar 2017 07:46:42 +0000 (07:46 +0000)]
Merge "Sync docs from stable/danube 05ef2c4f46a9dc7a704a290eb15817c80a52c2e6"

8 years agoUpdate CLI docs. 57/31657/1
Taseer [Fri, 24 Mar 2017 06:09:13 +0000 (11:09 +0500)]
Update CLI docs.

- Update command to execute runner
- Include reporter

JIRA: QTIP-231

Change-Id: I834ac94821cea7221078fbb6160ef7467b2bd4cf
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoMerge "Integrate cli, runner and reporter."
zhihui wu [Fri, 24 Mar 2017 01:11:43 +0000 (01:11 +0000)]
Merge "Integrate cli, runner and reporter."

8 years agoMerge "Create folder for TOM tool, R module for performance dataset processing"
Morgan Richomme [Thu, 23 Mar 2017 14:20:31 +0000 (14:20 +0000)]
Merge "Create folder for TOM tool, R module for performance dataset processing"

8 years agoIntegrate cli, runner and reporter. 39/31539/4
Taseer [Thu, 23 Mar 2017 09:26:49 +0000 (14:26 +0500)]
Integrate cli, runner and reporter.

- Execute runner via a shell command
- Change format of qtip result directory to qtip-timestamp
- Add path option in reporter to match with runner

JIRA: QTIP-229

Change-Id: I7d8562fd7100b1f40cdc8d53b0daa6a06a55b495
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoRename docs/testing/developer/design to docs/testing/developer/devguide 19/31519/2
Yujun Zhang [Thu, 23 Mar 2017 08:52:11 +0000 (16:52 +0800)]
Rename docs/testing/developer/design to docs/testing/developer/devguide

See https://git.opnfv.org/opnfvdocs/tree/docs/testing/testing-dev.rst

Change-Id: Iac14adf4a2876fd74972dcf6279f7022e92cb9b5
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoCleanup `docs` folder 31/31531/1
Yujun Zhang [Thu, 23 Mar 2017 08:20:05 +0000 (16:20 +0800)]
Cleanup `docs` folder

- move legacy document to `/legacy/docs`
- move proposals to `docs/proposal`
- remove unused `.gitkeep` files

Change-Id: I1ad83ae98b7a6b3bb1738ced9b1f0d22c9c296b6
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoSync docs from stable/danube 05ef2c4f46a9dc7a704a290eb15817c80a52c2e6 99/31499/2
Yujun Zhang [Thu, 23 Mar 2017 08:06:04 +0000 (16:06 +0800)]
Sync docs from stable/danube 05ef2c4f46a9dc7a704a290eb15817c80a52c2e6

Change-Id: I519c002259143cc92417f34595a80889c93310e1
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Update CLI docs."
Yujun Zhang [Thu, 23 Mar 2017 08:24:26 +0000 (08:24 +0000)]
Merge "Update CLI docs."

8 years agoMerge "Fix socker connection issue in qtip docker"
zhihui wu [Thu, 23 Mar 2017 06:55:55 +0000 (06:55 +0000)]
Merge "Fix socker connection issue in qtip docker"

8 years agoMerge "Add unit tests for List and get in API."
zhihui wu [Thu, 23 Mar 2017 05:30:10 +0000 (05:30 +0000)]
Merge "Add unit tests for List and get in API."

8 years agoUpdate CLI docs. 51/31351/4
Taseer [Wed, 22 Mar 2017 09:33:12 +0000 (14:33 +0500)]
Update CLI docs.

JIRA: QTIP-231

Change-Id: I44bc75239e9ff59a70ec9070092101f021a3a291
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoFix socker connection issue in qtip docker 59/31459/1
Julien [Thu, 23 Mar 2017 02:37:07 +0000 (10:37 +0800)]
Fix socker connection issue in qtip docker

ansible can not run correctly in qtip docker currently in centos.

Change-Id: I92875924ae8047e20d1bb73ad655b8b8f6a59523
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
8 years agoMerge "correct the path of .ansible.cfg"
Yujun Zhang [Wed, 22 Mar 2017 14:44:12 +0000 (14:44 +0000)]
Merge "correct the path of .ansible.cfg"

8 years agoAdd unit tests for List and get in API. 11/30911/14
akhilbatra898 [Sat, 18 Mar 2017 08:46:26 +0000 (14:16 +0530)]
Add unit tests for List and get in API.

 - refactor controllers
 - remove abspath and other irrelvant data in response
 - move fixtures
 - refactor decorators

JIRA: QTIP-226

Change-Id: I5fac5b1bc998da198098992e7ddb47ba49685f31
Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
8 years agocorrect the path of .ansible.cfg 09/31309/2
wu.zhihui [Wed, 22 Mar 2017 05:20:54 +0000 (13:20 +0800)]
correct the path of .ansible.cfg

In qtip container, /home/opnfv/ is HOME path. So the customized
.ansible.cfg should be put under this directory.

Change-Id: Ie0cddab9dac72fc45c14d7d3652b6863c5748260
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoAdd missing license headers 79/31179/2
Yujun Zhang [Tue, 21 Mar 2017 10:23:39 +0000 (18:23 +0800)]
Add missing license headers

Change-Id: Idd76277c84a6afc9a545d6e2bba39aae6e7f5d71
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoWhite space control in report. 35/31135/2
Taseer [Tue, 21 Mar 2017 07:14:05 +0000 (12:14 +0500)]
White space control in report.

- Flaw: System Info and metric results at same line
  Packets per Second: 1.45System Information:

Change-Id: I22790e4b2c65fd2ef555e1c20e602a51ea97eb3b
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoMerge "mistaken delete usefuel public key"
zhihui wu [Tue, 21 Mar 2017 02:12:01 +0000 (02:12 +0000)]
Merge "mistaken delete usefuel public key"

8 years agomistaken delete usefuel public key 77/30977/2
wu.zhihui [Mon, 20 Mar 2017 02:52:49 +0000 (10:52 +0800)]
mistaken delete usefuel public key

Previously, cleanup_creds.sh will delete public keys which of
comment info is "root@$hostname". It could delete useful keys
by accident. In this patch, cleanup_creds.sh will only delete
the key which matches the key's content.

JIRA: QTIP-228

Change-Id: I1095de656570b816b7e170688acd01c27b98e74c
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoMerge "Refactor reporter module"
zhihui wu [Mon, 20 Mar 2017 01:17:01 +0000 (01:17 +0000)]
Merge "Refactor reporter module"

8 years agoRefactor reporter module 25/30125/14
Taseer [Thu, 9 Mar 2017 07:05:46 +0000 (12:05 +0500)]
Refactor reporter module

- Create templates for report format specific to each metric.
- Outputs the details of the specified metric across all the nodes
  in cluster.
- Timeline to be covered in a separate patch

JIRA: QTIP-199

Change-Id: Ic83749725b0c9cc5bd9a7f24f21b2cd113abe0e1
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoMerge "provide get_one_exceptions to unify get_xx process"
Yujun Zhang [Sat, 18 Mar 2017 06:41:55 +0000 (06:41 +0000)]
Merge "provide get_one_exceptions to unify get_xx process"

8 years agoMerge "correct a mistake for os.getenv()"
zhihui wu [Fri, 17 Mar 2017 08:40:17 +0000 (08:40 +0000)]
Merge "correct a mistake for os.getenv()"

8 years agoMerge "Implement 'show' command."
Yujun Zhang [Thu, 16 Mar 2017 15:57:03 +0000 (15:57 +0000)]
Merge "Implement 'show' command."

8 years agocorrect a mistake for os.getenv() 05/30505/2
wu.zhihui [Wed, 15 Mar 2017 05:00:25 +0000 (13:00 +0800)]
correct a mistake for os.getenv()

os.getenv returns a string not a boolean.
Although you set environment variable 'CI_DEBUG=false',
the cleanup will not be executed.

Change-Id: I077b602069f026a4b9ef6019869ac6c29c401c21
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoMerge "Add aarch64 patch"
Yujun Zhang [Wed, 15 Mar 2017 08:51:57 +0000 (08:51 +0000)]
Merge "Add aarch64 patch"

8 years agoprovide get_one_exceptions to unify get_xx process 71/30371/5
SerenaFeng [Tue, 14 Mar 2017 02:06:41 +0000 (10:06 +0800)]
provide get_one_exceptions to unify get_xx process

add refactor get_metric()

Change-Id: I972c77e63a654eeb286c573d75efe842b2887c1d
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "add the cleanup step in runner.py"
zhihui wu [Wed, 15 Mar 2017 01:09:48 +0000 (01:09 +0000)]
Merge "add the cleanup step in runner.py"

8 years agoImplement 'show' command. 51/30351/4
Taseer [Mon, 13 Mar 2017 16:13:45 +0000 (21:13 +0500)]
Implement 'show' command.

- Render the description via templates

JIRA: QTIP-205

Change-Id: I10523f85f80350e901a4a701bb65ca4833f8ff7c
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoAdd aarch64 patch 85/30185/4
Cristina Pauna [Thu, 9 Mar 2017 13:14:17 +0000 (15:14 +0200)]
Add aarch64 patch

This commit adds a patch that can be applied to the Dockerfile to adapt
it for aarch64. When applied from releng, a new Dockerfile.aarch64 is
created and an aarch64 qtip image is created.

The aarch64 qtip image will be build with the releng fix
https://gerrit.opnfv.org/gerrit/30181

JIRA: ARMBAND-219

Change-Id: I551ae7fa1d7fc23c6e5f6381d605b0b22dbec695
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
8 years agoadd the cleanup step in runner.py 29/30329/3
wu.zhihui [Mon, 13 Mar 2017 09:16:50 +0000 (17:16 +0800)]
add the cleanup step in runner.py

Add the cleanup step in runner.py

Change-Id: I0016986485eab5d7ab45d4a7a393bea5fb6f96b5
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agooptimize console info 13/30313/3
wu.zhihui [Mon, 13 Mar 2017 03:13:14 +0000 (11:13 +0800)]
optimize console info

- use QtipLogger instead of print
- delete useless print

Change-Id: I1e08382a5d78ce53cf455496363bce3762b81dd2
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoMerge "Implement the workflow of compute qpi"
zhihui wu [Mon, 13 Mar 2017 00:58:38 +0000 (00:58 +0000)]
Merge "Implement the workflow of compute qpi"

8 years agoMerge "parse benchmark result from logfile"
zhihui wu [Mon, 13 Mar 2017 00:58:31 +0000 (00:58 +0000)]
Merge "parse benchmark result from logfile"

8 years agoMiss \ in Dockerfile 99/30299/2
wu.zhihui [Sat, 11 Mar 2017 05:26:32 +0000 (13:26 +0800)]
Miss \ in Dockerfile

https://build.opnfv.org/ci/view/qtip/job/qtip-docker-build-push-master/250/console

Change-Id: If6d76c6a27cc61a1b3d468751932e21d32dff277
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoImplement the workflow of compute qpi 75/30275/6
wu.zhihui [Fri, 10 Mar 2017 16:53:00 +0000 (00:53 +0800)]
Implement the workflow of compute qpi

Local test is ok.
The result will be written to report.json.

usage: runner.py [-h] -d DEST -b BENCHMARK

optional arguments:
  -d DEST, --dest DEST  the destination where results will be stored.
  -b BENCHMARK, --benchmark BENCHMARK
                        the benchmark you want to execute.

Change-Id: Ic3a70c65a5aa045bf9df34ce4d14957a7a1b3dcf
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoparse benchmark result from logfile 69/30269/7
wu.zhihui [Fri, 10 Mar 2017 16:29:41 +0000 (00:29 +0800)]
parse benchmark result from logfile

- Put all the regex rules in regex.yaml.
- According to benchmark name, we can find related regexes.

Change-Id: Ic15bd1c77b525be3751011fa94d582da077b0345
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoMerge "env cleanup"
zhihui wu [Sat, 11 Mar 2017 04:39:55 +0000 (04:39 +0000)]
Merge "env cleanup"

8 years agoMerge "Some modifications for ansible playbook"
zhihui wu [Sat, 11 Mar 2017 04:38:47 +0000 (04:38 +0000)]
Merge "Some modifications for ansible playbook"

8 years agoMerge "Implement 'list' command."
zhihui wu [Sat, 11 Mar 2017 02:30:32 +0000 (02:30 +0000)]
Merge "Implement 'list' command."

8 years agoenv cleanup 89/30289/2
wu.zhihui [Sat, 11 Mar 2017 02:19:21 +0000 (10:19 +0800)]
env cleanup

If IF_DEBUG is True, there is not cleanup step.
If IF_DEBUG is False, host file and keypair will be
deleted on local  and public key will be removed from
remote nodes in the end of test.

Change-Id: I4a88acc2d428e41e4abaedacb011e27468b2cb57
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoSome modifications for ansible playbook 67/30267/1
wu.zhihui [Fri, 10 Mar 2017 16:26:29 +0000 (00:26 +0800)]
Some modifications for ansible playbook

- typo in ramspeed/run.yaml
- fix result logfile name for dhrystone and whetstone

Change-Id: Ic8456174a14d04c2207990eccb16601762c5a880
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoImplement 'list' command. 51/30251/3
Taseer [Fri, 10 Mar 2017 12:18:22 +0000 (17:18 +0500)]
Implement 'list' command.

- Loads Qtip components from the default path.

JIRA: QTIP-205

Change-Id: Id87993d65c5cd6a23c199cf1049d75a0971b6354
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
8 years agoImplement Retrieval of plans, QPIs, and metrics 45/30245/2
akhilbatra898 [Fri, 10 Mar 2017 10:05:04 +0000 (15:35 +0530)]
Implement Retrieval of plans, QPIs, and metrics

- All specs can be listed
- All specs can be individually retrieved
- API can be installed alongside qtip
- API can be hosted using command `qtip-api`

JIRA: QTIP-221
JIRA: QTIP-222

Change-Id: I1e80e6609cae1252cb2fcdc38c71b4bf6d02e8c9
Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
8 years agoMerge "fill benchmarks"
zhihui wu [Fri, 10 Mar 2017 09:22:38 +0000 (09:22 +0000)]
Merge "fill benchmarks"

8 years agoMerge "bugfix benchmarks cannot be found"
zhihui wu [Fri, 10 Mar 2017 09:22:17 +0000 (09:22 +0000)]
Merge "bugfix benchmarks cannot be found"

8 years agofill benchmarks 33/30233/3
SerenaFeng [Fri, 10 Mar 2017 08:58:36 +0000 (16:58 +0800)]
fill benchmarks

Change-Id: I7ad5f504058b20db72c0878cf9618e6bff186b33
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agobugfix benchmarks cannot be found 27/30227/1
SerenaFeng [Fri, 10 Mar 2017 06:03:56 +0000 (14:03 +0800)]
bugfix benchmarks cannot be found

OSError: [Errno 2] No such file or directory:
'/Users/fengxiaowei/opnfv/qtip/.venv/lib/python2.7/
site-packages/qtip/cli/../../tests/data/benchmarks/plan'

Change-Id: I510a2beb215b3e5c93cfa5870fd892b0c7720f01
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "Add missing softwares"
zhihui wu [Fri, 10 Mar 2017 05:13:10 +0000 (05:13 +0000)]
Merge "Add missing softwares"

8 years agoMerge "modify logfile directory structure"
zhihui wu [Fri, 10 Mar 2017 04:14:45 +0000 (04:14 +0000)]
Merge "modify logfile directory structure"

8 years agoAdd missing softwares 71/30171/2
wu.zhihui [Thu, 9 Mar 2017 13:40:09 +0000 (21:40 +0800)]
Add missing softwares

Install iputils-ping for ping and rsync for synchronizing
files and directories.

Change-Id: I93ba44bcb04948bbe846fb179dc673aa86a6a92a
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoMerge "Add basic swagger specifications and corresponding controllers"
Yujun Zhang [Fri, 10 Mar 2017 02:57:19 +0000 (02:57 +0000)]
Merge "Add basic swagger specifications and corresponding controllers"

8 years agoMerge "Adding Labels"
Yujun Zhang [Fri, 10 Mar 2017 02:56:37 +0000 (02:56 +0000)]
Merge "Adding Labels"

8 years agomodify logfile directory structure 03/30203/1
wu.zhihui [Thu, 9 Mar 2017 18:09:10 +0000 (02:09 +0800)]
modify logfile directory structure

After one qtip test execution, the logfiles will be stored like this:

`-- 2017-03-09-17-40
    `-- node-41
        |-- dhrystone
        |   |-- inxi.log
        |   |-- node-41.zte.com.cn-2017-03-09-01
        |   |-- node-41.zte.com.cn-2017-03-09-01.html
        |   |-- node-41.zte.com.cn-2017-03-09-01.log
        |   `-- top.log
        |-- dpi
        |   |-- dpi_dump.txt
        |   |-- inxi.log
        |   `-- top.log
        |-- ramspeed
        |   |-- Floatmem
        |   |-- Intmem
        |   |-- inxi.log
        |   `-- top.log
        |-- ssl
        |   |-- AES-128-CBC_dump
        |   |-- RSA_dump
        |   |-- inxi.log
        |   `-- top.log
        `-- whetstone
            |-- inxi.log
            |-- node-41.zte.com.cn-2017-03-09-01
            |-- node-41.zte.com.cn-2017-03-09-01.html
            |-- node-41.zte.com.cn-2017-03-09-01.log
            `-- top.log

Change-Id: I5889a0e5dbe99f28212d6e0cdf69b9c03d89a9fe
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoAdd basic swagger specifications and corresponding controllers 15/29815/8
akhilbatra898 [Mon, 6 Mar 2017 00:15:54 +0000 (05:45 +0530)]
Add basic swagger specifications and corresponding controllers

- Update specifications as per requirements
- map specifications with controllers
- make api installable

JIRA: QTIP-220

Change-Id: Id149fdcf68e869e31a00cf16d7e725e368d2b25f
Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
8 years agoMerge "Implement ansible driver"
zhihui wu [Thu, 9 Mar 2017 07:19:42 +0000 (07:19 +0000)]
Merge "Implement ansible driver"

8 years agoMerge "Playbooks for unixbench"
zhihui wu [Thu, 9 Mar 2017 07:19:35 +0000 (07:19 +0000)]
Merge "Playbooks for unixbench"

8 years agoregexes for dpi/ramspeed/ssl 65/30065/5
wu.zhihui [Wed, 8 Mar 2017 13:44:18 +0000 (21:44 +0800)]
regexes for dpi/ramspeed/ssl

- Add dpi/ramspeed/ssl logfiles
- update regexes for dpi/ramspeed/ssl

result sample:
dpi: {
    "bps": "4.57",
    "pps": "1.55"
}
ramspeed:{
    "float_add": "9967.13",
    "float_copy": "7908.64",
    "float_scale": "7870.16",
    "float_triad": "10073.43",
    "float_average": "8954.84",
    "integer_add": "11649.55",
    "integer_copy": "11562.63",
    "integer_scale": "11563.77",
    "integer_triad": "11671.22",
    "integer_average": "11611.79"
}
ssl:{
    "aes_128_cbc_1024_bytes": "584568.83k",
    "aes_128_cbc_16_bytes": "533103.05k",
    "aes_128_cbc_256_bytes": "580021.25k",
    "aes_128_cbc_64_bytes": "570042.22k",
    "aes_128_cbc_8192_bytes": "599470.83k"
    "rsa_sign_1024": "3.9",
    "rsa_sign_2048": "1.4",
    "rsa_sign_4096": "0.8",
    "rsa_sign_512": "8.4",
    "rsa_verify_1024": "88397.9",
    "rsa_verify_2048": "26951.3",
    "rsa_verify_4096": "7633.7",
    "rsa_verify_512": "222903.5"
}

Change-Id: I6db22a699111dd55d9dc48c6e8c2cf148b345563
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoMerge "playbook for ramspeed"
zhihui wu [Thu, 9 Mar 2017 01:00:44 +0000 (01:00 +0000)]
Merge "playbook for ramspeed"

8 years agoMerge "Refactor openssl playbook"
zhihui wu [Thu, 9 Mar 2017 01:00:20 +0000 (01:00 +0000)]
Merge "Refactor openssl playbook"

8 years agoMerge "Remove hardcode from some playbooks"
zhihui wu [Wed, 8 Mar 2017 10:13:22 +0000 (10:13 +0000)]
Merge "Remove hardcode from some playbooks"

8 years agoMerge "Refactor dpi playbook"
zhihui wu [Wed, 8 Mar 2017 10:13:10 +0000 (10:13 +0000)]
Merge "Refactor dpi playbook"

8 years agoImplement ansible driver 79/29779/7
wu.zhihui [Sat, 4 Mar 2017 12:33:22 +0000 (20:33 +0800)]
Implement ansible driver

- According to inputs parameters, setup test environment. If failed
during setupping, qtip will exited. If successful, execute metric
tests.
- Parameters(optional):
* keypair: the keypair to login/execute commands to the remote
  hosts. They can be automatically generated.
* hostfile: a inventory file. If not give, it can be
  automatically generated via installer.
* args: the parameters passed to playbook
- Use ansible python api to trigger ansible-playbook.

Unit test will be in a new patch.

Change-Id: I7470d348308f7cb6cb669bcc49063cf0f4da2111
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoRefactor openssl playbook 49/29849/6
wu.zhihui [Mon, 6 Mar 2017 12:22:19 +0000 (20:22 +0800)]
Refactor openssl playbook

Local test is ok.

Change-Id: I2800e364320697d436ed7b9202cc1baa3a893503
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoPlaybooks for unixbench 77/29977/6
wu.zhihui [Tue, 7 Mar 2017 16:11:00 +0000 (00:11 +0800)]
Playbooks for unixbench

Actually, both dhrystone and whether use unixbench tool
to get metric. Their playbook are too smiliar.
The playbooks under /unixbench can be used to measure
both of them.

Change-Id: I26e31c2b4ac4de35ff8b7ec6dea26b676d5078de
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoAdding Labels 43/30043/1
ShubhamRathi [Wed, 8 Mar 2017 09:22:43 +0000 (14:52 +0530)]
Adding Labels

Labels serve as anchors/ refs when referenced from other documents
This patch adds labels to docs/*/*/index.rst

Change-Id: Id23477c82231a1d02463802d60ee9d88a7fabc41
Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
8 years agoplaybook for ramspeed 05/30005/1
wu.zhihui [Wed, 8 Mar 2017 01:05:55 +0000 (09:05 +0800)]
playbook for ramspeed

These playbooks are successfully executed on Local.

Change-Id: Ie22ecb9b66364e6edf6ae0f59d0524603c4d46a9
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoRefactor dpi playbook 45/29845/5
wu.zhihui [Mon, 6 Mar 2017 10:21:34 +0000 (18:21 +0800)]
Refactor dpi playbook

Local test is ok.

Change-Id: I22a333eae940433a1ca228e6ee7f570b8d0c0fc9
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoRemove hardcode from some playbooks 83/29983/1
wu.zhihui [Tue, 7 Mar 2017 17:42:26 +0000 (01:42 +0800)]
Remove hardcode from some playbooks

Remove hardcode ($HOME/qtip_result) from these three
playbooks.

Change-Id: Iefcf0d4c6caf6be6b6888ff6abe4c36621666129
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoMerge "rework env.py"
zhihui wu [Tue, 7 Mar 2017 08:51:56 +0000 (08:51 +0000)]
Merge "rework env.py"

8 years agoMerge "Add `subrepo` basic usage in developer guide."
Yujun Zhang [Tue, 7 Mar 2017 03:32:22 +0000 (03:32 +0000)]
Merge "Add `subrepo` basic usage in developer guide."

8 years agoMerge "Qtip command completion."
Yujun Zhang [Tue, 7 Mar 2017 03:31:56 +0000 (03:31 +0000)]
Merge "Qtip command completion."

8 years agoMerge "Implement debug option"
Yujun Zhang [Tue, 7 Mar 2017 03:30:14 +0000 (03:30 +0000)]
Merge "Implement debug option"

8 years agoMerge "Implement reporter module."
Yujun Zhang [Tue, 7 Mar 2017 03:29:29 +0000 (03:29 +0000)]
Merge "Implement reporter module."