Merge "Use constants for Functest config file"
[functest.git] / functest / ci / config_functest.yaml
1 ---
2 general:
3     dir:
4         home: /home/opnfv
5         repos: /home/opnfv/repos
6         repo_tempest: /src/tempest
7         repo_vims_test: /src/vims-test
8         repo_odl_test: /src/odl_test
9         functest: /home/opnfv/functest
10         results: /home/opnfv/functest/results
11         functest_conf: /home/opnfv/functest/conf
12         functest_data: /home/opnfv/functest/data
13         ims_data: /home/opnfv/functest/data/ims/
14         router_data: /home/opnfv/functest/data/router/
15         functest_images: /home/opnfv/functest/images
16         rally_inst: /root/.rally
17
18     openstack:
19         image_name: Cirros-0.4.0
20         image_name_alt: Cirros-0.4.0-1
21         image_file_name: cirros-0.4.0-x86_64-disk.img
22         image_url:
23             http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img
24         image_user: cirros
25         image_disk_format: qcow2
26         image_username: cirros
27         image_password: gocubsgo
28
29         flavor_name: opnfv_flavor
30         flavor_name_alt: opnfv_flavor_1
31         flavor_ram: 512
32         flavor_disk: 1
33         flavor_vcpus: 1
34
35         # Private network for functest. Will be created by config_functest.py
36         neutron_private_net_name: functest-net
37         neutron_private_subnet_name: functest-subnet
38         neutron_private_subnet_cidr: 192.168.120.0/24
39         neutron_private_subnet_start: 192.168.120.2
40         neutron_private_subnet_end: 192.168.120.254
41         neutron_private_subnet_gateway: 192.168.120.254
42         neutron_router_name: functest-router
43
44 snaps:
45     use_keystone: 'True'
46     use_floating_ips: 'True'
47     images:
48         glance_tests:
49             disk_file: /home/opnfv/functest/images/cirros-0.4.0-x86_64-disk.img
50         cirros:
51             disk_file: /home/opnfv/functest/images/cirros-0.4.0-x86_64-disk.img
52         ubuntu:
53             disk_file:
54                 /home/opnfv/functest/images/ubuntu-14.04-server-cloudimg-amd64-disk1.img
55         centos:
56             disk_file:
57                 /home/opnfv/functest/images/CentOS-7-x86_64-GenericCloud.qcow2
58 #   netconf_override:
59 #       network_type: vlan
60 #       physical_network: physnet2
61 #       segmentation_id: 2366
62
63 # All of these values are optional and will override the values retrieved
64 # by the RC file
65 #    os_creds_override:
66 #      username: {user}
67 #      password: {password}
68 #      auth_url: {auth_url}
69 #      project_name: {project_name}
70 #      identity_api_version: {2|3}
71 #      network_api_version: {2}
72 #      compute_api_version: {2}
73 #      image_api_version: {1|2}
74 #      user_domain_id: {user_domain_id}
75 #      project_domain_id: {projects_domain_id}
76 #      interface: {interface}
77 #      cacert: {True|False}
78 #      proxy_settings:
79 #        host: {proxy_host}
80 #        port: {proxy_port}
81 #        ssh_proxy_cmd: {OpenSSH -o ProxyCommand value}
82
83 vping:
84     ping_timeout: 200
85     vm_flavor: m1.tiny   # adapt to your environment
86     vm_name_1: opnfv-vping-1
87     vm_name_2: opnfv-vping-2
88     image_name: functest-vping
89     private_net_name: vping-net
90     # network_type: vlan
91     # physical_network: physnet2
92     # segmentation_id: 2366
93     private_subnet_name: vping-subnet
94     private_subnet_cidr: 192.168.130.0/24
95     router_name: vping-router
96     sg_name: vPing-sg
97     sg_desc: Security group for vPing test case
98     keypair_name: vPing-keypair
99     keypair_priv_file: /tmp/vPing-keypair
100     keypair_pub_file: /tmp/vPing-keypair.pub
101     vm_boot_timeout: 180
102     vm_delete_timeout: 100
103     vm_ssh_connect_timeout: 60
104     cleanup_objects: '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     verifier_name: opnfv-tempest
114     identity:
115         tenant_name: tempest
116         tenant_description: Tenant for Tempest test suite
117         user_name: tempest
118         user_password: Tempest123!
119     validation:
120         ssh_timeout: 130
121     object_storage:
122         operator_role: SwiftOperator
123     # network_type: vlan
124     # physical_network: physnet2
125     # segmentation_id: 2366
126     private_net_name: tempest-net
127     private_subnet_name: tempest-subnet
128     private_subnet_cidr: 192.168.150.0/24
129     router_name: tempest-router
130     use_custom_flavors: 'False'
131     volume_device_name: vdc
132
133 rally:
134     deployment_name: opnfv-rally
135     network_name: rally-net
136     # network_type: vlan
137     # physical_network: physnet2
138     # segmentation_id: 2366
139     subnet_name: rally-subnet
140     subnet_cidr: 192.168.140.0/24
141     router_name: rally-router
142     flavor_name: rally-tiny
143     flavor_alt_name: rally-mini
144
145 vnf:
146     juju_epc:
147         config: juju_epc.yaml
148         tenant_description: OAI EPC deployed with Juju
149         tenant_name: abotepc
150         private_net_name: abot-net
151         private_subnet_cidr: 172.16.0.0/24
152         private_subnet_name: abot-subnet
153         external_router: abot-router
154     cloudify_ims:
155         tenant_name: cloudify_ims
156         tenant_description: vIMS
157         config: cloudify_ims.yaml
158     cloudify_ims_perf:
159         tenant_name: cloudify_ims_perf
160         tenant_description: vIMS
161         config: cloudify_ims_perf.yaml
162     orchestra_openims:
163         tenant_name: orchestra_openims
164         tenant_description: OpenIMS deployed with Open Baton
165         config: orchestra.yaml
166     orchestra_clearwaterims:
167         tenant_name: orchestra_clearwaterims
168         tenant_description: Clearwater IMS deployed with Open Baton
169         config: orchestra.yaml
170     vyos_vrouter:
171         tenant_name: vrouter
172         tenant_description: vRouter
173         config: cloudify_vrouter.yaml
174
175 example:
176     vm_name: example-vm
177     flavor: m1.small
178     image_name: functest-example-vm
179     private_net_name: example-net
180     private_subnet_name: example-subnet
181     private_subnet_cidr: 192.168.170.0/24
182     router_name: example-router
183     sg_name: example-sg
184     sg_desc: Example Security group