Merge "Add testcase tc0075 and mofify testcsuite"
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc042.yaml
1 ---
2 # Yardstick TC042 config file
3 # Measure network latency using testpmd and pktgen-dpdk
4
5 schema: "yardstick:task:0.1"
6
7 scenarios:
8 -
9   type: PktgenDPDKLatency
10   options:
11     packetsize: 64
12     rate: 100
13
14   host: demeter.yardstick-TC042
15   target: poseidon.yardstick-TC042
16
17   runner:
18     type: Iteration
19     iterations: 1
20     interval: 1
21
22   sla:
23     max_latency: 100
24     action: monitor
25
26 context:
27   name: yardstick-TC042
28   image: yardstick-image-pktgen-ready
29   flavor: yardstick-pktgen-dpdk.flavor
30   user: ubuntu
31
32   placement_groups:
33     pgrp1:
34       policy: "availability"
35
36   servers:
37     demeter:
38       floating_ip: true
39       placement: "pgrp1"
40     poseidon:
41       floating_ip: true
42       placement: "pgrp1"
43
44   networks:
45     test:
46       cidr: '10.0.1.0/24'
47     test2:
48       cidr: '10.0.2.0/24'
49     test3:
50       cidr: '10.0.3.0/24'