Merge "Added means to override the RC file credentials."
[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     # network_type: vlan
92     # physical_network: physnet2
93     # segmentation_id: 2366
94     private_subnet_name: vping-subnet
95     private_subnet_cidr: 192.168.130.0/24
96     router_name: vping-router
97     sg_name: vPing-sg
98     sg_desc: Security group for vPing test case
99     keypair_name: vPing-keypair
100     keypair_priv_file: /tmp/vPing-keypair
101     keypair_pub_file: /tmp/vPing-keypair.pub
102     vm_boot_timeout: 180
103     vm_delete_timeout: 100
104     vm_ssh_connect_timeout: 60
105     cleanup_objects: True
106     unique_names: True
107
108 onos_sfc:
109     image_base_url: http://artifacts.opnfv.org/sfc/demo
110     image_name: TestSfcVm
111     image_file_name: firewall_block_image.img
112
113 odl_sfc:
114     image_base_url: "http://artifacts.opnfv.org/sfc/images"
115     image_name: sfc_nsh_danube
116     image_file_name: sfc_nsh_danube.qcow2
117     image_format: qcow2
118
119 tempest:
120     deployment_name: opnfv-tempest
121     identity:
122         tenant_name: tempest
123         tenant_description: Tenant for Tempest test suite
124         user_name: tempest
125         user_password: Tempest123!
126     validation:
127         ssh_timeout: 130
128     object_storage:
129         operator_role: SwiftOperator
130     private_net_name: tempest-net
131     private_subnet_name: tempest-subnet
132     private_subnet_cidr: 192.168.150.0/24
133     router_name: tempest-router
134     use_custom_images: True
135     use_custom_flavors: False
136     volume_device_name: vdc
137
138 rally:
139     deployment_name: opnfv-rally
140     network_name: rally-net
141     subnet_name: rally-subnet
142     subnet_cidr: 192.168.140.0/24
143     router_name: rally-router
144
145 vnf:
146     juju_epc:
147         tenant_name: epc
148         tenant_description: OAI EPC deployed with Juju
149         tenant_images: {}
150     cloudify_ims:
151         tenant_name: cloudify_ims
152         tenant_description: vIMS
153         config: cloudify_ims.yaml
154     orchestra_openims:
155         tenant_name: orchestra_openims
156         tenant_description: OpenIMS deployed with Open Baton
157         config: orchestra.yaml
158     orchestra_clearwaterims:
159         tenant_name: orchestra_clearwaterims
160         tenant_description: Clearwater IMS deployed with Open Baton
161         config: orchestra.yaml
162
163 ONOS:
164     general:
165         onosbench_username: 'root'
166         onosbench_password: 'root'
167         onoscli_username: 'root'
168         onoscli_password: 'root'
169         runtimeout: 300
170     environment:
171         OCT: '10.20.0.1'
172         OC1: '10.20.0.7'
173         OC2: '10.20.0.7'
174         OC3: '10.20.0.7'
175         OCN: '10.20.0.4'
176         OCN2: '10.20.0.5'
177         installer_master: '10.20.0.2'
178         installer_master_username: 'root'
179         installer_master_password: 'r00tme'
180 promise:
181     tenant_name: promise
182     tenant_description: promise Functionality Testing
183     user_name: promiser
184     user_pwd: test
185     image_name: promise-img
186     flavor_name: promise-flavor
187     flavor_vcpus: 1
188     flavor_ram: 128
189     flavor_disk: 0
190     network_name: promise-net
191     subnet_name: promise-subnet
192     subnet_cidr: 192.168.121.0/24
193     router_name: promise-router
194
195 example:
196     vm_name: example-vm
197     flavor: m1.small
198     image_name: functest-example-vm
199     private_net_name: example-net
200     private_subnet_name: example-subnet
201     private_subnet_cidr: 192.168.170.0/24
202     router_name: example-router
203     sg_name: example-sg
204     sg_desc: Example Security group
205
206 results:
207     # you can also set a file (e.g. /home/opnfv/functest/results/dump.txt) to dump results
208     # test_db_url: file:///home/opnfv/functest/results/dump.txt
209     test_db_url: http://testresults.opnfv.org/test/api/v1/results
210
211 energy_recorder:
212     api_url: http://energy.opnfv.fr/resources
213     api_user: ""
214     api_password: ""
215