Add git support for Doctor repo in config_functest.yaml
[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         doctor_branch: stable/brahmaputra
47         doctor_commit: latest
48
49     openstack:
50         image_name: functest-img
51         image_file_name:  cirros-0.3.4-x86_64-disk.img
52         image_disk_format:  qcow2
53
54         #Private network for functest. Will be created by config_functest.py
55         neutron_private_net_name: functest-net
56         neutron_private_subnet_name: functest-subnet
57         neutron_private_subnet_cidr: 192.168.120.0/24
58         neutron_private_subnet_start: 192.168.120.2
59         neutron_private_subnet_end: 192.168.120.254
60         neutron_private_subnet_gateway: 192.168.120.254
61         neutron_router_name: functest-router
62
63 vping:
64     ping_timeout:   200
65     vm_flavor: m1.small #adapt to your environment
66     vm_name_1: opnfv-vping-1
67     vm_name_2: opnfv-vping-2
68     vping_private_net_name: vping-net
69     vping_private_subnet_name: vping-subnet
70     vping_private_subnet_cidr: 192.168.130.0/24
71     vping_router_name: vping-router
72     vping_sg_name: vPing-sg
73     vping_sg_descr: Security group for vPing test case
74
75 tempest:
76     identity:
77         tenant_name: tempest
78         tenant_description: Tenant for Tempest test suite
79         user_name: tempest
80         user_password: tempest
81     input-scenario:
82         ssh_user_regex: '[["^.*[Cc]irros.*$", "cirros"], ["^.*[Tt]est[VvMm].*$", "cirros"], ["^.*rally_verify.*$", "cirros"]]'
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
152 promise:
153     general:
154         tenant_name: promise
155         tenant_description: promise Functionality Testing
156         user_name: promiser
157         user_pwd: test
158         image_name: promise-img
159         flavor_name: promise-flavor
160         flavor_vcpus: 1
161         flavor_ram: 512
162         flavor_disk: 0
163
164 results:
165     test_db_url: http://testresults.opnfv.org/testapi
166
167 # to be maintained...
168 # the execution order is important as some tests may be more destructive than others
169 # and if vPing is failing is usually not needed to continue...
170 test_exec_priority:
171     1: vping_ssh
172     2: vping_userdata
173     3: tempest
174     4: odl
175     5: onos
176     6: ovno
177     7: doctor
178     8: promise
179     9: odl-vpnservice
180     10: bgpvpn
181     #11: openstack-neutron-bgpvpn-api-extension-tests
182     12: vims
183     13: rally
184
185
186 ########################################################################
187 # This part lists the dependencies of the tests
188 #
189 # it is used to manage the complexity of the possible combinations
190 #
191 # 17 projects have been declared for Brahmaputra (D Milestone)
192 # 89 testcases are associated with these 17 projects
193 #
194 # in B-Release, Functest deals with 6 companion projects:
195 # - congress
196 # - doctor
197 # - ovno
198 # - policyTest
199 # - promise
200 # - sdnvpn
201 #
202 # constraints may be declared at the testcase or the test project level
203 #
204 # By default we consider that all the tests can be run on any configuration
205 #
206 # we defined 2 constraints
207 # - installer (e.g. my test can be run only with installer Compass)
208 # possible values: apex, compass, fuel, joid
209 #
210 # - the scenario: it described a specif installation
211 #    os-<controller>-<nfvfeature>-<mode>[-<extrastuff>]
212 # With parameters:
213 #    controller=(nosdn|odl_l3|odl_l2|onos|ocl)
214 #       No odl_l3 today
215 #    nfvfeature=(kvm|ovs|dpdk|nofeature)
216 #       '_' list separated.
217 #    mode=(ha|noha)
218 #    extrastuff=(none)
219 #       Optional field - Not used today#
220 #
221 # ref:https://gerrit.opnfv.org/gerrit/#/c/6323/7/jjb/joid/joid-deploy.sh (L72-82)
222 #  e.g my test is only possible with OVS 2.3.2 on odl
223 #
224 # in functest, we indicate the regex pattern to be checked towards the scenario
225 # e.g. odl-vpn_service-tests can be run if and only if
226 #                                - installer is fuel
227 #                                - scenario contains the name ovs and odl
228 #
229 #######################################################################
230 test-dependencies:
231     doctor:
232         installer: 'apex'
233     functest:
234         vims:
235             scenario: '(ocl)|(odl)|(nosdn)'
236         vping_ssh:
237         vping_userdata:
238             scenario: '(ocl)|(odl)|(nosdn)'
239         tempest:
240         rally:
241         odl:
242             scenario: 'odl'
243         onos:
244             scenario: 'onos'
245     promise:
246         installer: '(fuel)|(joid)'
247     ovno:
248         scenario: 'ocl'
249     policy-test:
250         scenario: 'odl'
251     sdnvpn:
252         odl-vpnservice:
253             installer: 'fuel'
254             scenario: 'bgpvpn'
255             # this execute the tests:
256             # /home/opnfv/repos/odl_integration/test/csit/suites/vpnservice
257         bgpvpn:
258             installer: 'fuel'
259             scenario: 'bgpvpn'
260             # this execute the tempest tests of networking-bgpvpn