diff options
author | 2017-08-03 22:14:27 +0800 | |
---|---|---|
committer | 2017-08-03 22:48:59 +0800 | |
commit | 60fac3073876a9a5591c42cd3fa0cb5237ed2177 (patch) | |
tree | f6836f15d71df80a90eb0a13bf9ec58d77ee9255 /tests/data/lab_conf/deploy_virtual1.yml | |
parent | 989c92844cf3bc1a1f357277e1f90b72521ce731 (diff) |
Add the unit test by pytest for get_conf.py
Add the unit test cases by pytest way for get_conf.py,
other python files will be added unit test cases gradually
in the future.
Change-Id: I2495645defcf7ee1b6014b27810ac956eec9f7de
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
Diffstat (limited to 'tests/data/lab_conf/deploy_virtual1.yml')
-rw-r--r-- | tests/data/lab_conf/deploy_virtual1.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/data/lab_conf/deploy_virtual1.yml b/tests/data/lab_conf/deploy_virtual1.yml new file mode 100644 index 00000000..7fdfc3ba --- /dev/null +++ b/tests/data/lab_conf/deploy_virtual1.yml @@ -0,0 +1,31 @@ +adapter: libvirt +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: 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 |