summaryrefslogtreecommitdiffstats
path: root/tests/data
diff options
context:
space:
mode:
authorzhongjun <zhong.jun@zte.com.cn>2017-08-31 21:52:03 +0800
committerzhongjun <zhong.jun@zte.com.cn>2017-08-31 22:14:58 +0800
commit814729059a385d5edb0c19347b3dfa76930220a5 (patch)
treeaad882cbea94f7d7ced43d73430ae265b6d2802d /tests/data
parent91b18eadfb2ca83d9291281210342dfefa7694b2 (diff)
Add some unit test files test_netwrok.py
1.add the below unit test files: test_netwrok.py/test_schemas.py/test_query.py/test_utils.py 2.add the corresponding test conf file deploy_virtual_error.yml. Change-Id: I01292d4c94b9d6159597961a0cab515f57727ec3 Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/lab_conf/deploy_virtual_error.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/data/lab_conf/deploy_virtual_error.yml b/tests/data/lab_conf/deploy_virtual_error.yml
new file mode 100644
index 00000000..ca9fba49
--- /dev/null
+++ b/tests/data/lab_conf/deploy_virtual_error.yml
@@ -0,0 +1,31 @@
+adapter: NULL
+hosts:
+- name: 'controller01'
+ roles:
+ - 'CONTROLLER_LB'
+ template: 'templates/virtual_environment/vms/controller.xml'
+- name: 'controller02'
+ roles:
+ - 'CONTROLLER_LB'
+ template: 'templates/virtual_environment/vms/controller.xml'
+- name: 'controller03'
+ roles:
+ - 'CONTROLLER_LB'
+ template: 'templates/virtual_environment/vms/controller.xml'
+- name: 'computer01'
+ roles:
+ - 'COMPUTER'
+ template: 'templates/virtual_environment/vms/computer.xml'
+- name: 'computer02'
+ roles:
+ - 'COMPUTER'
+ template: 'templates/virtual_environment/vms/computer.xml'
+disks:
+ daisy: 50
+ controller: 100
+ compute: 100
+ ceph: 100
+daisy_passwd: 'r00tme'
+daisy_ip: '10.20.11.2'
+daisy_gateway: '10.20.11.1'
+ceph_disk_name: '/dev/sdb' \ No newline at end of file