6d44f3989fc3757b5b8f2578c8bd1f39690bbcb2
[functest.git] / functest / ci / config_functest.yaml
1 general:
2     dir:
3         # Relative to the path where the repo is cloned:
4         vping:             functest/opnfv_tests/openstack/vping
5         dir_odl:           functest/opnfv_tests/sdn/odl
6         rally:             functest/opnfv_tests/openstack/rally
7         tempest_cases:     functest/opnfv_tests/openstack/tempest/custom_tests
8         onos:              functest/opnfv_tests/sdn/onos/teston
9         onos_sfc:          functest/opnfv_tests/sdn/onos/sfc
10
11         # Absolute path
12         home:               /home/opnfv
13         repos:              /home/opnfv/repos
14         repo_functest:      /home/opnfv/repos/functest
15         dir_repo_rally:     /home/opnfv/repos/rally
16         repo_tempest:       /home/opnfv/repos/tempest
17         dir_repo_releng:    /home/opnfv/repos/releng
18         repo_vims_test:     /home/opnfv/repos/vnfs/vims-test
19         repo_sdnvpn:        /home/opnfv/repos/sdnvpn
20         repo_sfc:           /home/opnfv/repos/sfc
21         repo_onos:          /home/opnfv/repos/onos
22         repo_promise:       /home/opnfv/repos/promise
23         repo_netready:      /home/opnfv/repos/netready
24         repo_barometer:     /home/opnfv/repos/barometer
25         repo_doctor:        /home/opnfv/repos/doctor
26         repo_copper:        /home/opnfv/repos/copper
27         repo_parser:        /home/opnfv/repos/parser
28         repo_domino:        /home/opnfv/repos/domino
29         repo_snaps:         /home/opnfv/repos/snaps
30         repo_opera:         /home/opnfv/repos/opera
31         repo_fds:           /home/opnfv/repos/fds
32         repo_securityscan:  /home/opnfv/repos/securityscanning
33         repo_vrouter:       /home/opnfv/repos/vnfs/vrouter
34         functest:           /home/opnfv/functest
35         functest_test:      /home/opnfv/repos/functest/functest/opnfv_tests
36         results:            /home/opnfv/functest/results
37         functest_logging_cfg:   /home/opnfv/repos/functest/functest/ci/logging.ini
38         functest_conf:      /home/opnfv/functest/conf
39         functest_data:      /home/opnfv/functest/data
40         ims_data:           /home/opnfv/functest/data/ims/
41         rally_inst:         /home/opnfv/.rally
42         repo_kingbird:      /home/opnfv/repos/kingbird
43         refstack_client:    /home/opnfv/repos/refstack-client
44
45     openstack:
46         creds: /home/opnfv/functest/conf/openstack.creds
47         snapshot_file: /home/opnfv/functest/conf/openstack_snapshot.yaml
48
49         image_name: Cirros-0.3.5
50         image_name_alt: Cirros-0.3.5-1
51         image_file_name:  cirros-0.3.5-x86_64-disk.img
52         image_url: http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img
53         image_user: cirros
54         image_disk_format:  qcow2
55         image_username:  cirros
56         image_password:  cubswin:)
57
58         flavor_name: opnfv_flavor
59         flavor_name_alt: opnfv_flavor_1
60         flavor_ram: 512
61         flavor_disk: 1
62         flavor_vcpus: 1
63
64         # Private network for functest. Will be created by config_functest.py
65         neutron_private_net_name: functest-net
66         neutron_private_subnet_name: functest-subnet
67         neutron_private_subnet_cidr: 192.168.120.0/24
68         neutron_private_subnet_start: 192.168.120.2
69         neutron_private_subnet_end: 192.168.120.254
70         neutron_private_subnet_gateway: 192.168.120.254
71         neutron_router_name: functest-router
72
73     functest:
74         testcases_yaml: /home/opnfv/repos/functest/functest/ci/testcases.yaml
75
76 snaps:
77     use_keystone: True
78     use_floating_ips: True
79 #    images:
80 #      cirros:
81 #        disk_url: http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img
82         # ARM
83 #        disk_url: http://download.cirros-cloud.net/daily/20161201/cirros-d161201-aarch64-disk.img
84 #        kernel_url: http://download.cirros-cloud.net/daily/20161201/cirros-d161201-aarch64-kernel
85 #        ramdisk_url: http://download.cirros-cloud.net/daily/20161201/cirros-d161201-aarch64-initramfs
86 #        extra_properties:
87 #            os_command_line: root=/dev/vdb1 rw rootwait console=tty0 console=ttyS0 console=ttyAMA0
88 #            hw_video_model: vga
89 #      ubuntu:
90 #        disk_url: http://uec-images.ubuntu.com/releases/trusty/14.04/ubuntu-14.04-server-cloudimg-amd64-disk1.img
91 #      centos:
92 #        disk_url: http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2
93
94 vping:
95     ping_timeout:   200
96     vm_flavor: m1.tiny # adapt to your environment
97     vm_name_1: opnfv-vping-1
98     vm_name_2: opnfv-vping-2
99     image_name: functest-vping
100     private_net_name: vping-net
101     private_subnet_name: vping-subnet
102     private_subnet_cidr: 192.168.130.0/24
103     router_name: vping-router
104     sg_name: vPing-sg
105     sg_desc: Security group for vPing test case
106     keypair_name: vPing-keypair
107     keypair_priv_file: /tmp/vPing-keypair
108     keypair_pub_file: /tmp/vPing-keypair.pub
109     vm_boot_timeout: 180
110     vm_delete_timeout: 100
111     vm_ssh_connect_timeout: 60
112     cleanup_objects: True
113     unique_names: True
114
115 onos_sfc:
116     image_base_url: http://artifacts.opnfv.org/sfc/demo
117     image_name: TestSfcVm
118     image_file_name: firewall_block_image.img
119
120 tempest:
121     deployment_name: opnfv-tempest
122     identity:
123         tenant_name: tempest
124         tenant_description: Tenant for Tempest test suite
125         user_name: tempest
126         user_password: tempest
127     validation:
128         ssh_timeout: 130
129     object_storage:
130         operator_role: SwiftOperator
131     private_net_name: tempest-net
132     private_subnet_name: tempest-subnet
133     private_subnet_cidr: 192.168.150.0/24
134     router_name: tempest-router
135     use_custom_images: False
136     use_custom_flavors: False
137     volume_device_name: vdc
138
139 rally:
140     deployment_name: opnfv-rally
141     network_name: rally-net
142     subnet_name: rally-subnet
143     subnet_cidr: 192.168.140.0/24
144     router_name: rally-router
145
146 refstack:
147     tempest_conf_path: openstack/refstack_client/refstack_tempest.conf
148     defcore_list: openstack/refstack_client/defcore.txt
149
150 vnf:
151     aaa:
152         tenant_name: aaa
153         tenant_description: Freeradius server
154         tenant_images: {}
155     juju_epc:
156         tenant_name: epc
157         tenant_description: OAI EPC deployed with Juju
158         tenant_images: {}
159     cloudify_ims:
160         tenant_name: cloudify_ims
161         tenant_description: vIMS
162         config: cloudify_ims.yaml
163     orchestra_ims:
164         tenant_name: orchestra_ims
165         tenant_description: ims deployed with openbaton
166         config: orchestra_ims.yaml
167     opera_ims:
168         tenant_name: opera_ims
169         tenant_description: ims deployed with open-o
170
171 ONOS:
172     general:
173         onosbench_username: 'root'
174         onosbench_password: 'root'
175         onoscli_username: 'root'
176         onoscli_password: 'root'
177         runtimeout: 300
178     environment:
179         OCT: '10.20.0.1'
180         OC1: '10.20.0.7'
181         OC2: '10.20.0.7'
182         OC3: '10.20.0.7'
183         OCN: '10.20.0.4'
184         OCN2: '10.20.0.5'
185         installer_master: '10.20.0.2'
186         installer_master_username: 'root'
187         installer_master_password: 'r00tme'
188 multisite:
189     fuel:
190         installer_username: 'root'
191         installer_password: 'r00tme'
192     compass:
193         installer_username: 'root'
194         installer_password: 'root'
195         multisite_controller_ip: '10.1.0.50'
196 promise:
197     tenant_name: promise
198     tenant_description: promise Functionality Testing
199     user_name: promiser
200     user_pwd: test
201     image_name: promise-img
202     flavor_name: promise-flavor
203     flavor_vcpus: 1
204     flavor_ram: 128
205     flavor_disk: 0
206     network_name: promise-net
207     subnet_name: promise-subnet
208     subnet_cidr: 192.168.121.0/24
209     router_name: promise-router
210
211 example:
212     vm_name: example-vm
213     flavor: m1.small
214     image_name: functest-example-vm
215     private_net_name: example-net
216     private_subnet_name: example-subnet
217     private_subnet_cidr: 192.168.170.0/24
218     router_name: example-router
219     sg_name: example-sg
220     sg_desc: Example Security group
221
222 results:
223     # you can also set a file (e.g. /home/opnfv/functest/results/dump.txt) to dump results
224     # test_db_url: file:///home/opnfv/functest/results/dump.txt
225     test_db_url: http://testresults.opnfv.org/test/api/v1/results
226
227 energy_recorder:
228     api_url: http://161.105.253.100:8888/resources
229     api_user: ""
230     api_password: ""