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