Update rally version to 0.2.0
[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_functest:       /home/opnfv/functest
20         dir_results:        /home/opnfv/functest/results
21         dir_functest_conf:  /home/opnfv/functest/conf
22         dir_rally_res:      /home/opnfv/functest/results/rally/
23         dir_functest_data:  /home/opnfv/functest/data
24         dir_vIMS_data:      /home/opnfv/functest/data/vIMS
25         dir_rally_inst:     ~/.rally
26
27     repositories:
28         # branch and commit ID to which the repos will be reset (HEAD)
29         functest_branch:    master
30         functest_commit:    latest
31         releng_branch:  master
32         releng_commit:  latest
33         rally_branch:   master
34         rally_commit:   57efc5327530a34d139b5a1fd1f480195de0aadb
35         vims_test_branch:   stable
36         vims_test_commit:   latest
37         bgpvpn_branch:   master
38         bgpvpn_commit:   latest
39         onos_branch:   master
40         onos_commit:   latest
41
42     openstack:
43         image_name: functest-img
44         image_file_name:  cirros-0.3.4-x86_64-disk.img
45         image_disk_format:  qcow2
46
47         #Public network. Optional
48         neutron_public_net_name: net04_ext
49         neutron_public_subnet_name: net04_ext__subnet
50         neutron_public_subnet_cidr: 172.16.9.0/24
51         neutron_public_subnet_start: 172.16.9.130
52         neutron_public_subnet_end: 172.16.9.254
53         #Private network for functest. Will be created by config_functest.py
54         neutron_private_net_name: functest-net
55         neutron_private_subnet_name: functest-subnet
56         neutron_private_subnet_cidr: 192.168.120.0/24
57         neutron_private_subnet_start: 192.168.120.2
58         neutron_private_subnet_end: 192.168.120.254
59         neutron_private_subnet_gateway: 192.168.120.254
60         neutron_router_name: functest-router
61
62 vping:
63     ping_timeout:   200
64     vm_flavor: m1.small #adapt to your environment
65     vm_name_1: opnfv-vping-1
66     vm_name_2: opnfv-vping-2
67     vping_private_net_name: vping-net
68     vping_private_subnet_name: vping-subnet
69     vping_private_subnet_cidr: 192.168.130.0/24
70     vping_router_name: vping-router
71     ip_1: 192.168.130.30
72     ip_2: 192.168.130.40
73
74 tempest:
75     identity:
76         tenant_name: tempest
77         tenant_description: Tenant for Tempest test suite
78         user_name: tempest
79         user_password: tempest
80
81 rally:
82     deployment_name: opnfv-rally
83
84 vIMS:
85     general:
86         tenant_name: vIMS
87         tenant_description: vIMS Functionality Testing
88         images:
89             ubuntu:
90                 image_url: 'http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img'
91                 image_name: ubuntu_14.04
92             centos:
93                 image_url: 'http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-1510.qcow2'
94                 image_name: centos_7
95     cloudify:
96         blueprint:
97             url: https://github.com/boucherv-orange/cloudify-manager-blueprints.git
98             branch: "3.3-build"
99         requierments:
100             ram_min: 3000
101             os_image: centos_7
102         inputs:
103             keystone_username: ""
104             keystone_password: ""
105             keystone_tenant_name: ""
106             keystone_url: ""
107             manager_public_key_name: 'manager-kp'
108             agent_public_key_name: 'agent-kp'
109             image_id: ""
110             flavor_id: "3"
111             external_network_name: ""
112             ssh_user: centos
113             agents_user: ubuntu
114     clearwater:
115         blueprint:
116             file_name: 'openstack-blueprint.yaml'
117             name: "clearwater-opnfv"
118             destination_folder: "opnfv-cloudify-clearwater"
119             url: 'https://github.com/Orange-OpenSource/opnfv-cloudify-clearwater.git'
120             branch: "stable"
121         deployment-name: 'clearwater-opnfv'
122         requierments:
123             ram_min: 1700
124             os_image: ubuntu_14.04
125         inputs:
126             image_id: ''
127             flavor_id: ''
128             agent_user: 'ubuntu'
129             external_network_name: ''
130             public_domain: clearwater.opnfv
131 ONOS:
132     general:
133         onosbench_username: 'root'
134         onosbench_password: 'root'
135         onoscli_username: 'root'
136         onoscli_password: 'root'
137         runtimeout: 300
138     environment:
139         OCT: '189.42.8.99'
140         OC1: '189.42.8.101'
141         OC2: '189.42.8.102'
142         OC3: '189.42.8.103'
143         OCN: '189.42.8.104'
144         OCN2: '189.42.8.105'
145 results:
146     test_db_url: http://213.77.62.197
147
148 ########################################################################
149 # This part lists the dependencies of the tests
150 #
151 # it is used to managed the complexity of the possible combination
152 #
153 # 17 projects have been declared for Brahmaputra (D Milestone)
154 # 89 testcases are associated with these 17 projects
155 #
156 # in B-Release, Functest deals with 6 companion projects:
157 # - congress
158 # - doctor
159 # - ovno
160 # - policyTest
161 # - promise
162 # - sdnvpn
163 #
164 # constraints may be declared at the testcase or the test project level
165 #
166 # By default we consider that all the tests can be run on any configuration
167 #
168 # we defined 3 constraints
169 # - installer (e.g. my test can be run only with installer Compass)
170 # possible values: apex, compass, fuel, joid
171 #
172 # - the controller (odl, onos, opencontrail) 
173 #
174 # - the scenario (ovs, kvm, QEMU, proc) based on Fuel proposal
175 # see https://git.opnfv.org/cgit/fuel/tree/deploy/scenario/scenario.yaml
176 #  e.g my test is only possible with OVS 2.3.2 on odl
177 # not fully clear as the controller may be included with the scenario
178 #
179 # In a first step, our main need is to trigger ad hox controller suite
180 # In second step we may focus with scenario parameter
181 # but no so far
182 # - either controller suite
183 # or
184 # - suites that should be runnable on any conf, any scenario
185 #
186 #######################################################################
187 test-dependencies:
188     doctor:
189     functest:
190         vping:
191         vims:
192         tempest:
193         rally:
194         odl:
195             controller: 'odl'
196         onos:
197             controller: 'onos'
198         onos-ovsdb:
199             controller: 'onos'
200     promise:
201     ovno:
202         controller: 'opencontrail'
203     policy-test:
204         controller: 'odl'
205     sdnvpn:
206         opnfv-yardstick-tc026-sdnvpn:
207             controller: 'nosdn'
208             scenario: 'os_ovh_ha'
209         odl-vpn_service-tests:
210             controller: 'odl'
211             scenario: 'os_ovh_ha'
212         openstack-neutron-bgpvpn-api-extension-tests:
213             controller: 'nosdn'
214             scenario: 'os_ovh_ha'
215