summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-03-18Refactor reporter moduleTaseer15-77/+569
- 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>
2017-03-08Merge "Remove hardcode from some playbooks"zhihui wu3-3/+9
2017-03-08Merge "Refactor dpi playbook"zhihui wu5-14/+172
2017-03-08Refactor dpi playbookwu.zhihui5-14/+172
Local test is ok. Change-Id: I22a333eae940433a1ca228e6ee7f570b8d0c0fc9 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-08Remove hardcode from some playbookswu.zhihui3-3/+9
Remove hardcode ($HOME/qtip_result) from these three playbooks. Change-Id: Iefcf0d4c6caf6be6b6888ff6abe4c36621666129 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-07Merge "rework env.py"zhihui wu3-79/+396
2017-03-07Merge "Add `subrepo` basic usage in developer guide."Yujun Zhang1-0/+57
2017-03-07Merge "Qtip command completion."Yujun Zhang1-1/+17
2017-03-07Merge "Implement debug option"Yujun Zhang2-25/+13
2017-03-07Merge "Implement reporter module."Yujun Zhang6-11/+81
2017-03-07Merge "Create draft of report template in console"Yujun Zhang1-0/+22
2017-03-07Add `subrepo` basic usage in developer guide.Yujun Zhang1-0/+57
Change-Id: I4e066d91c9d0775ba698584f561cce997d60ad6b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-03-07Merge "Switch License tool to develop branch"Yujun Zhang2-5/+6
2017-03-04rework env.pywu.zhihui3-79/+396
Create a new class AnsibleEnvSetup for setuping test environment for ansible driver. Change-Id: I5d2385b33e5666acb7bbac1a6d960a805d846a32 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-04Merge "bugfix on bash scripts"zhihui wu2-21/+18
2017-03-04Merge "Refactor dhrystone playbook"zhihui wu9-1/+169
2017-03-04Implement debug optionTaseer Ahmed2-25/+13
Show traceback only when debug flag specified. JIRA: QTIP-201 Change-Id: I9cc4b4ed5a2cb2d2efabd9c0eb3aac216321ebac Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-03-04Merge "Add missing license headers"Yujun Zhang3-0/+27
2017-03-03Implement reporter module.Taseer Ahmed6-11/+81
- Add cli module - Implement timeline outline JIRA: QTIP-199 Signed-off-by: Taseer Ahmed <taseer94@gmail.com> Change-Id: I487b76123a785731c356143d1ae7f3123c11f398
2017-03-03Add missing license headersYujun Zhang3-0/+27
Change-Id: I33cdd3b1304c695b81d2e23434a70acfcc9a21f8 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-03-03Switch License tool to develop branchYujun Zhang2-5/+6
The default branch in the remote repository has been changed to develop. -----------auto-generated by git-subrepo------------- git subrepo pull --branch=develop third-party/License subrepo: subdir: "third-party/License" merged: "88b1440" upstream: origin: "git@github.com:openzero-zte/License.git" branch: "develop" commit: "88b1440" git-subrepo: version: "0.3.0" origin: "https://github.com/ingydotnet/git-subrepo" commit: "988f8c8" ------------------------------------------------------- Change-Id: I6efbee7217e1f04febeaf5b5079ee3e7eda797cd Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-03-03bugfix on bash scriptswu.zhihui2-21/+18
When debugging on real environment, I found these two bugs. Local test is ok. Change-Id: I799afe6a4c24fcdf370d761c83376ca3f2ce43d2 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-03Restructure docsYujun Zhang21-0/+0
- Following the changes as in functest[1] since the guide[2] in wiki is a bit out of date - Some folders are empty for now as a placeholder Now: - release - release notes - testing - developer - design - overview - requirement - user - config guide - user guide - installation - scenarios [1]: https://gerrit.opnfv.org/gerrit/#/c/29151/ [2]: https://wiki.opnfv.org/display/DOC/Documentation+Guide Change-Id: I81b4597536c8bf02a925641d71d0969f6f5537f4 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-03-03Create draft of report template in consoleYujun Zhang1-0/+22
Change-Id: Ie6e626753c6562c361542c45e8504d177d624d2a Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-03-03Refactor dhrystone playbookwu.zhihui9-1/+169
- Break previous one playbook into three playbooks: setup.yaml: setup test environment. run.yaml: execute test steps clean.yaml: cleanup test environment to restore environment The advantage is cleaning part will never be blocked by another. - Just do testing on remote hosts, parse logfile on localhost. - Use ansible module instead of shell command. - Move up all files under /ansible and remove ansible directory. Under /ansible, ansible package cann't be imported. Change-Id: I43c65be23869b7d42ca769994d4decb9a012d196 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-01Install latest requirment packageswu.zhihui1-1/+4
When I debug code in qtip container, I found the version of paramiko(1.16.0) is outdated. There is a bug based on this version.[1] Solution: 1. Pip install qtip requirment packages with -U. 2. Update dependent packages.[2][3] And docker image is built successfully on local. [1] http://stackoverflow.com/questions/42029415/ paramiko-futurewarning-ctr-mode-needs-counter-parameter [2] http://www.paramiko.org/installing.html [3] https://cryptography.io/en/latest/installation/ Change-Id: I9d90c49f7cf3048f4717a76ffcb19dab68a687d4 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-01Qtip command completion.Taseer Ahmed1-1/+17
Change-Id: I164150acd05eacf5ccdb182280b747495d34347d Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-03-01Merge "refactor code related with setup env"zhihui wu4-112/+175
2017-02-28refactor code related with setup envwu.zhihui4-112/+175
- modify env.py and scripts - add unit test Change-Id: I416cd517bdddfeb907675705009d83ecada7f87c Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-02-27Rename test case to avoid possible name conflictYujun Zhang1-0/+0
pytest does not allow two test file have same name despite they are in different folder. Change-Id: I568fe042f6dbe99df336d0ce4d6ed9c78305fe74 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-27Deprecate unused drivers sample and yardstickYujun Zhang2-29/+0
- yardstick driver will not be implemented in Danube release - sample driver is no longer continued Change-Id: I22a86fe22b08c85b2a18ef70443d725bc4a25246 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-27Merge "Fix bug when no paths is given for Plan constructor"Yujun Zhang5-16/+47
2017-02-27Merge "Add reporter PoC"Yujun Zhang4-17/+40
2017-02-27Merge "Refactoring qtip.runner"Yujun Zhang3-43/+28
2017-02-24Fix bug when no paths is given for Plan constructorYujun Zhang5-16/+47
FileLoader was trying to initialize abspath by finding a matched name from abspath which will lead to an exception. Use default paths of class instead. Change-Id: I8ca2122e97edd734aa68b4c6b12196960842313b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-23Merge "Addition of detail viewing command."Yujun Zhang6-3/+48
2017-02-23Merge "Update tox to produce coverage report"zhihui wu1-0/+2
2017-02-23Merge "add logger's unittest"Yujun Zhang2-0/+48
2017-02-23Merge "refactor logger to make unittest possible"zhihui wu1-5/+4
2017-02-23Merge "guides for openssl issue in macOS"zhihui wu1-0/+18
2017-02-22add logger's unittestSerenaFeng2-0/+48
Change-Id: I9a7d3c6afeff5432017f5bfd4a961a719c93c086 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-22guides for openssl issue in macOSJulien1-0/+18
Change-Id: I61454e35db30050a4473ab9058ddcd9c7b44fcbe Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-02-22refactor logger to make unittest possibleSerenaFeng1-5/+4
Change-Id: Ibb630ea34701e454aabf78821f4c40781d2607ed Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-02-22Merge "bugfix for grep"zhihui wu1-2/+2
2017-02-22Add reporter PoCYujun Zhang4-17/+40
Change-Id: I5134a0d95d75fcb3a75267a5f20b4ace8638156a Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-22Merge "Cover also tests folder"Yujun Zhang1-0/+1
2017-02-22Merge "Add Api Basic framework skeleton"Yujun Zhang4-3/+21
2017-02-22bugfix for grepwu.zhihui1-2/+2
Change-Id: I1474a4e4f5884f17cbf3e6d62fae7e743921aae1 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-02-22Update tox to produce coverage reportJulien1-0/+2
JIRA:QTIP-204 Change-Id: If77558ed2f6e454b4abebdbb185755925d91c963 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-02-22Add Api Basic framework skeletonAkhil Batra4-3/+21
- Requirements updated to remove flask and include connexion - Api specifications will be added to specs file in swagger/ - controllers module will handle all requests and responses JIRA: QTIP-213 Change-Id: Icfec15ddeff7d53c53ce64910ae2bddd4fc0f260 Signed-off-by: Akhil Batra <akhil.batra@research.iiit.ac.in>