summaryrefslogtreecommitdiffstats
path: root/tests/data/lab_conf/deploy_virtual_invalid_template.yml
diff options
context:
space:
mode:
authorzhongjun <zhong.jun@zte.com.cn>2017-09-26 15:35:34 +0800
committerzhongjun <zhong.jun@zte.com.cn>2017-09-27 09:08:08 +0800
commitc5dfe52ced4f9180933188a9460fead36f92f653 (patch)
treec227de75656649a355455603b1d47882a7a4d366 /tests/data/lab_conf/deploy_virtual_invalid_template.yml
parentc243ba39ed2b4ca2723e62d37d1476fbcb7759b7 (diff)
Add more test cases in test_deploy.py
Add more test cases in test_deploy.py and test_environment.py Change-Id: I6adf3f51aa7a436387c2da8a8dc8c67f6e5a70db Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
Diffstat (limited to 'tests/data/lab_conf/deploy_virtual_invalid_template.yml')
-rw-r--r--tests/data/lab_conf/deploy_virtual_invalid_template.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/data/lab_conf/deploy_virtual_invalid_template.yml b/tests/data/lab_conf/deploy_virtual_invalid_template.yml
new file mode 100644
index 00000000..483532cb
--- /dev/null
+++ b/tests/data/lab_conf/deploy_virtual_invalid_template.yml
@@ -0,0 +1,31 @@
+adapter: libvirt
+hosts:
+- name: 'controller01'
+ roles:
+ - 'CONTROLLER_LB'
+ template: 'controller.xml'
+- name: 'controller02'
+ roles:
+ - 'CONTROLLER_LB'
+ template: 'controller.xml'
+- name: 'controller03'
+ roles:
+ - 'CONTROLLER_LB'
+ template: 'controller.xml'
+- name: 'computer01'
+ roles:
+ - 'COMPUTER'
+ template: 'computer.xml'
+- name: 'computer02'
+ roles:
+ - 'COMPUTER'
+ template: 'computer.xml'
+disks:
+ daisy: 50
+ controller: 110
+ compute: 110
+ ceph: 110
+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