conf: traffic type naming step2
[vswitchperf.git] / yardstick / tests / p2p_rfc2544_throughput_sample.yaml
1 # Copyright 2016 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 # 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 -
28   type: Vsperf
29   options:
30     testname: 'p2p_rfc2544_throughput'
31     traffic_type: 'rfc2544_throughput'
32     frame_size: '64'
33     bidirectional: 'True'
34     iload: 100
35     test_params: 'TRAFFICGEN_DURATION=30;'
36     trafficgen_port1: 'eth1'
37     trafficgen_port2: 'eth3'
38     external_bridge: 'br-ex'
39     conf_file: '~/vsperf-yardstick.conf'
40
41   host: vsperf.demo
42
43   runner:
44     type: Sequence
45     scenario_option_name: frame_size
46     sequence:
47     - 64
48     - 128
49     - 512
50     - 1024
51     - 1518
52   sla:
53     # The throughput SLA (or any other SLA) cannot be set to a meaningful
54     # value without knowledge of the server and networking environment,
55     # possibly including prior testing in that environment to establish
56     # a baseline SLA level under well-understood circumstances.
57     metrics: 'throughput_rx_fps'
58     throughput_rx_fps: 500000
59     action: monitor
60
61 context:
62   name: demo
63   image: vsperf
64   flavor: vsperf-flavor
65   user: ubuntu
66
67   placement_groups:
68     pgrp1:
69       policy: "availability"
70
71   servers:
72     vsperf:
73       floating_ip: true
74       placement: "pgrp1"
75
76   networks:
77     test:
78       cidr: '10.0.0.0/24'