Merge "Refactor resource creation and cleanup in rally"
[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_barometer:     /home/opnfv/repos/barometer
10         repo_odl_test:      /src/odl_test
11         repo_fds:           /src/fds
12         repo_securityscan:  /home/opnfv/repos/securityscanning
13         functest:           /home/opnfv/functest
14         results:            /home/opnfv/functest/results
15         functest_conf:      /home/opnfv/functest/conf
16         functest_data:      /home/opnfv/functest/data
17         ims_data:           /home/opnfv/functest/data/ims/
18         router_data:        /home/opnfv/functest/data/router/
19         functest_images:    /home/opnfv/functest/images
20         rally_inst:         /root/.rally
21
22     openstack:
23         creds: /home/opnfv/functest/conf/openstack.creds
24         snapshot_file: /home/opnfv/functest/conf/openstack_snapshot.yaml
25
26         image_name: Cirros-0.3.5
27         image_name_alt: Cirros-0.3.5-1
28         image_file_name:  cirros-0.3.5-x86_64-disk.img
29         image_url: http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img
30         image_user: cirros
31         image_disk_format:  qcow2
32         image_username:  cirros
33         image_password:  cubswin:)
34
35         flavor_name: opnfv_flavor
36         flavor_name_alt: opnfv_flavor_1
37         flavor_ram: 512
38         flavor_disk: 1
39         flavor_vcpus: 1
40
41         # Private network for functest. Will be created by config_functest.py
42         neutron_private_net_name: functest-net
43         neutron_private_subnet_name: functest-subnet
44         neutron_private_subnet_cidr: 192.168.120.0/24
45         neutron_private_subnet_start: 192.168.120.2
46         neutron_private_subnet_end: 192.168.120.254
47         neutron_private_subnet_gateway: 192.168.120.254
48         neutron_router_name: functest-router
49
50 snaps:
51     use_keystone: True
52     use_floating_ips: True
53     images:
54       glance_tests:
55         disk_file: /home/opnfv/functest/images/cirros-0.3.5-x86_64-disk.img
56       cirros:
57         disk_file: /home/opnfv/functest/images/cirros-0.3.5-x86_64-disk.img
58       ubuntu:
59         disk_file: /home/opnfv/functest/images/ubuntu-14.04-server-cloudimg-amd64-disk1.img
60       centos:
61         disk_file: /home/opnfv/functest/images/CentOS-7-x86_64-GenericCloud.qcow2
62       # All of these values are optional and will override the values retrieved
63       # by the RC file
64 #    os_creds_override:
65 #      username: {user}
66 #      password: {password}
67 #      auth_url: {auth_url}
68 #      project_name: {project_name}
69 #      identity_api_version: {2|3}
70 #      network_api_version: {2}
71 #      compute_api_version: {2}
72 #      image_api_version: {1|2}
73 #      user_domain_id: {user_domain_id}
74 #      project_domain_id: {projects_domain_id}
75 #      interface: {interface}
76 #      cacert: {True|False}
77 #      proxy_settings:
78 #        host: {proxy_host}
79 #        port: {proxy_port}
80 #        ssh_proxy_cmd: {OpenSSH -o ProxyCommand value}
81
82 vping:
83     ping_timeout:   200
84     vm_flavor: m1.tiny # adapt to your environment
85     vm_name_1: opnfv-vping-1
86     vm_name_2: opnfv-vping-2
87     image_name: functest-vping
88     private_net_name: vping-net
89     # network_type: vlan
90     # physical_network: physnet2
91     # segmentation_id: 2366
92     private_subnet_name: vping-subnet
93     private_subnet_cidr: 192.168.130.0/24
94     router_name: vping-router
95     sg_name: vPing-sg
96     sg_desc: Security group for vPing test case
97     keypair_name: vPing-keypair
98     keypair_priv_file: /tmp/vPing-keypair
99     keypair_pub_file: /tmp/vPing-keypair.pub
100     vm_boot_timeout: 180
101     vm_delete_timeout: 100
102     vm_ssh_connect_timeout: 60
103     cleanup_objects: True
104     unique_names: True
105
106 odl_sfc:
107     image_base_url: "http://artifacts.opnfv.org/sfc/images"
108     image_name: sfc_nsh_danube
109     image_file_name: sfc_nsh_danube.qcow2
110     image_format: qcow2
111
112 tempest:
113     unique_names: True
114     deployment_name: opnfv-tempest
115     identity:
116         tenant_name: tempest
117         tenant_description: Tenant for Tempest test suite
118         user_name: tempest
119         user_password: Tempest123!
120     validation:
121         ssh_timeout: 130
122     object_storage:
123         operator_role: SwiftOperator
124     private_net_name: tempest-net
125     private_subnet_name: tempest-subnet
126     private_subnet_cidr: 192.168.150.0/24
127     router_name: tempest-router
128     use_custom_images: True
129     use_custom_flavors: False
130     volume_device_name: vdc
131
132 rally:
133     unique_names: True
134     deployment_name: opnfv-rally
135     network_name: rally-net
136     subnet_name: rally-subnet
137     subnet_cidr: 192.168.140.0/24
138     router_name: rally-router
139
140 vnf:
141     juju_epc:
142         tenant_name: epc
143         tenant_description: OAI EPC deployed with Juju
144         tenant_images: {}
145     cloudify_ims:
146         tenant_name: cloudify_ims
147         tenant_description: vIMS
148         config: cloudify_ims.yaml
149     cloudify_ims_perf:
150         tenant_name: cloudify_ims_perf
151         tenant_description: vIMS
152         config: cloudify_ims_perf.yaml
153     orchestra_openims:
154         tenant_name: orchestra_openims
155         tenant_description: OpenIMS deployed with Open Baton
156         config: orchestra.yaml
157     orchestra_clearwaterims:
158         tenant_name: orchestra_clearwaterims
159         tenant_description: Clearwater IMS deployed with Open Baton
160         config: orchestra.yaml
161     vyos_vrouter:
162         tenant_name: vrouter
163         tenant_description: vRouter
164         config: cloudify_vrouter.yaml
165
166 promise:
167     tenant_name: promise
168     tenant_description: promise Functionality Testing
169     user_name: promiser
170     user_pwd: test
171     image_name: promise-img
172     flavor_name: promise-flavor
173     flavor_vcpus: 1
174     flavor_ram: 128
175     flavor_disk: 0
176     network_name: promise-net
177     subnet_name: promise-subnet
178     subnet_cidr: 192.168.121.0/24
179     router_name: promise-router
180
181 example:
182     vm_name: example-vm
183     flavor: m1.small
184     image_name: functest-example-vm
185     private_net_name: example-net
186     private_subnet_name: example-subnet
187     private_subnet_cidr: 192.168.170.0/24
188     router_name: example-router
189     sg_name: example-sg
190     sg_desc: Example Security group
191
192 results:
193     # you can also set a file (e.g. /home/opnfv/functest/results/dump.txt) to dump results
194     # test_db_url: file:///home/opnfv/functest/results/dump.txt
195     test_db_url: http://testresults.opnfv.org/test/api/v1/results
196
197 energy_recorder:
198     api_url: http://energy.opnfv.fr/resources
199     api_user: ""
200     api_password: ""