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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 # VSPERF specific configuration file for execution of RFC2544 throughput
16 # traffic. Traffic executed by traffic generator is forwarded directly
17 # between interfaces connected to the traffic generator. So test will only
18 # benchmark the performance of OVS external bridge at controller node.
19 # Details about supported test options and test case execution can be
20 # found in VSPERF documentation:
22 # http://artifacts.opnfv.org/vswitchperf/docs/userguide/yardstick.html
24 schema: "yardstick:task:0.1"
27 {% for multistream in [1, 1000] %}
32 traffic_type: 'rfc2544_throughput'
33 multistream: {{multistream}}
35 test_params: 'TRAFFICGEN_DURATION=60;'
36 trafficgen_port1: 'ens4'
37 trafficgen_port2: 'ens5'
38 conf_file: '~/vsperf-yardstick.conf'
39 moongen_helper_file: '~/moongen.py'
40 moongen_host_ip: '10.5.201.151'
41 moongen_port1_mac: '8c:dc:d4:ae:7c:5c'
42 moongen_port2_mac: '8c:dc:d4:ae:7c:5d'
43 trafficgen_port1_nw: 'test2'
44 trafficgen_port2_nw: 'test3'
50 scenario_option_name: frame_size
61 # The throughput SLA (or any other SLA) cannot be set to a meaningful
62 # value without knowledge of the server and networking environment,
63 # possibly including prior testing in that environment to establish
64 # a baseline SLA level under well-understood circumstances.
65 metrics: 'throughput_rx_fps'
66 throughput_rx_fps: 500000
72 image: yardstick-vsperf-server
78 policy: "availability"