Refactor core VNF class
[functest.git] / functest / ci / config_functest.yaml
1 general:
2     dir:
3         # Relative to the path where the repo is cloned:
4         vping:             functest/opnfv_tests/openstack/vping
5         dir_odl:           functest/opnfv_tests/sdn/odl
6         rally:             functest/opnfv_tests/openstack/rally
7         tempest_cases:     functest/opnfv_tests/openstack/tempest/custom_tests
8         onos:              functest/opnfv_tests/sdn/onos/teston
9         onos_sfc:          functest/opnfv_tests/sdn/onos/sfc
10
11         # Absolute path
12         home:               /home/opnfv
13         repos:              /home/opnfv/repos
14         repo_functest:      /home/opnfv/repos/functest
15         dir_repo_rally:     /home/opnfv/repos/rally
16         repo_tempest:       /home/opnfv/repos/tempest
17         dir_repo_releng:    /home/opnfv/repos/releng
18         repo_vims_test:     /home/opnfv/repos/vnfs/vims-test
19         repo_sdnvpn:        /home/opnfv/repos/sdnvpn
20         repo_sfc:           /home/opnfv/repos/sfc
21         repo_onos:          /home/opnfv/repos/onos
22         repo_promise:       /home/opnfv/repos/promise
23         repo_netready:      /home/opnfv/repos/netready
24         repo_barometer:     /home/opnfv/repos/barometer
25         repo_doctor:        /home/opnfv/repos/doctor
26         repo_copper:        /home/opnfv/repos/copper
27         repo_parser:        /home/opnfv/repos/parser
28         repo_domino:        /home/opnfv/repos/domino
29         repo_snaps:         /home/opnfv/repos/snaps
30         repo_opera:         /home/opnfv/repos/opera
31         repo_fds:           /home/opnfv/repos/fds
32         repo_securityscan:  /home/opnfv/repos/securityscanning
33         repo_vrouter:       /home/opnfv/repos/vnfs/vrouter
34         functest:           /home/opnfv/functest
35         functest_test:      /home/opnfv/repos/functest/functest/opnfv_tests
36         results:            /home/opnfv/functest/results
37         functest_logging_cfg:   /home/opnfv/repos/functest/functest/ci/logging.ini
38         functest_conf:      /home/opnfv/functest/conf
39         functest_data:      /home/opnfv/functest/data
40         ims_data:           /home/opnfv/functest/data/ims/
41         functest_images:    /home/opnfv/functest/images
42         rally_inst:         /home/opnfv/.rally
43         repo_kingbird:      /home/opnfv/repos/kingbird
44         refstack_client:    /home/opnfv/repos/refstack-client
45
46     openstack:
47         creds: /home/opnfv/functest/conf/openstack.creds
48         snapshot_file: /home/opnfv/functest/conf/openstack_snapshot.yaml
49
50         image_name: Cirros-0.3.5
51         image_name_alt: Cirros-0.3.5-1
52         image_file_name:  cirros-0.3.5-x86_64-disk.img
53         image_url: http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img
54         image_user: cirros
55         image_disk_format:  qcow2
56         image_username:  cirros
57         image_password:  cubswin:)
58
59         flavor_name: opnfv_flavor
60         flavor_name_alt: opnfv_flavor_1
61         flavor_ram: 512
62         flavor_disk: 1
63         flavor_vcpus: 1
64
65         # Private network for functest. Will be created by config_functest.py
66         neutron_private_net_name: functest-net
67         neutron_private_subnet_name: functest-subnet
68         neutron_private_subnet_cidr: 192.168.120.0/24
69         neutron_private_subnet_start: 192.168.120.2
70         neutron_private_subnet_end: 192.168.120.254
71         neutron_private_subnet_gateway: 192.168.120.254
72         neutron_router_name: functest-router
73
74     functest:
75         testcases_yaml: /home/opnfv/repos/functest/functest/ci/testcases.yaml
76
77 snaps:
78     use_keystone: True
79     use_floating_ips: True
80 #    images:
81 #      cirros:
82 #        disk_url: http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img
83         # ARM
84 #        disk_url: http://download.cirros-cloud.net/daily/20161201/cirros-d161201-aarch64-disk.img
85 #        kernel_url: http://download.cirros-cloud.net/daily/20161201/cirros-d161201-aarch64-kernel
86 #        ramdisk_url: http://download.cirros-cloud.net/daily/20161201/cirros-d161201-aarch64-initramfs
87 #        extra_properties:
88 #            os_command_line: root=/dev/vdb1 rw rootwait console=tty0 console=ttyS0 console=ttyAMA0
89 #            hw_video_model: vga
90 #      ubuntu:
91 #        disk_url: http://uec-images.ubuntu.com/releases/trusty/14.04/ubuntu-14.04-server-cloudimg-amd64-disk1.img
92 #      centos:
93 #        disk_url: http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2
94
95 vping:
96     ping_timeout:   200
97     vm_flavor: m1.tiny # adapt to your environment
98     vm_name_1: opnfv-vping-1
99     vm_name_2: opnfv-vping-2
100     image_name: functest-vping
101     private_net_name: vping-net
102     private_subnet_name: vping-subnet
103     private_subnet_cidr: 192.168.130.0/24
104     router_name: vping-router
105     sg_name: vPing-sg
106     sg_desc: Security group for vPing test case
107     keypair_name: vPing-keypair
108     keypair_priv_file: /tmp/vPing-keypair
109     keypair_pub_file: /tmp/vPing-keypair.pub
110     vm_boot_timeout: 180
111     vm_delete_timeout: 100
112     vm_ssh_connect_timeout: 60
113     cleanup_objects: True
114     unique_names: True
115
116 onos_sfc:
117     image_base_url: http://artifacts.opnfv.org/sfc/demo
118     image_name: TestSfcVm
119     image_file_name: firewall_block_image.img
120
121 odl_sfc:
122     image_base_url: "http://artifacts.opnfv.org/sfc/images"
123     image_name: sfc_nsh_danube
124     image_file_name: sfc_nsh_danube.qcow2
125     image_format: qcow2
126
127 tempest:
128     deployment_name: opnfv-tempest
129     identity:
130         tenant_name: tempest
131         tenant_description: Tenant for Tempest test suite
132         user_name: tempest
133         user_password: tempest
134     validation:
135         ssh_timeout: 130
136     object_storage:
137         operator_role: SwiftOperator
138     private_net_name: tempest-net
139     private_subnet_name: tempest-subnet
140     private_subnet_cidr: 192.168.150.0/24
141     router_name: tempest-router
142     use_custom_images: True
143     use_custom_flavors: False
144     volume_device_name: vdc
145
146 rally:
147     deployment_name: opnfv-rally
148     network_name: rally-net
149     subnet_name: rally-subnet
150     subnet_cidr: 192.168.140.0/24
151     router_name: rally-router
152
153 refstack:
154     tempest_conf_path: openstack/refstack_client/refstack_tempest.conf
155     defcore_list: openstack/refstack_client/defcore.txt
156
157 vnf:
158     aaa:
159         tenant_name: aaa
160         tenant_description: Freeradius server
161         tenant_images: {}
162     juju_epc:
163         tenant_name: epc
164         tenant_description: OAI EPC deployed with Juju
165         tenant_images: {}
166     cloudify_ims:
167         tenant_name: cloudify_ims
168         tenant_description: vIMS
169         config: cloudify_ims.yaml
170     orchestra_ims:
171         tenant_name: orchestra_ims
172         tenant_description: ims deployed with openbaton
173         config: orchestra_ims.yaml
174     opera_ims:
175         tenant_name: opera_ims
176         tenant_description: ims deployed with open-o
177
178 ONOS:
179     general:
180         onosbench_username: 'root'
181         onosbench_password: 'root'
182         onoscli_username: 'root'
183         onoscli_password: 'root'
184         runtimeout: 300
185     environment:
186         OCT: '10.20.0.1'
187         OC1: '10.20.0.7'
188         OC2: '10.20.0.7'
189         OC3: '10.20.0.7'
190         OCN: '10.20.0.4'
191         OCN2: '10.20.0.5'
192         installer_master: '10.20.0.2'
193         installer_master_username: 'root'
194         installer_master_password: 'r00tme'
195 multisite:
196     fuel:
197         installer_username: 'root'
198         installer_password: 'r00tme'
199     compass:
200         installer_username: 'root'
201         installer_password: 'root'
202         multisite_controller_ip: '10.1.0.50'
203 promise:
204     tenant_name: promise
205     tenant_description: promise Functionality Testing
206     user_name: promiser
207     user_pwd: test
208     image_name: promise-img
209     flavor_name: promise-flavor
210     flavor_vcpus: 1
211     flavor_ram: 128
212     flavor_disk: 0
213     network_name: promise-net
214     subnet_name: promise-subnet
215     subnet_cidr: 192.168.121.0/24
216     router_name: promise-router
217
218 example:
219     vm_name: example-vm
220     flavor: m1.small
221     image_name: functest-example-vm
222     private_net_name: example-net
223     private_subnet_name: example-subnet
224     private_subnet_cidr: 192.168.170.0/24
225     router_name: example-router
226     sg_name: example-sg
227     sg_desc: Example Security group
228
229 results:
230     # you can also set a file (e.g. /home/opnfv/functest/results/dump.txt) to dump results
231     # test_db_url: file:///home/opnfv/functest/results/dump.txt
232     test_db_url: http://testresults.opnfv.org/test/api/v1/results
233
234 energy_recorder:
235     api_url: http://161.105.253.100:8888/resources
236     api_user: ""
237     api_password: ""