diff options
author | wu.zhihui <wu.zhihui1@zte.com.cn> | 2017-03-04 20:33:22 +0800 |
---|---|---|
committer | wu.zhihui <wu.zhihui1@zte.com.cn> | 2017-03-08 18:03:15 +0800 |
commit | b8b2d5e8de33f314a76e7a2ff2385befeafd4cc3 (patch) | |
tree | 64c44ff820ff6b02cbb76804ec5f9204704a2e87 /legacy/utils/driver.py | |
parent | de5c51ecba1e74a4c9c201155b0a4f129e38efad (diff) |
Implement ansible driver
- 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>
Diffstat (limited to 'legacy/utils/driver.py')
0 files changed, 0 insertions, 0 deletions