aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-09-06Merge "correct error code and cleanup duplicated code in ssh_test()"Yujun Zhang1-44/+23
2016-09-06Add ansible.cfg so that we can get ansible running timezhifeng.jiang2-0/+5
JIRA:QTIP-99 Change-Id: If42ddfd4337533b63dff3909c880a7e7b8e0fc58 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-04Call ansible playbook by ansible api instead of os.systemzhifeng.jiang2-16/+13
JIRA:QTIP-99 Change-Id: Ife53a48d4af1fd3c60efc0673611321b3bc487a7 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-01Merge "Add ssh option "UserKnownHostsFile=/dev/null""Yujun Zhang1-2/+2
2016-08-31correct error code and cleanup duplicated code in ssh_test()wu.zhihui1-44/+23
Change-Id: I6d7f598b7b8d2dbb987f0c82abb9831b2fd782a5 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-08-29Add ssh option "UserKnownHostsFile=/dev/null"wu.zhihui1-2/+2
To prevent the OpenSSH warning about permission denied, add ssh option "UserKnownHostsFile=/dev/null" Change-Id: I0b0d765bc2d14c666d5367c655ced0ea31cc7f87 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-08-29Nominating Zhifeng Jiang <Jiang.Zhifeng@zte.com.cn> as new committer for ↵Yujun Zhang1-0/+7
QTIP project. Zhifeng has been contributed a majority of code to QTIP since last season[1][2]. I believe she will help QTIP project to make a success in next release. All qtip committers, please vote +1 or +2 if you support this nomination [3]. This patch reopens #19141 [4]. Please DO NOT merge until we get a majority. [1] http://stackalytics.com/?project_type=opnfv-group&metric=commits&module=qtip [2] https://git.opnfv.org/cgit/qtip/log/?qt=author&q=jiang.zhifeng%40zte.com.cn [3] https://wiki.opnfv.org/display/DEV/Committer+Promotions [4] https://gerrit.opnfv.org/gerrit/#/c/19141/ Change-Id: I59123ab8b10098e0b959d732b8ee7e0f0bedb0d1 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-08-29bugfix: miss a whitespace in the playbook command.wu.zhihui1-1/+1
According to https://build.opnfv.org/ci/job/qtip-fuel-zte-pod2-daily -master/13/consoleFull, ERROR! the playbook: ./benchmarks/playbooks/dhrystone.yaml--private-key=./data/QtipKey could not be found miss a whitespace in the playbook command. Change-Id: Id5fea085eb3e24e4105f20ec800d4a07478fb383 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-08-29Merge "Adding new committers"Yujun Zhang0-0/+0
2016-08-29Revert "Nominate Zhifeng Jiang<Jiang.ZhiFeng@zte.com.cn> as new committer"Yujun Zhang1-1/+0
The voting is reopened in https://gerrit.opnfv.org/gerrit/#/c/19703/ This reverts commit a798b89691ae2ab27db5818d468e367f5ed470ec. Change-Id: I18444476b9dfbea78924c4498be54bc7110a299f Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-08-29Adding new committersAric Gardner1-1/+0
Some formatting as well RT ticket #14023 Change-Id: Ic00063e7d6983160bc2af9d8a9189a5d0fe4dc51 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-08-25Bugfix: some errors in env_setup.py.wu.zhihui2-16/+16
Change-Id: Ia9ab50f8990659d4657e67f38ece72d5eb47f4d9 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-08-24Merge "Use test_case/default instead of the directory named with a pod's name."Yujun Zhang9-75/+31
2016-08-24Merge "Add some state change functions in db.py."Yujun Zhang3-8/+28
2016-08-24Use test_case/default instead of the directory named with a pod's name.wu.zhihui9-75/+31
1. For qtip ci job, use test_cases/default for all pods. 2. It needn't to specify ip in test case files. 3. Remove customized configurations in test case files. Change-Id: I4fb6210c024aacc4d1ed915939c0aabcfa60bb57 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-08-24Merge "Add ansible_api so that python call ansible playbook by api."Yujun Zhang5-0/+90
2016-08-24Merge "Code refactoring cli.py so that it can be reused by restful server."Yujun Zhang5-69/+121
2016-08-23Add some state change functions in db.py.zhifeng.jiang3-8/+28
modification: Add some functions in db.py Unit test will be added after functions called by restful server. Rename 'deadline' to 'max-minutes' JIRA:QTIP-99 Change-Id: I74ed93df3f2dd91fa154fa0fcb52605983ee2719 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-08-23Merge "Nominate Zhifeng Jiang<Jiang.ZhiFeng@zte.com.cn> as new committer"Wenjing Chu1-0/+1
2016-08-22Merge "Ignore .idea in git repo"Yujun Zhang1-0/+1
2016-08-22Ignore .idea in git repoYujun Zhang1-0/+1
Change-Id: I6a9f0b687c9820d07100238a9633fdf67bb67df8 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-08-22Nominate Zhifeng Jiang<Jiang.ZhiFeng@zte.com.cn> as new committerYujun Zhang1-0/+1
Change-Id: I36672adef851471a1bafd05ff86823244a24789c Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-08-21Code refactoring cli.py so that it can be reused by restful server.zhifeng.jiang5-69/+121
modification: Move function in cli.py to args_handler.py Add unit test for args_handler.py Add unit test for cli.py Delete print in driver.py to pass unit test JIRA:QTIP-99 Change-Id: Ib670d7dff494f3e04cdbe1de5c247d382b1052c1 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-08-21Add ansible_api so that python call ansible playbook by api.zhifeng.jiang5-0/+90
modification: Add ansible_api so that we can get ansible running results easily. Add UT for ansible_api.py JIRA:QTIP-99 Change-Id: I6e7b0b97e4d9ef184978833c61c17e944c1eb20c Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-08-21Merge "Code refactoring driver so that it can call ansible playbook by api."Yujun Zhang2-72/+99
2016-08-19Merge "Fetch all compute ips via installer Fuel."Yujun Zhang3-2/+223
2016-08-18Fetch all compute ips via installer Fuel.wu.zhihui3-2/+223
1. Fetch all compute ips via installer Fuel. 2. check the machines' ip. if unassigned, assign one of compute's ip to it. if assigned by test case yaml, check the validation. JIRA: QTIP-98 Change-Id: I5517916c594a14055087134d20c1fe4320b6d707 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-08-18Fix unit test 'test_cli_error' always 'pass' problem.zhifeng.jiang1-2/+2
Change-Id: Iabb4ca83f4f4167471b57411f78520d284a38b3c Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-08-18Code refactoring driver so that it can call ansible playbook by api.zhifeng.jiang2-72/+99
JIRA:QTIP-99 Change-Id: Id182e586955bd5bc34cef787e71e1b6375c36dc9 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-08-16Merge "Doc updates according to DOCS project"Yujun Zhang15-204/+183
2016-08-15Doc updates according to DOCS projectJulien15-204/+183
Upddating QTIP docs according to DOCS project wiki in: https://wiki.opnfv.org/display/DOC/Configurartion+guide and https://wiki.opnfv.org/display/DOC/Userguide JIRA: QTIP-102 Change-Id: Iab5bdcf3f290bc88d2fedc8a0153e26daf89cde8 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2016-08-15Merge "update committer list"Yujun Zhang1-2/+2
2016-08-14Merge "Add restful server API in QTIP which can be called by Yardstick."Yujun Zhang5-0/+267
2016-08-13Add restful server API in QTIP which can be called by Yardstick.zhifeng.jiang5-0/+267
modification: Add restful server API. Include needed packages in requirement file. Add unit tests for restful server api. JIRA:QTIP-97 Change-Id: I5306d5dd76ee818fef46d0e7b7392f2df2982552 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-08-11Merge "Add LICENSE file"Yujun Zhang1-0/+201
2016-08-11Add LICENSE fileYujun Zhang1-0/+201
Change-Id: Ie319df3aeccf58713f257af7274577c901a7892c Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-08-11Merge "Fix Argument Parsing"Yujun Zhang1-2/+4
2016-08-10Fix Argument ParsingSai Sindhur Malleni1-2/+4
Not making the option -l and -f causes a traceback when checking if -l is a valid directory and -f is a valid file as concatenation is attemtped between string and None type. Signed-off-by: Sai Sindhur Malleni <smalleni@redhat.com> Change-Id: If0ae87cde0e43122b3318f9c3749c05639ac3f36
2016-08-10Merge "updates to use new doc toolchain"Yujun Zhang5-152/+5
2016-08-09Merge "Deleted the earlier Heat file"Yujun Zhang0-0/+0
2016-08-09Merge "Fix the download fail and 'sshkey is not defined' problem in CI."Yujun Zhang16-71/+0
2016-08-09update committer listYujun Zhang1-2/+2
Change-Id: I93b0964854575f4d5c4407ce82a0336a7165338d Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-08-09updates to use new doc toolchainRyota MIBU5-152/+5
Change-Id: I7598be048d64b43863f0a5699eafe0214a47ed93 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-08-07Merge "Add parameter attempts in ping_test()"Yujun Zhang1-5/+7
2016-08-06Fix the download fail and 'sshkey is not defined' problem in CI.zhifeng.jiang16-71/+0
modification: Remove the proxy info in zte-pod1 Fix 'sshkey is not defined' problem in CI Change-Id: I291eb03fea3f31cd8b499c6ee86836caa9a0de71 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-08-03Add parameter attempts in ping_test()wu.zhihui1-5/+7
According to https://build.opnfv.org/ci/job/qtip-fuel-zte-pod1-daily-master/55/consoleText, it need to add attempts for ping test. The default value is 30. Change-Id: Ia6c2628bd88c963374d00ed2c02346c8d7f40c39 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-07-28Solving the facing problems when enable unit testzhifeng.jiang4-32/+15
modification: Delete and let git ignore the files which are generated by Qtip running time every time. Add the one more UT for the code "Use local QTIP CentOS.qcow2 img file" Change-Id: Ida891c421306274241d1c4581dd5e274e3bdb0fe Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-07-19Merge "Add links of project approval and PTL changes"Yujun Zhang1-4/+11
2016-07-16Fix pep8 errors for all the others python files.zhifeng.jiang12-445/+400
JIRA:QTIP-89 Change-Id: Ida1936dea3bcab6137d039fc2d21dc4df60d9f77 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-07-15Merge "Use local QTIP_CentOS.qcow2 img file."Yujun Zhang1-7/+14