3352889c476fcc6999f75afa2c867df24bed72b6
[functest.git] / functest / ci / config_functest.yaml
1 general:
2     dir:
3         home:               /home/opnfv
4         repos:              /home/opnfv/repos
5         dir_repo_rally:     /home/opnfv/repos/rally
6         repo_tempest:       /src/tempest
7         dir_repo_releng:    /home/opnfv/repos/releng
8         repo_vims_test:     /src/vims-test
9         repo_onos:          /home/opnfv/repos/onos
10         repo_barometer:     /home/opnfv/repos/barometer
11         repo_doctor:        /home/opnfv/repos/doctor
12         repo_odl_test:      /src/odl_test
13         repo_fds:           /src/fds
14         repo_securityscan:  /home/opnfv/repos/securityscanning
15         repo_vrouter:       /home/opnfv/repos/vnfs/vrouter
16         functest:           /home/opnfv/functest
17         results:            /home/opnfv/functest/results
18         functest_conf:      /home/opnfv/functest/conf
19         functest_data:      /home/opnfv/functest/data
20         ims_data:           /home/opnfv/functest/data/ims/
21         functest_images:    /home/opnfv/functest/images
22         rally_inst:         /root/.rally
23
24     openstack:
25         creds: /home/opnfv/functest/conf/openstack.creds
26         snapshot_file: /home/opnfv/functest/conf/openstack_snapshot.yaml
27
28         image_name: Cirros-0.3.5
29         image_name_alt: Cirros-0.3.5-1
30         image_file_name:  cirros-0.3.5-x86_64-disk.img
31         image_url: http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img
32         image_user: cirros
33         image_disk_format:  qcow2
34         image_username:  cirros
35         image_password:  cubswin:)
36
37         flavor_name: opnfv_flavor
38         flavor_name_alt: opnfv_flavor_1
39         flavor_ram: 512
40         flavor_disk: 1
41         flavor_vcpus: 1
42
43         # Private network for functest. Will be created by config_functest.py
44         neutron_private_net_name: functest-net
45         neutron_private_subnet_name: functest-subnet
46         neutron_private_subnet_cidr: 192.168.120.0/24
47         neutron_private_subnet_start: 192.168.120.2
48         neutron_private_subnet_end: 192.168.120.254
49         neutron_private_subnet_gateway: 192.168.120.254
50         neutron_router_name: functest-router
51
52 snaps:
53     use_keystone: True
54     use_floating_ips: True
55     images:
56       glance_tests:
57         disk_file: /home/opnfv/functest/images/cirros-0.3.5-x86_64-disk.img
58       cirros:
59         disk_file: /home/opnfv/functest/images/cirros-0.3.5-x86_64-disk.img
60       ubuntu:
61         disk_file: /home/opnfv/functest/images/ubuntu-14.04-server-cloudimg-amd64-disk1.img
62       centos:
63         disk_file: /home/opnfv/functest/images/CentOS-7-x86_64-GenericCloud.qcow2
64       # All of these values are optional and will override the values retrieved
65       # by the RC file
66 #    os_creds_override:
67 #      username: {user}
68 #      password: {password}
69 #      auth_url: {auth_url}
70 #      project_name: {project_name}
71 #      identity_api_version: {2|3}
72 #      network_api_version: {2}
73 #      compute_api_version: {2}
74 #      image_api_version: {1|2}
75 #      user_domain_id: {user_domain_id}
76 #      project_domain_id: {projects_domain_id}
77 #      interface: {interface}
78 #      cacert: {True|False}
79 #      proxy_settings:
80 #        host: {proxy_host}
81 #        port: {proxy_port}
82 #        ssh_proxy_cmd: {OpenSSH -o ProxyCommand value}
83
84 vping:
85     ping_timeout:   200
86     vm_flavor: m1.tiny # adapt to your environment
87     vm_name_1: opnfv-vping-1
88     vm_name_2: opnfv-vping-2
89     image_name: functest-vping
90     private_net_name: vping-net
91     private_subnet_name: vping-subnet
92     private_subnet_cidr: 192.168.130.0/24
93     router_name: vping-router
94     sg_name: vPing-sg
95     sg_desc: Security group for vPing test case
96     keypair_name: vPing-keypair
97     keypair_priv_file: /tmp/vPing-keypair
98     keypair_pub_file: /tmp/vPing-keypair.pub
99     vm_boot_timeout: 180
100     vm_delete_timeout: 100
101     vm_ssh_connect_timeout: 60
102     cleanup_objects: True
103     unique_names: True
104
105 onos_sfc:
106     image_base_url: http://artifacts.opnfv.org/sfc/demo
107     image_name: TestSfcVm
108     image_file_name: firewall_block_image.img
109
110 odl_sfc:
111     image_base_url: "http://artifacts.opnfv.org/sfc/images"
112     image_name: sfc_nsh_danube
113     image_file_name: sfc_nsh_danube.qcow2
114     image_format: qcow2
115
116 tempest:
117     deployment_name: opnfv-tempest
118     validation:
119         ssh_timeout: 130
120     object_storage:
121         operator_role: SwiftOperator
122     private_net_name: tempest-net
123     private_subnet_name: tempest-subnet
124     private_subnet_cidr: 192.168.150.0/24
125     router_name: tempest-router
126     use_custom_images: True
127     use_custom_flavors: False
128     volume_device_name: vdc
129
130 rally:
131     deployment_name: opnfv-rally
132     network_name: rally-net
133     subnet_name: rally-subnet
134     subnet_cidr: 192.168.140.0/24
135     router_name: rally-router
136
137 vnf:
138     aaa:
139         tenant_name: aaa
140         tenant_description: Freeradius server
141         tenant_images: {}
142     juju_epc:
143         tenant_name: epc
144         tenant_description: OAI EPC deployed with Juju
145         tenant_images: {}
146     cloudify_ims:
147         tenant_name: cloudify_ims
148         tenant_description: vIMS
149         config: cloudify_ims.yaml
150     orchestra_openims:
151         tenant_name: orchestra_openims
152         tenant_description: OpenIMS deployed with Open Baton
153         config: orchestra.yaml
154     orchestra_clearwaterims:
155         tenant_name: orchestra_clearwaterims
156         tenant_description: Clearwater IMS deployed with Open Baton
157         config: orchestra.yaml
158
159 ONOS:
160     general:
161         onosbench_username: 'root'
162         onosbench_password: 'root'
163         onoscli_username: 'root'
164         onoscli_password: 'root'
165         runtimeout: 300
166     environment:
167         OCT: '10.20.0.1'
168         OC1: '10.20.0.7'
169         OC2: '10.20.0.7'
170         OC3: '10.20.0.7'
171         OCN: '10.20.0.4'
172         OCN2: '10.20.0.5'
173         installer_master: '10.20.0.2'
174         installer_master_username: 'root'
175         installer_master_password: 'r00tme'
176 promise:
177     tenant_name: promise
178     tenant_description: promise Functionality Testing
179     user_name: promiser
180     user_pwd: test
181     image_name: promise-img
182     flavor_name: promise-flavor
183     flavor_vcpus: 1
184     flavor_ram: 128
185     flavor_disk: 0
186     network_name: promise-net
187     subnet_name: promise-subnet
188     subnet_cidr: 192.168.121.0/24
189     router_name: promise-router
190
191 example:
192     vm_name: example-vm
193     flavor: m1.small
194     image_name: functest-example-vm
195     private_net_name: example-net
196     private_subnet_name: example-subnet
197     private_subnet_cidr: 192.168.170.0/24
198     router_name: example-router
199     sg_name: example-sg
200     sg_desc: Example Security group
201
202 results:
203     # you can also set a file (e.g. /home/opnfv/functest/results/dump.txt) to dump results
204     # test_db_url: file:///home/opnfv/functest/results/dump.txt
205     test_db_url: http://testresults.opnfv.org/test/api/v1/results
206
207 energy_recorder:
208     api_url: http://energy.opnfv.fr/resources
209     api_user: ""
210     api_password: ""
211