2f034f940c333f0e6baf82e2535e8ab7e82731b4
[functest.git] / testcases / config_functest.yaml
1 general:
2     directories:
3         # Relative to the path where the repo is cloned:
4         dir_vping:      testcases/vPing/CI/libraries/
5         dir_odl:        testcases/Controllers/ODL/CI/
6         dir_rally:      testcases/VIM/OpenStack/CI/libraries/
7         dir_rally_scn:  testcases/VIM/OpenStack/CI/suites/
8         dir_vIMS:       testcases/vIMS/CI/
9         dir_onos:       testcases/Controllers/ONOS/Teston/CI/
10
11         # Absolute path
12         dir_repos:          /home/opnfv/repos
13         dir_repo_functest:  /home/opnfv/repos/functest
14         dir_repo_rally:     /home/opnfv/repos/rally
15         dir_repo_releng:    /home/opnfv/repos/releng
16         dir_repo_vims_test: /home/opnfv/repos/vims-test
17         dir_repo_bgpvpn:    /home/opnfv/repos/bgpvpn
18         dir_repo_onos:      /home/opnfv/repos/onos
19         dir_repo_promise:   /home/opnfv/repos/promise
20         dir_repo_doctor:    /home/opnfv/repos/doctor
21         dir_repo_ovno:      /home/opnfv/repos/ovno
22         dir_functest:       /home/opnfv/functest
23         dir_results:        /home/opnfv/functest/results
24         dir_functest_conf:  /home/opnfv/functest/conf
25         dir_rally_res:      /home/opnfv/functest/results/rally/
26         dir_functest_data:  /home/opnfv/functest/data
27         dir_vIMS_data:      /home/opnfv/functest/data/vIMS
28         dir_rally_inst:     /home/opnfv/.rally
29
30     repositories:
31         # branch and commit ID to which the repos will be reset (HEAD)
32         releng_branch:  master
33         releng_commit:  latest
34         rally_branch:   master
35         rally_commit:   57efc5327530a34d139b5a1fd1f480195de0aadb
36         vims_test_branch:   stable
37         vims_test_commit:   latest
38         bgpvpn_branch:   master
39         bgpvpn_commit:   latest
40         onos_branch:   master
41         onos_commit:   latest
42         promise_branch:   master
43         promise_commit:   latest
44         ovno_branch:   master
45         ovno_commit:   latest
46
47     openstack:
48         image_name: functest-img
49         image_file_name:  cirros-0.3.4-x86_64-disk.img
50         image_disk_format:  qcow2
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 vping:
62     ping_timeout:   200
63     vm_flavor: m1.small #adapt to your environment
64     vm_name_1: opnfv-vping-1
65     vm_name_2: opnfv-vping-2
66     vping_private_net_name: vping-net
67     vping_private_subnet_name: vping-subnet
68     vping_private_subnet_cidr: 192.168.130.0/24
69     vping_router_name: vping-router
70     ip_1: 192.168.130.30
71     ip_2: 192.168.130.40
72
73 tempest:
74     identity:
75         tenant_name: tempest
76         tenant_description: Tenant for Tempest test suite
77         user_name: tempest
78         user_password: tempest
79     input-scenario:
80         ssh_user_regex: '[["^.*[Cc]irros.*$", "cirros"], ["^.*[Tt]est[VvMm].*$", "cirros"], ["^.*rally_verify.*$", "cirros"]]'
81
82 rally:
83     deployment_name: opnfv-rally
84
85 vIMS:
86     general:
87         tenant_name: vIMS
88         tenant_description: vIMS Functionality Testing
89         images:
90             ubuntu:
91                 image_url: 'http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img'
92                 image_name: ubuntu_14.04
93             centos:
94                 image_url: 'http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-1510.qcow2'
95                 image_name: centos_7
96     cloudify:
97         blueprint:
98             url: https://github.com/boucherv-orange/cloudify-manager-blueprints.git
99             branch: "3.3-build"
100         requierments:
101             ram_min: 3000
102             os_image: centos_7
103         inputs:
104             keystone_username: ""
105             keystone_password: ""
106             keystone_tenant_name: ""
107             keystone_url: ""
108             manager_public_key_name: 'manager-kp'
109             agent_public_key_name: 'agent-kp'
110             image_id: ""
111             flavor_id: "3"
112             external_network_name: ""
113             ssh_user: centos
114             agents_user: ubuntu
115     clearwater:
116         blueprint:
117             file_name: 'openstack-blueprint.yaml'
118             name: "clearwater-opnfv"
119             destination_folder: "opnfv-cloudify-clearwater"
120             url: 'https://github.com/Orange-OpenSource/opnfv-cloudify-clearwater.git'
121             branch: "stable"
122         deployment-name: 'clearwater-opnfv'
123         requierments:
124             ram_min: 1700
125             os_image: ubuntu_14.04
126         inputs:
127             image_id: ''
128             flavor_id: ''
129             agent_user: 'ubuntu'
130             external_network_name: ''
131             public_domain: clearwater.opnfv
132 ONOS:
133     general:
134         onosbench_username: 'root'
135         onosbench_password: 'root'
136         onoscli_username: 'root'
137         onoscli_password: 'root'
138         runtimeout: 300
139     environment:
140         OCT: '10.20.0.1'
141         OC1: '10.20.0.7'
142         OC2: '10.20.0.7'
143         OC3: '10.20.0.7'
144         OCN: '10.20.0.4'
145         OCN2: '10.20.0.5'
146         installer_master: '10.20.0.2'
147         installer_master_username: 'root'
148         installer_master_password: 'r00tme'
149
150 promise:
151     general:
152         tenant_name: promise
153         tenant_description: promise Functionality Testing
154         user_name: promiser
155         user_pwd: test
156         image_name: promise-img
157         flavor_name: promise-flavor
158         flavor_vcpus: 1
159         flavor_ram: 512
160         flavor_disk: 0
161
162 results:
163     test_db_url: http://testresults.opnfv.org/testapi
164
165 # to be maintained...
166 # the execution order is important as some tests may be more destructive than others
167 # and if vPing is failing is usually not needed to continue...
168 test_exec_priority:
169     1: vping
170     2: vping_userdata
171     3: tempest
172     4: odl
173     5: onos
174     6: ovno
175     7: doctor
176     8: promise
177     9: odl-vpnservice
178     10: bgpvpn
179     #11: openstack-neutron-bgpvpn-api-extension-tests
180     12: vims
181     13: rally
182
183
184 ########################################################################
185 # This part lists the dependencies of the tests
186 #
187 # it is used to manage the complexity of the possible combinations
188 #
189 # 17 projects have been declared for Brahmaputra (D Milestone)
190 # 89 testcases are associated with these 17 projects
191 #
192 # in B-Release, Functest deals with 6 companion projects:
193 # - congress
194 # - doctor
195 # - ovno
196 # - policyTest
197 # - promise
198 # - sdnvpn
199 #
200 # constraints may be declared at the testcase or the test project level
201 #
202 # By default we consider that all the tests can be run on any configuration
203 #
204 # we defined 2 constraints
205 # - installer (e.g. my test can be run only with installer Compass)
206 # possible values: apex, compass, fuel, joid
207 #
208 # - the scenario: it described a specif installation
209 #    os-<controller>-<nfvfeature>-<mode>[-<extrastuff>]
210 # With parameters:
211 #    controller=(nosdn|odl_l3|odl_l2|onos|ocl)
212 #       No odl_l3 today
213 #    nfvfeature=(kvm|ovs|dpdk|nofeature)
214 #       '_' list separated.
215 #    mode=(ha|noha)
216 #    extrastuff=(none)
217 #       Optional field - Not used today#
218 #
219 # ref:https://gerrit.opnfv.org/gerrit/#/c/6323/7/jjb/joid/joid-deploy.sh (L72-82)
220 #  e.g my test is only possible with OVS 2.3.2 on odl
221 #
222 # in functest, we indicate the regex pattern to be checked towards the scenario
223 # e.g. odl-vpn_service-tests can be run if and only if
224 #                                - installer is fuel
225 #                                - scenario contains the name ovs and odl
226 #
227 #######################################################################
228 test-dependencies:
229     doctor:
230         installer: 'apex'
231     functest:
232         vims:
233             scenario: '(ocl)|(odl)|(nosdn)'
234         vping:
235         vping_userdata:
236             scenario: '(ocl)|(odl)|(nosdn)'
237         tempest:
238         rally:
239         odl:
240             scenario: 'odl'
241         onos:
242             scenario: 'onos'
243     promise:
244         installer: '(fuel)|(joid)'
245     ovno:
246         scenario: 'ocl'
247     policy-test:
248         scenario: 'odl'
249     sdnvpn:
250         odl-vpnservice:
251             installer: 'fuel'
252             scenario: 'bgpvpn'
253             # this execute the tests:
254             # /home/opnfv/repos/odl_integration/test/csit/suites/vpnservice
255         bgpvpn:
256             installer: 'fuel'
257             scenario: 'bgpvpn'
258             # this execute the tempest tests of networking-bgpvpn