Merge "Adding trex trafficgen example."
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc002.yaml
1 ---
2
3 schema: "yardstick:task:0.1"
4 description: >
5     Yardstick TC002 config file;
6     measure network latency using ping;
7
8 {% set image = image or "cirros-0.3.3" %}
9 scenarios:
10 {% for i in range(2) %}
11 -
12   type: Ping
13   options:
14     packetsize: 100
15   host: athena.demo
16   target: ares.demo
17
18   runner:
19     type: Duration
20     duration: 60
21     interval: 10
22
23   sla:
24     max_rtt: 10
25     action: monitor
26 {% endfor %}
27
28 context:
29   name: demo
30   image: {{image}}
31   flavor: yardstick-flavor
32   user: cirros
33
34   placement_groups:
35     pgrp1:
36       policy: "availability"
37
38   servers:
39     athena:
40       floating_ip: true
41       placement: "pgrp1"
42     ares:
43       placement: "pgrp1"
44
45   networks:
46     test:
47       cidr: '10.0.1.0/24'