Merge "Allow caching images for vnf testcases."
[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
65 vping:
66     ping_timeout:   200
67     vm_flavor: m1.tiny # adapt to your environment
68     vm_name_1: opnfv-vping-1
69     vm_name_2: opnfv-vping-2
70     image_name: functest-vping
71     private_net_name: vping-net
72     private_subnet_name: vping-subnet
73     private_subnet_cidr: 192.168.130.0/24
74     router_name: vping-router
75     sg_name: vPing-sg
76     sg_desc: Security group for vPing test case
77     keypair_name: vPing-keypair
78     keypair_priv_file: /tmp/vPing-keypair
79     keypair_pub_file: /tmp/vPing-keypair.pub
80     vm_boot_timeout: 180
81     vm_delete_timeout: 100
82     vm_ssh_connect_timeout: 60
83     cleanup_objects: True
84     unique_names: True
85
86 onos_sfc:
87     image_base_url: http://artifacts.opnfv.org/sfc/demo
88     image_name: TestSfcVm
89     image_file_name: firewall_block_image.img
90
91 odl_sfc:
92     image_base_url: "http://artifacts.opnfv.org/sfc/images"
93     image_name: sfc_nsh_danube
94     image_file_name: sfc_nsh_danube.qcow2
95     image_format: qcow2
96
97 tempest:
98     deployment_name: opnfv-tempest
99     validation:
100         ssh_timeout: 130
101     object_storage:
102         operator_role: SwiftOperator
103     private_net_name: tempest-net
104     private_subnet_name: tempest-subnet
105     private_subnet_cidr: 192.168.150.0/24
106     router_name: tempest-router
107     use_custom_images: True
108     use_custom_flavors: False
109     volume_device_name: vdc
110
111 rally:
112     deployment_name: opnfv-rally
113     network_name: rally-net
114     subnet_name: rally-subnet
115     subnet_cidr: 192.168.140.0/24
116     router_name: rally-router
117
118 vnf:
119     juju_epc:
120         tenant_name: epc
121         tenant_description: OAI EPC deployed with Juju
122         tenant_images: {}
123     cloudify_ims:
124         tenant_name: cloudify_ims
125         tenant_description: vIMS
126         config: cloudify_ims.yaml
127     orchestra_openims:
128         tenant_name: orchestra_openims
129         tenant_description: OpenIMS deployed with Open Baton
130         config: orchestra.yaml
131     orchestra_clearwaterims:
132         tenant_name: orchestra_clearwaterims
133         tenant_description: Clearwater IMS deployed with Open Baton
134         config: orchestra.yaml
135
136 ONOS:
137     general:
138         onosbench_username: 'root'
139         onosbench_password: 'root'
140         onoscli_username: 'root'
141         onoscli_password: 'root'
142         runtimeout: 300
143     environment:
144         OCT: '10.20.0.1'
145         OC1: '10.20.0.7'
146         OC2: '10.20.0.7'
147         OC3: '10.20.0.7'
148         OCN: '10.20.0.4'
149         OCN2: '10.20.0.5'
150         installer_master: '10.20.0.2'
151         installer_master_username: 'root'
152         installer_master_password: 'r00tme'
153 promise:
154     tenant_name: promise
155     tenant_description: promise Functionality Testing
156     user_name: promiser
157     user_pwd: test
158     image_name: promise-img
159     flavor_name: promise-flavor
160     flavor_vcpus: 1
161     flavor_ram: 128
162     flavor_disk: 0
163     network_name: promise-net
164     subnet_name: promise-subnet
165     subnet_cidr: 192.168.121.0/24
166     router_name: promise-router
167
168 example:
169     vm_name: example-vm
170     flavor: m1.small
171     image_name: functest-example-vm
172     private_net_name: example-net
173     private_subnet_name: example-subnet
174     private_subnet_cidr: 192.168.170.0/24
175     router_name: example-router
176     sg_name: example-sg
177     sg_desc: Example Security group
178
179 results:
180     # you can also set a file (e.g. /home/opnfv/functest/results/dump.txt) to dump results
181     # test_db_url: file:///home/opnfv/functest/results/dump.txt
182     test_db_url: http://testresults.opnfv.org/test/api/v1/results
183
184 energy_recorder:
185     api_url: http://energy.opnfv.fr/resources
186     api_user: ""
187     api_password: ""
188