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