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