aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-10-17add CLI framework for qtipSerenaFeng7-0/+110
add cli framework to implement commands JIRA: QTIP-125 Change-Id: I442e9df9d3ea8443adb7a7aedd5849457dcead7e Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-13Refactor pushing suite result to test dbzhifeng.jiang15-156/+126
modification: remove compute_suite.py,network_suite.py,storage_suite.py handler all suite result in suite_result.py refactor pushtoDB.py so that it can be called by qtip_server JIRA:QTIP-99 Change-Id: I1630a512c22cba7be038f5301f1454b8ef4f762f Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-10-12solve log path cannot be found issueSerenaFeng2-3/+4
JIRA: QTIP-124 Change-Id: I2ff94d01085ee8f057b9792988fe5ee9792fe740 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-11Merge "change log place"Yujun Zhang2-2/+2
2016-10-11Merge "Add testdb url and node_name in post parameters of restful server"Yujun Zhang3-5/+24
2016-10-11Merge "update test data in tests/args_handler_test.py"Yujun Zhang1-1/+1
2016-10-11change log placeSerenaFeng2-2/+2
because /var/log cannot be accessed by unittest. so change the log place from /var/log to ~/opnfv/qtip/logs JIRA: QTIP-119 Change-Id: I14ba8317c94630fb8db46f532f7995c0c10595bd Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-11Merge "Rename class cli to Cli"Yujun Zhang3-6/+6
2016-10-11update test data in tests/args_handler_test.pywu.zhihui1-1/+1
args_handler_test.py use the file in test_cases/zte-pod1 as test data, since this file is removed, so update it. Change-Id: I957caaeb35eab766ce2bb02c1d7a183342d5f0fb Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-10-10Add testdb url and node_name in post parameters of restful serverzhifeng.jiang3-5/+24
JIRA:QTIP-99 Change-Id: I67f56eafba48ca096570674f5de2ff5aeb935d16 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-10-09bugfix: function name typowu.zhihui1-1/+1
Change-Id: Idf41a5cb02bdb59e6e5d107fa0734091fd9c8a91 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-10-09Merge "change fetch_compute_ips.sh path"Yujun Zhang2-3/+1
2016-10-09Merge "code refactor: create_zones.py"Yujun Zhang4-99/+78
2016-10-09remove test_cases/zte-pod1wu.zhihui15-596/+0
Now zte pods run test cases under test_cases/default instead of test_cases/zte-pod1. So remove it. Change-Id: Ie8731347185f455029defeb4c67a6761e4f74939 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-10-09code refactor: create_zones.pywu.zhihui4-99/+78
1. simply the process of creating aggregates in create_zones.py. 2. before creating aggregates, it will clean all aggregates firstly. TODO: It should clean up the created aggregates. It needs a big structure modification in args_handler.py. Let's do it step by step. Change-Id: I31e09e917ba83d4676f7f95d9f5186bce8d2a449 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-10-08Merge "Some small spelling errors."Yujun Zhang2-25/+25
2016-10-08change fetch_compute_ips.sh pathwu.zhihui2-3/+1
Change-Id: I7e3d08adc47304d8174a1706f87e6c4ae430ae34 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-10-08Some small spelling errors.linux_geek2-25/+25
Change-Id: I566ce7755388d2efc2278e4dc4c91d67d217ecb0 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2016-10-08Merge "Add primary contact to INFO"Yujun Zhang1-5/+6
2016-10-08Add primary contact to INFOYujun Zhang1-5/+6
Change-Id: I902d373699b7305a4ba1d6db891f0def89301c4c Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-10-08Merge "Fix unit test problem:'spawn_vm.py does not have attribute FetchImg'"Yujun Zhang1-2/+1
2016-10-08Merge "Add benchmark name in post request parameters"Yujun Zhang2-8/+14
2016-10-08Merge "Rename `suit` to `suite`"Yujun Zhang3-9/+9
2016-10-07Merge "Correct spelling error in function name"Yujun Zhang2-3/+3
2016-10-07Rename `suit` to `suite`Yujun Zhang3-9/+9
We should use correct words for naming. Change-Id: Ia1ec690fca62259b5f226e2d6941a507cc61786e Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-10-07Fix unit test problem:'spawn_vm.py does not have attribute FetchImg'zhifeng.jiang1-2/+1
Change-Id: I8035abfeb52515f106de4188621c207acfe54a65 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-10-07Correct spelling error in function nameYujun Zhang2-3/+3
Change-Id: I470a3266d68d19c7f7074cd6325169d94384d5e0 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-10-07Rename 'max-minutes' to 'max_minutes'Yujun Zhang3-10/+10
The naming style of query param should be consistent Change-Id: Ifb9bb3ecfbbf8caee7a00d3968a627c35d965bcb Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-10-07Rename class cli to CliYujun Zhang3-6/+6
class name should be CamelCase Change-Id: I3b68b14483a475499baf832eb1af93ecca171b14 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-10-07Merge "Running a single benchmark as an option for user."Yujun Zhang2-3/+21
2016-10-07Add benchmark name in post request parameterszhifeng.jiang2-8/+14
Change-Id: I53974789d59f316afa72fb753397baa45247e64c Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-10-01Running a single benchmark as an option for user.linux_geek2-5/+23
JIRA: QTIP-104 Change-Id: I4413d1e2670192b86af0aad62fb2752d2709fa14 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2016-10-01Merge "Non-zero exit status should be used when teminated abnormally"Yujun Zhang2-3/+3
2016-10-01Non-zero exit status should be used when teminated abnormallyYujun Zhang2-3/+3
Change-Id: I6034b3735ebf412ef4c11c837a42f121161a70b2 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-09-30Fix broken links in docsYujun Zhang3-11/+9
JIRA: QTIP-100 Change-Id: If3f91b0d683ebd497bd3f8bc34b63ddd35877e01 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-09-30Merge "The original arguments were out of order. The docker name has to be ↵Yujun Zhang1-1/+1
after all the arguments, to be able to successfully run the docker."
2016-09-30Merge "Start restful server auto in docker"zhifeng.jiang5-12/+56
2016-09-30Merge "Add qtip restful server usage in docs."zhifeng.jiang4-11/+82
2016-09-28Start restful server auto in dockerzhifeng.jiang5-12/+56
modification: Add start restful server in dockerfile Add result and detail_result in server job status Add job result assert in unit test JIRA:QTIP-99 Change-Id: I27108eb930eba1bb72c04216f468a81202179ee0 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-27Merge "code refactor: run_qtip.sh"Yujun Zhang7-152/+101
2016-09-27code refactor: run_qtip.shwu.zhihui7-152/+101
1. Add prepare_qtip_image.sh to prepare qtip image before qtip test. 2. Add cleanup_qtip_image.sh to clean up qtip image after finishing qtip test. Both of them are invoked in run_qtip.sh Change-Id: Iba892a2e02e31820ed0525f80a4e2885899557e0 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-09-26Add qtip restful server usage in docs.zhifeng.jiang4-11/+82
modification: Add qtip restful api info in apidoc. Add qtip restful api usage in userguide. modify the test_list example. JIRA:QTIP-99 Change-Id: I0da640571fa0272376e735335fb364e6e20e8a4e Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-26Merge "Change result keys to lower-case and remove ' .'"Yujun Zhang16-197/+139
2016-09-25Bugfix: Get private ip wrong in iperf vm test.zhifeng.jiang2-4/+4
Change-Id: I92c937eaadf5adfa4a8eced5b95af26612d7c523 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-25Change result keys to lower-case and remove ' .'zhifeng.jiang16-197/+139
QTIP-93 Change-Id: I125163e05b49d9631838e89571d59a967252292e Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-23Return the ansible playbook running results in driver.py and args_handler.pyzhifeng.jiang2-11/+24
JIRA:QTIP-99 Change-Id: I875ad52bc69a843e39deb92ad45da90c2e737aae Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-23The original arguments were out of order. The docker name has to be after ↵Taseer1-1/+1
all the arguments, to be able to successfully run the docker. Change-Id: I405c79c26be4d9fff90d5453a32af750323d44eb Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2016-09-21Merge "add unified logger process for qtip"Yujun Zhang6-22/+94
2016-09-21Merge "Fix issues found in security review"Yujun Zhang3-3/+3
2016-09-21add unified logger process for qtipSerenaFeng6-22/+94
log the output information to both file and console, and unify the log file path and level JIRA: QTIP-108 Change-Id: I3a881e9da1f74c6959250a94f05cf90a231c34e6 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>