Adding scale up test case for l3fwd OvS-DPDK.
[yardstick.git] / tests / vsperf / pvp_rfc2544_throughput_dpdk.yaml
1 # Copyright 2017 Nokia
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 # 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:
21 #
22 #   http://artifacts.opnfv.org/vswitchperf/docs/userguide/yardstick.html
23
24 schema: "yardstick:task:0.1"
25
26 scenarios:
27 {% for multistream in [1, 1000] %}
28 -
29   type: VsperfDPDK
30   options:
31     testname: 'pvp_tput'
32     traffic_type: 'rfc2544_throughput'
33     multistream: {{multistream}} 
34     frame_size: 64
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'
45
46   host: vsperf.demo
47
48   runner:
49     type: Sequence
50     scenario_option_name: frame_size
51     sequence:
52     - 64
53     - 128
54     - 256
55     - 512
56     - 1024
57     - 1280
58     - 1518
59
60   sla:
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
67     action: monitor
68 {% endfor %}
69
70 context:
71   name: demo
72   image: yardstick-vsperf-server
73   flavor: vsperf-flavor
74   user: ubuntu
75
76   placement_groups:
77     pgrp1:
78       policy: "availability"
79
80   servers:
81     vsperf:
82       floating_ip: true
83       placement: "pgrp1"
84
85   networks:
86     test:
87       cidr: '10.0.1.0/24'
88     test2:
89       cidr: '10.0.2.0/24'
90     test3:
91       cidr: '10.0.3.0/24'