aboutsummaryrefslogtreecommitdiffstats
path: root/tests/driver_test.py
AgeCommit message (Collapse)AuthorFilesLines
2016-09-30Merge "Start restful server auto in docker"zhifeng.jiang1-3/+20
2016-09-28Start restful server auto in dockerzhifeng.jiang1-3/+20
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-25Bugfix: Get private ip wrong in iperf vm test.zhifeng.jiang1-3/+3
Change-Id: I92c937eaadf5adfa4a8eced5b95af26612d7c523 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-15Bugfix:iperf benchmark run failed "privateip1 is undefined"zhifeng.jiang1-5/+6
modification: get privatedip1 var when role is '2-host' run on localhost once instead of twice Change-Id: I4155f2d0c45208c4a2a0e2844fdf87acb5c8575e Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-08Remove os environment in driver.py so that it can be called by restful serverzhifeng.jiang1-11/+10
modification: Change os environments to parameters in driver.py Pass the parameters in cli.py and arg_handler.py JIRA:QTIP-97 Change-Id: Id67acb7e0ac46fa9e0e32481e947055b6d37dd95 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-04Call ansible playbook by ansible api instead of os.systemzhifeng.jiang1-9/+6
JIRA:QTIP-99 Change-Id: Ife53a48d4af1fd3c60efc0673611321b3bc487a7 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.jiang1-31/+44
JIRA:QTIP-99 Change-Id: Id182e586955bd5bc34cef787e71e1b6375c36dc9 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-07-10Add some UT test cases and fix pep8 errors for driverzhifeng.jiang1-0/+65
JIRA:QTIP-89 Change-Id: I672ebaf733ec967307963a18f32ca0aa4afc672d Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>