summaryrefslogtreecommitdiffstats
path: root/qtip/driver/ansible_driver.py
AgeCommit message (Collapse)AuthorFilesLines
2017-03-15add the cleanup step in runner.pywu.zhihui1-0/+3
Add the cleanup step in runner.py Change-Id: I0016986485eab5d7ab45d4a7a393bea5fb6f96b5 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn> (cherry picked from commit 57ec2e7a9757cbb1da8a1f73f0c55e8a5cb67bec)
2017-03-14Implement the workflow of compute qpiwu.zhihui1-18/+32
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> (cherry picked from commit 478cd02a9219f7c8b49d8529d1f809a04399ad0d)
2017-03-08Implement ansible driverwu.zhihui1-0/+85
- 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>