Merge "Docs for vPE"
[yardstick.git] / samples / vnf_samples / nsut / vfw / tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex_correlated_scale_4.yaml
1 # Copyright (c) 2017 Intel Corporation
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #      http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 ---
16 schema: yardstick:task:0.1
17 scenarios:
18   - type: NSPerf
19     traffic_profile: ../../traffic_profiles/ipv4_throughput-4.yaml
20     topology: vfw-tg-topology-3node-4.yaml
21     nodes:
22       tg__0: tg_0.yardstick
23       tg__1: tg_1.yardstick
24       vnf__0: vnf_0.yardstick
25       vnf__1: vnf_1.yardstick
26       vnf__2: vnf_2.yardstick
27       vnf__3: vnf_3.yardstick
28     options:
29       framesize:
30         uplink: {64B: 100}
31         downlink: {64B: 100}
32       flow:
33         src_ip:
34           - {'tg__0': 'xe0'}
35           - {'tg__0': 'xe1'}
36           - {'tg__0': 'xe2'}
37           - {'tg__0': 'xe3'}
38         dst_ip:
39           - {'tg__1': 'xe0'}
40           - {'tg__1': 'xe1'}
41           - {'tg__1': 'xe2'}
42           - {'tg__1': 'xe3'}
43         count: 1
44       traffic_type: 4
45       rfc2544:
46         allowed_drop_rate: 0.0001 - 0.0001
47         correlated_traffic: true
48       vnf__0:
49         rules: acl_1rule.yaml
50         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
51       vnf__1:
52         rules: acl_1rule.yaml
53         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
54       vnf__2:
55         rules: acl_1rule.yaml
56         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
57       vnf__3:
58         rules: acl_1rule.yaml
59         vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
60     runner:
61       type: Iteration
62       iterations: 10
63       interval: 35
64 context:
65   # put node context first, so we don't HEAT deploy if node has errors
66   name: yardstick
67   image: yardstick-samplevnfs
68   flavor:
69     vcpus: 10
70     ram: 20480
71     disk: 6
72     extra_specs:
73       hw:cpu_sockets: 1
74       hw:cpu_cores: 10
75       hw:cpu_threads: 1
76   user: ubuntu
77   placement_groups:
78     pgrp1:
79       policy: "availability"
80   servers:
81     tg_0:
82       floating_ip: true
83       placement: "pgrp1"
84       network_ports:
85         mgmt:
86           - mgmt
87         uplink_0:
88           - xe0
89         uplink_1:
90           - xe1
91         uplink_2:
92           - xe2
93         uplink_3:
94           - xe3
95     tg_1:
96       floating_ip: true
97       placement: "pgrp1"
98       network_ports:
99         mgmt:
100           - mgmt
101         downlink_0:
102           - xe0
103         downlink_1:
104           - xe1
105         downlink_2:
106           - xe2
107         downlink_3:
108           - xe3
109     vnf_0:
110       floating_ip: true
111       placement: "pgrp1"
112       network_ports:
113         mgmt:
114           - mgmt
115         uplink_0:
116           - xe0
117         downlink_0:
118           - xe1
119     vnf_1:
120       floating_ip: true
121       placement: "pgrp1"
122       network_ports:
123         mgmt:
124           - mgmt
125         uplink_1:
126           - xe0
127         downlink_1:
128           - xe1
129     vnf_2:
130       floating_ip: true
131       placement: "pgrp1"
132       network_ports:
133         mgmt:
134           - mgmt
135         uplink_2:
136           - xe0
137         downlink_2:
138           - xe1
139     vnf_3:
140       floating_ip: true
141       placement: "pgrp1"
142       network_ports:
143         mgmt:
144           - mgmt
145         uplink_3:
146           - xe0
147         downlink_3:
148           - xe1
149   networks:
150     mgmt:
151       cidr: '10.0.1.0/24'
152     uplink_0:
153       cidr: '10.1.0.0/24'
154       gateway_ip: 'null'
155       port_security_enabled: False
156       enable_dhcp: 'false'
157     downlink_0:
158       cidr: '10.1.1.0/24'
159       gateway_ip: 'null'
160       port_security_enabled: False
161       enable_dhcp: 'false'
162     uplink_1:
163       cidr: '10.2.0.0/24'
164       gateway_ip: 'null'
165       port_security_enabled: False
166       enable_dhcp: 'false'
167     downlink_1:
168       cidr: '10.2.1.0/24'
169       gateway_ip: 'null'
170       port_security_enabled: False
171       enable_dhcp: 'false'
172     uplink_2:
173       cidr: '10.3.0.0/24'
174       gateway_ip: 'null'
175       port_security_enabled: False
176       enable_dhcp: 'false'
177     downlink_2:
178       cidr: '10.3.1.0/24'
179       gateway_ip: 'null'
180       port_security_enabled: False
181       enable_dhcp: 'false'
182     uplink_3:
183       cidr: '10.4.0.0/24'
184       gateway_ip: 'null'
185       port_security_enabled: False
186       enable_dhcp: 'false'
187     downlink_3:
188       cidr: '10.4.1.0/24'
189       gateway_ip: 'null'
190       port_security_enabled: False
191       enable_dhcp: 'false'