From 814729059a385d5edb0c19347b3dfa76930220a5 Mon Sep 17 00:00:00 2001 From: zhongjun Date: Thu, 31 Aug 2017 21:52:03 +0800 Subject: 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 --- tests/data/lab_conf/deploy_virtual_error.yml | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 tests/data/lab_conf/deploy_virtual_error.yml (limited to 'tests/data/lab_conf') 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 -- cgit 1.2.3-korg