f32314ac6ed43ffd57cb1d89e1e04b9c79ec1427
[functest-xtesting.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         #Public network. Optional
53         neutron_public_net_name: net04_ext
54         neutron_public_subnet_name: net04_ext__subnet
55         neutron_public_subnet_cidr: 172.16.9.0/24
56         neutron_public_subnet_start: 172.16.9.130
57         neutron_public_subnet_end: 172.16.9.254
58         #Private network for functest. Will be created by config_functest.py
59         neutron_private_net_name: functest-net
60         neutron_private_subnet_name: functest-subnet
61         neutron_private_subnet_cidr: 192.168.120.0/24
62         neutron_private_subnet_start: 192.168.120.2
63         neutron_private_subnet_end: 192.168.120.254
64         neutron_private_subnet_gateway: 192.168.120.254
65         neutron_router_name: functest-router
66
67 vping:
68     ping_timeout:   200
69     vm_flavor: m1.small #adapt to your environment
70     vm_name_1: opnfv-vping-1
71     vm_name_2: opnfv-vping-2
72     vping_private_net_name: vping-net
73     vping_private_subnet_name: vping-subnet
74     vping_private_subnet_cidr: 192.168.130.0/24
75     vping_router_name: vping-router
76     ip_1: 192.168.130.30
77     ip_2: 192.168.130.40
78
79 tempest:
80     identity:
81         tenant_name: tempest
82         tenant_description: Tenant for Tempest test suite
83         user_name: tempest
84         user_password: tempest
85     input-scenario:
86         ssh_user_regex: '[["^.*[Cc]irros.*$", "cirros"], ["^.*[Tt]est[VvMm].*$", "cirros"], ["^.*rally_verify.*$", "cirros"]]'
87
88 rally:
89     deployment_name: opnfv-rally
90
91 vIMS:
92     general:
93         tenant_name: vIMS
94         tenant_description: vIMS Functionality Testing
95         images:
96             ubuntu:
97                 image_url: 'http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img'
98                 image_name: ubuntu_14.04
99             centos:
100                 image_url: 'http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-1510.qcow2'
101                 image_name: centos_7
102     cloudify:
103         blueprint:
104             url: https://github.com/boucherv-orange/cloudify-manager-blueprints.git
105             branch: "3.3-build"
106         requierments:
107             ram_min: 3000
108             os_image: centos_7
109         inputs:
110             keystone_username: ""
111             keystone_password: ""
112             keystone_tenant_name: ""
113             keystone_url: ""
114             manager_public_key_name: 'manager-kp'
115             agent_public_key_name: 'agent-kp'
116             image_id: ""
117             flavor_id: "3"
118             external_network_name: ""
119             ssh_user: centos
120             agents_user: ubuntu
121     clearwater:
122         blueprint:
123             file_name: 'openstack-blueprint.yaml'
124             name: "clearwater-opnfv"
125             destination_folder: "opnfv-cloudify-clearwater"
126             url: 'https://github.com/Orange-OpenSource/opnfv-cloudify-clearwater.git'
127             branch: "stable"
128         deployment-name: 'clearwater-opnfv'
129         requierments:
130             ram_min: 1700
131             os_image: ubuntu_14.04
132         inputs:
133             image_id: ''
134             flavor_id: ''
135             agent_user: 'ubuntu'
136             external_network_name: ''
137             public_domain: clearwater.opnfv
138 ONOS:
139     general:
140         onosbench_username: 'root'
141         onosbench_password: 'root'
142         onoscli_username: 'root'
143         onoscli_password: 'root'
144         runtimeout: 300
145     environment:
146         OCT: '10.20.0.1'
147         OC1: '10.20.0.7'
148         OC2: '10.20.0.7'
149         OC3: '10.20.0.7'
150         OCN: '10.20.0.4'
151         OCN2: '10.20.0.5'
152         installer_master: '10.20.0.2'
153         installer_master_username: 'root'
154         installer_master_password: 'r00tme'
155
156 promise:
157     general:
158         tenant_name: promise
159         tenant_description: promise Functionality Testing
160         user_name: promiser
161         user_pwd: test
162         image_name: promise-img
163         flavor_name: promise-flavor
164         flavor_vcpus: 1
165         flavor_ram: 512
166         flavor_disk: 0
167
168 results:
169     test_db_url: http://testresults.opnfv.org/testapi
170
171 # to be maintained...
172 # the execution order is important as some tests may be more destructive than others
173 # and if vPing is failing is usually not needed to continue...
174 test_exec_priority:
175     1: vping
176     2: vping_userdata
177     3: tempest
178     4: odl
179     5: onos
180     6: ovno
181     7: doctor
182     8: promise
183     9: odl-vpnservice
184     10: bgpvpn
185     #11: openstack-neutron-bgpvpn-api-extension-tests
186     12: vims
187     13: rally
188
189
190 ########################################################################
191 # This part lists the dependencies of the tests
192 #
193 # it is used to manage the complexity of the possible combinations
194 #
195 # 17 projects have been declared for Brahmaputra (D Milestone)
196 # 89 testcases are associated with these 17 projects
197 #
198 # in B-Release, Functest deals with 6 companion projects:
199 # - congress
200 # - doctor
201 # - ovno
202 # - policyTest
203 # - promise
204 # - sdnvpn
205 #
206 # constraints may be declared at the testcase or the test project level
207 #
208 # By default we consider that all the tests can be run on any configuration
209 #
210 # we defined 2 constraints
211 # - installer (e.g. my test can be run only with installer Compass)
212 # possible values: apex, compass, fuel, joid
213 #
214 # - the scenario: it described a specif installation
215 #    os-<controller>-<nfvfeature>-<mode>[-<extrastuff>]
216 # With parameters:
217 #    controller=(nosdn|odl_l3|odl_l2|onos|ocl)
218 #       No odl_l3 today
219 #    nfvfeature=(kvm|ovs|dpdk|nofeature)
220 #       '_' list separated.
221 #    mode=(ha|noha)
222 #    extrastuff=(none)
223 #       Optional field - Not used today#
224 #
225 # ref:https://gerrit.opnfv.org/gerrit/#/c/6323/7/jjb/joid/joid-deploy.sh (L72-82)
226 #  e.g my test is only possible with OVS 2.3.2 on odl
227 #
228 # in functest, we indicate the regex pattern to be checked towards the scenario
229 # e.g. odl-vpn_service-tests can be run if and only if
230 #                                - installer is fuel
231 #                                - scenario contains the name ovs and odl
232 #
233 #######################################################################
234 test-dependencies:
235     doctor:
236         installer: 'apex'
237     functest:
238         vims:
239             scenario: '(ocl)|(odl)|(nosdn)'
240         vping:
241         vping_userdata:
242             scenario: '(ocl)|(odl)|(nosdn)'
243         tempest:
244         rally:
245         odl:
246             scenario: 'odl'
247         onos:
248             scenario: 'onos'
249     promise:
250         installer: '(fuel)|(joid)'
251     ovno:
252         scenario: 'ocl'
253     policy-test:
254         scenario: 'odl'
255     sdnvpn:
256         odl-vpnservice:
257             installer: 'fuel'
258             scenario: 'bgpvpn'
259             # this execute the tests:
260             # /home/opnfv/repos/odl_integration/test/csit/suites/vpnservice
261         bgpvpn:
262             installer: 'fuel'
263             scenario: 'bgpvpn'
264             # this execute the tempest tests of networking-bgpvpn