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