Merge "Record test case names when run a task using API"
[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 scenarios:
17 -
18   type: Iperf3
19   options:
20     udp: udp
21     bandwidth: 20m
22   host: zeus.demo
23   target: hera.demo
24
25   runner:
26     type: Duration
27     duration: 30
28
29   sla:
30     jitter: 10
31     action: monitor
32
33 context:
34   name: demo
35   image: yardstick-image
36   flavor: yardstick-flavor
37   user: ubuntu
38
39   placement_groups:
40     pgrp1:
41       policy: "availability"
42
43   servers:
44     zeus:
45       floating_ip: true
46       placement: "pgrp1"
47     hera:
48       floating_ip: true
49       placement: "pgrp1"
50
51   networks:
52     test:
53       cidr: '10.0.1.0/24'