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