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