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