Merge "Test case: Fio volume benchmark testcase using job file"
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc011.yaml
1 ##############################################################################
2 # Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9 ---
10
11 schema: "yardstick:task:0.1"
12 description: >
13     Yardstick TC011 config file;
14     Measure packet delay variation (jitter) using iperf3.
15
16 {% set provider = provider or none %}
17 {% set physical_network = physical_network or 'physnet1' %}
18 {% set segmentation_id = segmentation_id or none %}
19
20 scenarios:
21 -
22   type: Iperf3
23   options:
24     udp: udp
25     bandwidth: 20m
26     length: 8K
27     window: 29200
28   host: zeus.demo
29   target: hera.demo
30
31   runner:
32     type: Duration
33     duration: 30
34
35   sla:
36     jitter: 10
37     action: monitor
38
39 context:
40   name: demo
41   image: yardstick-image
42   flavor: yardstick-flavor
43   user: ubuntu
44
45   placement_groups:
46     pgrp1:
47       policy: "availability"
48
49   servers:
50     zeus:
51       floating_ip: true
52       placement: "pgrp1"
53     hera:
54       floating_ip: true
55       placement: "pgrp1"
56
57   networks:
58     test:
59       cidr: '10.0.1.0/24'
60       {% if provider == "vlan" %}
61       provider: {{provider}}
62       physical_network: {{physical_network}}
63         {% if segmentation_id %}
64       segmentation_id: {{segmentation_id}}
65         {% endif %}
66       {% endif %}