1 # Copyright (c) 2018 Huawei Technologies Co.,Ltd and others.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at
6 # http://www.apache.org/licenses/LICENSE-2.0
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
14 # VSPERF specific configuration file for execution of RFC2544 throughput
15 # traffic. Traffic executed by traffic generator is forwarded directly
16 # between interfaces connected to the traffic generator. So test will only
17 # benchmark the performance of OVS external bridge at controller node.
18 # Details about supported test options and test case execution can be
19 # found in VSPERF documentation:
21 # http://artifacts.opnfv.org/vswitchperf/docs/userguide/yardstick.html
23 schema: "yardstick:task:0.1"
26 {% for multistream in [1, 1000] %}
30 multistream: {{multistream}}
33 trafficgen_port1: 'ens5'
34 trafficgen_port2: 'ens6'
35 moongen_host_user: 'root'
36 moongen_host_passwd: 'root'
37 moongen_host_ip: '192.168.37.2'
38 moongen_dir: '/home/lua-trafficgen'
39 moongen_runBidirec: 'true'
42 moongen_port1_mac: '88:cf:98:2f:4d:ed'
43 moongen_port2_mac: '88:cf:98:2f:4d:ee'
44 forward_type: 'testpmd'
50 scenario_option_name: frame_size
55 # The throughput SLA (or any other SLA) cannot be set to a meaningful
56 # value without knowledge of the server and networking environment,
57 # possibly including prior testing in that environment to establish
58 # a baseline SLA level under well-understood circumstances.
59 throughput_rx_mpps: 0.5
64 #image: yardstick-image
65 image: yardstick-nsb-image
71 hw:mem_page_size: "1GB"
72 hw:cpu_policy: "dedicated"
73 hw:vif_multiqueue_enabled: "true"
78 policy: "availability"
89 physical_network: "sriov2"
90 segmentation_id: "1063"
95 physical_network: "sriov2"
96 segmentation_id: "1061"
97 #port_security_enabled: False
102 physical_network: "sriov2"
103 segmentation_id: "1062"
105 #port_security_enabled: False