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