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