Add interface to run sfc functests.
[functest.git] / ci / config_functest.yaml
1 general:
2     directories:
3         # Relative to the path where the repo is cloned:
4         dir_vping:         testcases/OpenStack/vPing/
5         dir_odl:           testcases/Controllers/ODL/
6         dir_rally:         testcases/OpenStack/rally/
7         dir_tempest_cases: testcases/OpenStack/tempest/custom_tests/
8         dir_vIMS:          testcases/vIMS/
9         dir_onos:          testcases/Controllers/ONOS/Teston/
10         dir_onos_sfc:           testcases/Controllers/ONOS/Sfc/
11
12         # Absolute path
13         dir_repos:          /home/opnfv/repos
14         dir_repo_functest:  /home/opnfv/repos/functest
15         dir_repo_rally:     /home/opnfv/repos/rally
16         dir_repo_tempest:   /home/opnfv/repos/tempest
17         dir_repo_releng:    /home/opnfv/repos/releng
18         dir_repo_vims_test: /home/opnfv/repos/vims-test
19         dir_repo_bgpvpn:    /home/opnfv/repos/bgpvpn
20         dir_repo_onos:      /home/opnfv/repos/onos
21         dir_repo_promise:   /home/opnfv/repos/promise
22         dir_repo_doctor:    /home/opnfv/repos/doctor
23         dir_repo_ovno:      /home/opnfv/repos/ovno
24         dir_functest:       /home/opnfv/functest
25         dir_results:        /home/opnfv/functest/results
26         dir_functest_conf:  /home/opnfv/functest/conf
27         dir_rally_res:      /home/opnfv/functest/results/rally/
28         dir_functest_data:  /home/opnfv/functest/data
29         dir_vIMS_data:      /home/opnfv/functest/data/vIMS
30         dir_rally_inst:     /home/opnfv/.rally
31
32     openstack:
33         snapshot_file: /home/opnfv/functest/conf/openstack_snapshot.yaml
34
35         image_name: Cirros-0.3.4
36         image_file_name:  cirros-0.3.4-x86_64-disk.img
37         image_disk_format:  qcow2
38         
39         # Private network for functest. Will be created by config_functest.py
40         neutron_private_net_name: functest-net
41         neutron_private_subnet_name: functest-subnet
42         neutron_private_subnet_cidr: 192.168.120.0/24
43         neutron_private_subnet_start: 192.168.120.2
44         neutron_private_subnet_end: 192.168.120.254
45         neutron_private_subnet_gateway: 192.168.120.254
46         neutron_router_name: functest-router
47
48 vping:
49     ping_timeout:   200
50     vm_flavor: m1.small # adapt to your environment
51     vm_name_1: opnfv-vping-1
52     vm_name_2: opnfv-vping-2
53     image_name: functest-vping
54     vping_private_net_name: vping-net
55     vping_private_subnet_name: vping-subnet
56     vping_private_subnet_cidr: 192.168.130.0/24
57     vping_router_name: vping-router
58     vping_sg_name: vPing-sg
59     vping_sg_descr: Security group for vPing test case
60
61 onos_sfc:
62     image_name: TestSfcVm
63     image_file_name: firewall_block_image.img
64
65 tempest:
66     identity:
67         tenant_name: tempest
68         tenant_description: Tenant for Tempest test suite
69         user_name: tempest
70         user_password: tempest
71     private_net_name: tempest-net
72     private_subnet_name: tempest-subnet
73     private_subnet_cidr: 192.168.150.0/24
74     router_name: tempest-router
75
76 rally:
77     deployment_name: opnfv-rally
78     network_name: rally-net
79     subnet_name: rally-subnet
80     subnet_cidr: 192.168.140.0/24
81     router_name: rally-router
82
83 vIMS:
84     general:
85         tenant_name: vIMS
86         tenant_description: vIMS Functionality Testing
87         images:
88             ubuntu:
89                 image_url: 'http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img'
90                 image_name: ubuntu_14.04
91             centos:
92                 image_url: 'http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-1510.qcow2'
93                 image_name: centos_7
94     cloudify:
95         blueprint:
96             url: https://github.com/boucherv-orange/cloudify-manager-blueprints.git
97             branch: "3.3-build"
98         requierments:
99             ram_min: 3000
100             os_image: centos_7
101         inputs:
102             keystone_username: ""
103             keystone_password: ""
104             keystone_tenant_name: ""
105             keystone_url: ""
106             manager_public_key_name: 'manager-kp'
107             agent_public_key_name: 'agent-kp'
108             image_id: ""
109             flavor_id: "3"
110             external_network_name: ""
111             ssh_user: centos
112             agents_user: ubuntu
113     clearwater:
114         blueprint:
115             file_name: 'openstack-blueprint.yaml'
116             name: "clearwater-opnfv"
117             destination_folder: "opnfv-cloudify-clearwater"
118             url: 'https://github.com/Orange-OpenSource/opnfv-cloudify-clearwater.git'
119             branch: "stable"
120         deployment-name: 'clearwater-opnfv'
121         requierments:
122             ram_min: 1700
123             os_image: ubuntu_14.04
124         inputs:
125             image_id: ''
126             flavor_id: ''
127             agent_user: 'ubuntu'
128             external_network_name: ''
129             public_domain: clearwater.opnfv
130 ONOS:
131     general:
132         onosbench_username: 'root'
133         onosbench_password: 'root'
134         onoscli_username: 'root'
135         onoscli_password: 'root'
136         runtimeout: 300
137     environment:
138         OCT: '10.20.0.1'
139         OC1: '10.20.0.7'
140         OC2: '10.20.0.7'
141         OC3: '10.20.0.7'
142         OCN: '10.20.0.4'
143         OCN2: '10.20.0.5'
144         installer_master: '10.20.0.2'
145         installer_master_username: 'root'
146         installer_master_password: 'r00tme'
147
148 promise:
149     general:
150         tenant_name: promise
151         tenant_description: promise Functionality Testing
152         user_name: promiser
153         user_pwd: test
154         image_name: promise-img
155         flavor_name: promise-flavor
156         flavor_vcpus: 1
157         flavor_ram: 512
158         flavor_disk: 0
159         network_name: promise-net
160         subnet_name: promise-subnet
161         subnet_cidr: 192.168.121.0/24
162         router_name: promise-router
163
164 results:
165     test_db_url: http://testresults.opnfv.org/test/api/v1