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