Merge "Support for customized tempest case list"
[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 vIMS:
72     general:
73         tenant_name: vIMS
74         tenant_description: vIMS Functionality Testing
75         images:
76             ubuntu:
77                 image_url: 'http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img'
78                 image_name: ubuntu_14.04
79             centos:
80                 image_url: 'http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-1510.qcow2'
81                 image_name: centos_7
82     cloudify:
83         blueprint:
84             url: https://github.com/boucherv-orange/cloudify-manager-blueprints.git
85             branch: "3.3-build"
86         requierments:
87             ram_min: 3000
88             os_image: centos_7
89         inputs:
90             keystone_username: ""
91             keystone_password: ""
92             keystone_tenant_name: ""
93             keystone_url: ""
94             manager_public_key_name: 'manager-kp'
95             agent_public_key_name: 'agent-kp'
96             image_id: ""
97             flavor_id: "3"
98             external_network_name: ""
99             ssh_user: centos
100             agents_user: ubuntu
101     clearwater:
102         blueprint:
103             file_name: 'openstack-blueprint.yaml'
104             name: "clearwater-opnfv"
105             destination_folder: "opnfv-cloudify-clearwater"
106             url: 'https://github.com/Orange-OpenSource/opnfv-cloudify-clearwater.git'
107             branch: "stable"
108         deployment-name: 'clearwater-opnfv'
109         requierments:
110             ram_min: 1700
111             os_image: ubuntu_14.04
112         inputs:
113             image_id: ''
114             flavor_id: ''
115             agent_user: 'ubuntu'
116             external_network_name: ''
117             public_domain: clearwater.opnfv
118 ONOS:
119     general:
120         onosbench_username: 'root'
121         onosbench_password: 'root'
122         onoscli_username: 'root'
123         onoscli_password: 'root'
124         runtimeout: 300
125     environment:
126         OCT: '189.42.8.99'
127         OC1: '189.42.8.101'
128         OC2: '189.42.8.102'
129         OC3: '189.42.8.103'
130         OCN: '189.42.8.104'
131         OCN2: '189.42.8.105'
132 results:
133     test_db_url: http://213.77.62.197
134
135 ########################################################################
136 # This part lists the dependencies of the tests
137 #
138 # it is used to managed the complexity of the possible combination
139 #
140 # 17 projects have been declared for Brahmaputra (D Milestone)
141 # 89 testcases are associated with these 17 projects
142 #
143 # in B-Release, Functest deals with 6 companion projects:
144 # - congress
145 # - doctor
146 # - ovno
147 # - policyTest
148 # - promise
149 # - sdnvpn
150 #
151 # constraints may be declared at the testcase or the test project level
152 #
153 # By default we consider that all the tests can be run on any configuration
154 #
155 # we defined 3 constraints
156 # - installer (e.g. my test can be run only with installer Compass)
157 # possible values: apex, compass, fuel, joid
158 #
159 # - controller (e.g. my test can be done only with controller OpenContrail)
160 # possible values: none, odl, onos, opencontrail
161 #
162 # - options (ovs, kvm, QEMU, proc) (my test is only possible with OVS 2.3.2)
163 # possible values:
164 # ovs: ovs2.4, ovsX
165 # kvm:
166 # qemu:
167 #
168 #######################################################################
169 test-dependencies:
170     #congress:
171     #doctor:
172     functest:
173         odl:
174             controller: 'odl'
175         onos:
176             controller: 'onos'
177         onos-ovsdb:
178             controller: 'onos'
179     #promise:
180     ovno:
181         controller: 'opencontrail'
182     policy-test:
183         controller: 'odl'
184     sdnvpn:
185         options: 'ovs2.4'
186         opnfv-yardstick-tc026-sdnvpn:
187             controller: 'none'
188         odl-vpn_service-tests:
189             controller: 'odl'
190         openstack-neutron-bgpvpn-api-extension-tests:
191             controller: 'none'