add yardstick iruya 9.0.0 release notes
[yardstick.git] / samples / MoongenL2fwd.yaml
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
5 #
6 #   http://www.apache.org/licenses/LICENSE-2.0
7 #
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.
13
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:
20 #
21 #   http://artifacts.opnfv.org/vswitchperf/docs/userguide/yardstick.html
22
23 schema: "yardstick:task:0.1"
24
25 scenarios:
26 {% for multistream in [1, 1000] %}
27 -
28   type: MoongenTestPMD
29   options:
30     multistream: {{multistream}}
31     frame_size: 1024
32     testpmd_queue: 2
33     trafficgen_port1: 'ens4'
34     trafficgen_port2: 'ens5'
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'
40     Package_Loss: 0
41     SearchRuntime: 60
42     moongen_port1_mac: '88:cf:98:2f:4d:ed'
43     moongen_port2_mac: '88:cf:98:2f:4d:ee'
44     forward_type: 'l2fwd'
45
46   host: testpmd.demo
47
48   runner:
49     type: Sequence
50     scenario_option_name: frame_size
51     sequence:
52     - 64
53
54   sla:
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
60 {% endfor %}
61
62 context:
63   name: demo
64   image: yardstick-image
65   flavor:
66     vcpus: 10
67     ram: 20480
68     disk: 6
69     extra_specs:
70       hw:mem_page_size: "1GB"
71       hw:cpu_policy: "dedicated"
72       hw:vif_multiqueue_enabled: "true"
73   user: ubuntu
74
75   placement_groups:
76     pgrp1:
77       policy: "availability"
78
79   servers:
80     testpmd:
81       floating_ip: true
82       placement: "pgrp1"
83
84   networks:
85     test:
86       cidr: '10.0.1.0/24'
87     test2:
88       cidr: '10.0.2.0/24'
89       gateway_ip: 'null'
90       port_security_enabled: False
91       enable_dhcp: 'false'
92     test3:
93       cidr: '10.0.3.0/24'
94       gateway_ip: 'null'
95       port_security_enabled: False
96       enable_dhcp: 'false'