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