aboutsummaryrefslogtreecommitdiffstats
path: root/qtip/driver/ansible.py
diff options
context:
space:
mode:
authorwu.zhihui <wu.zhihui1@zte.com.cn>2017-03-04 20:33:22 +0800
committerwu.zhihui <wu.zhihui1@zte.com.cn>2017-03-08 18:03:15 +0800
commitb8b2d5e8de33f314a76e7a2ff2385befeafd4cc3 (patch)
tree64c44ff820ff6b02cbb76804ec5f9204704a2e87 /qtip/driver/ansible.py
parentde5c51ecba1e74a4c9c201155b0a4f129e38efad (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 'qtip/driver/ansible.py')
-rw-r--r--qtip/driver/ansible.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/qtip/driver/ansible.py b/qtip/driver/ansible.py
deleted file mode 100644
index cd17625d..00000000
--- a/qtip/driver/ansible.py
+++ /dev/null
@@ -1,14 +0,0 @@
-##############################################################################
-# Copyright (c) 2016 ZTE Corp and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Apache License, Version 2.0
-# which accompanies this distribution, and is available at
-# http://www.apache.org/licenses/LICENSE-2.0
-##############################################################################
-
-from qtip.driver.base import BaseDriver
-
-
-class AnsibleDriver(BaseDriver):
- """driver for running performance tests with Ansible"""