Add test suite functionality to task commands
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc002.yaml
1 ---
2 # measure network latency using ping
3
4 schema: "yardstick:task:0.1"
5 scenarios:
6 {% for i in range(2) %}
7 -
8   type: Ping
9   options:
10     packetsize: 100
11   host: athena.demo
12   target: ares.demo
13
14   runner:
15     type: Duration
16     duration: 600
17     interval: 10
18
19   sla:
20     max_rtt: 10
21     action: monitor
22 {% endfor %}
23
24 context:
25   name: demo
26   image: cirros-0.3.3
27   flavor: m1.tiny
28   user: cirros
29
30   placement_groups:
31     pgrp1:
32       policy: "availability"
33
34   servers:
35     athena:
36       floating_ip: true
37       placement: "pgrp1"
38     ares:
39       placement: "pgrp1"
40
41   networks:
42     test:
43       cidr: '10.0.1.0/24'