Leverage logging config and refactor the logger
[functest.git] / functest / ci / config_functest.yaml
1 general:
2     dir:
3         # Relative to the path where the repo is cloned:
4         vping:             functest/opnfv_tests/openstack/vping
5         dir_odl:           functest/opnfv_tests/sdn/odl
6         rally:             functest/opnfv_tests/openstack/rally
7         tempest_cases:     functest/opnfv_tests/openstack/tempest/custom_tests
8         dir_vIMS:          functest/opnfv_tests/vnf/ims
9         dir_onos:          functest/opnfv_tests/sdn/onos/teston
10         dir_onos_sfc:      functest/opnfv_tests/sdn/onos/sfc
11
12         # Absolute path
13         home:               /home/opnfv
14         repos:              /home/opnfv/repos
15         repo_functest:      /home/opnfv/repos/functest
16         dir_repo_rally:     /home/opnfv/repos/rally
17         repo_tempest:       /home/opnfv/repos/tempest
18         dir_repo_releng:    /home/opnfv/repos/releng
19         repo_vims_test:     /home/opnfv/repos/vnfs/vims-test
20         repo_sdnvpn:        /home/opnfv/repos/sdnvpn
21         repo_sfc:           /home/opnfv/repos/sfc
22         dir_repo_onos:      /home/opnfv/repos/onos
23         dir_repo_promise:   /home/opnfv/repos/promise
24         dir_repo_doctor:    /home/opnfv/repos/doctor
25         repo_copper:        /home/opnfv/repos/copper
26         dir_repo_ovno:      /home/opnfv/repos/ovno
27         repo_parser:        /home/opnfv/repos/parser
28         repo_domino:        /home/opnfv/repos/domino
29         repo_snaps:         /home/opnfv/repos/snaps
30         functest:           /home/opnfv/functest
31         functest_test:      /home/opnfv/repos/functest/functest/opnfv_tests
32         results:            /home/opnfv/functest/results
33         functest_logging_cfg:   /home/opnfv/repos/functest/functest/ci/logging.json
34         functest_conf:      /home/opnfv/functest/conf
35         functest_data:      /home/opnfv/functest/data
36         dir_vIMS_data:      /home/opnfv/functest/data/vIMS/
37         rally_inst:         /home/opnfv/.rally
38
39     openstack:
40         creds: /home/opnfv/functest/conf/openstack.creds
41         snapshot_file: /home/opnfv/functest/conf/openstack_snapshot.yaml
42
43         image_name: Cirros-0.3.4
44         image_file_name:  cirros-0.3.4-x86_64-disk.img
45         image_disk_format:  qcow2
46
47         flavor_name: opnfv_flavor
48         flavor_ram: 512
49         flavor_disk: 1
50         flavor_vcpus: 1
51
52         # Private network for functest. Will be created by config_functest.py
53         neutron_private_net_name: functest-net
54         neutron_private_subnet_name: functest-subnet
55         neutron_private_subnet_cidr: 192.168.120.0/24
56         neutron_private_subnet_start: 192.168.120.2
57         neutron_private_subnet_end: 192.168.120.254
58         neutron_private_subnet_gateway: 192.168.120.254
59         neutron_router_name: functest-router
60
61     functest:
62         testcases_yaml: /home/opnfv/repos/functest/functest/ci/testcases.yaml
63
64 healthcheck:
65     disk_image: /home/opnfv/functest/data/cirros-0.3.4-x86_64-disk.img
66     disk_format: qcow2
67     wait_time: 60
68
69 snaps:
70     use_keystone: True
71     use_floating_ips: False
72
73 vping:
74     ping_timeout:   200
75     vm_flavor: m1.tiny # adapt to your environment
76     vm_name_1: opnfv-vping-1
77     vm_name_2: opnfv-vping-2
78     image_name: functest-vping
79     private_net_name: vping-net
80     private_subnet_name: vping-subnet
81     private_subnet_cidr: 192.168.130.0/24
82     router_name: vping-router
83     sg_name: vPing-sg
84     sg_desc: Security group for vPing test case
85
86 onos_sfc:
87     image_base_url: http://artifacts.opnfv.org/sfc/demo
88     image_name: TestSfcVm
89     image_file_name: firewall_block_image.img
90
91 tempest:
92     deployment_name: opnfv-tempest
93     identity:
94         tenant_name: tempest
95         tenant_description: Tenant for Tempest test suite
96         user_name: tempest
97         user_password: tempest
98     validation:
99         ssh_timeout: 130
100     private_net_name: tempest-net
101     private_subnet_name: tempest-subnet
102     private_subnet_cidr: 192.168.150.0/24
103     router_name: tempest-router
104     use_custom_images: False
105     use_custom_flavors: False
106
107 rally:
108     deployment_name: opnfv-rally
109     network_name: rally-net
110     subnet_name: rally-subnet
111     subnet_cidr: 192.168.140.0/24
112     router_name: rally-router
113
114 vnf:
115     aaa:
116         tenant_name: aaa
117         tenant_description: Freeradius server
118         tenant_images: {}
119     juju_epc:
120         tenant_name: epc
121         tenant_description: OAI EPC deployed with Juju
122         tenant_images: {}
123     cloudify_ims:
124         tenant_name: cloudify_ims
125         tenant_description: vIMS
126         tenant_images:
127             ubuntu_14.04: http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img
128             centos_7: http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-1510.qcow2
129         cloudify:
130             blueprint:
131                 url: https://github.com/boucherv-orange/cloudify-manager-blueprints.git
132                 branch: "3.3.1-build"
133             requierments:
134                 ram_min: 3000
135                 os_image: centos_7
136             inputs:
137                 keystone_username: ""
138                 keystone_password: ""
139                 keystone_tenant_name: ""
140                 keystone_url: ""
141                 manager_public_key_name: 'manager-kp'
142                 agent_public_key_name: 'agent-kp'
143                 image_id: ""
144                 flavor_id: "3"
145                 external_network_name: ""
146                 ssh_user: centos
147                 agents_user: ubuntu
148         clearwater:
149             blueprint:
150                 file_name: 'openstack-blueprint.yaml'
151                 name: "clearwater-opnfv"
152                 destination_folder: "opnfv-cloudify-clearwater"
153                 url: https://github.com/Orange-OpenSource/opnfv-cloudify-clearwater.git
154                 branch: "stable"
155             deployment_name: 'clearwater-opnfv'
156             requirements:
157                 ram_min: 1700
158                 os_image: ubuntu_14.04
159             inputs:
160                 image_id: ''
161                 flavor_id: ''
162                 agent_user: 'ubuntu'
163                 external_network_name: ''
164                 public_domain: clearwater.opnfv
165     orchestra_ims:
166         tenant_name: orchestra_ims
167         tenant_description: ims deployed with openbaton
168     opera_ims:
169         tenant_name: opera_ims
170         tenant_description: ims deployed with open-o
171
172 ONOS:
173     general:
174         onosbench_username: 'root'
175         onosbench_password: 'root'
176         onoscli_username: 'root'
177         onoscli_password: 'root'
178         runtimeout: 300
179     environment:
180         OCT: '10.20.0.1'
181         OC1: '10.20.0.7'
182         OC2: '10.20.0.7'
183         OC3: '10.20.0.7'
184         OCN: '10.20.0.4'
185         OCN2: '10.20.0.5'
186         installer_master: '10.20.0.2'
187         installer_master_username: 'root'
188         installer_master_password: 'r00tme'
189 multisite:
190     fuel:
191         installer_username: 'root'
192         installer_password: 'r00tme'
193     compass:
194         installer_username: 'root'
195         installer_password: 'root'
196         multisite_controller_ip: '10.1.0.50'
197 promise:
198     tenant_name: promise
199     tenant_description: promise Functionality Testing
200     user_name: promiser
201     user_pwd: test
202     image_name: promise-img
203     flavor_name: promise-flavor
204     flavor_vcpus: 1
205     flavor_ram: 128
206     flavor_disk: 0
207     network_name: promise-net
208     subnet_name: promise-subnet
209     subnet_cidr: 192.168.121.0/24
210     router_name: promise-router
211
212 example:
213     vm_name: example-vm
214     flavor: m1.small
215     image_name: functest-example-vm
216     private_net_name: example-net
217     private_subnet_name: example-subnet
218     private_subnet_cidr: 192.168.170.0/24
219     router_name: example-router
220     sg_name: example-sg
221     sg_desc: Example Security group
222
223 results:
224     test_db_url: http://testresults.opnfv.org/test/api/v1