tc063: make node parameter can be pass
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc077.yaml
1 ##############################################################################
2 # Copyright (c) 2017 Nokia 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 TC077 config file;
14     Extend TC008 to run pktgen-dpdk (sender) and testpmd (receiver) inside VM.
15
16 scenarios:
17 {% for pkt_size in [64, 128, 256, 512, 1024, 1280, 1518] %}
18   {% for num_ports in [1, 10, 50, 100, 500, 1000] %}
19 -
20   type: PktgenDPDK
21   options:
22     packetsize: {{pkt_size}}
23     number_of_ports: {{num_ports}}
24     duration: 20
25
26   host: demeter.yardstick-TC077
27   target: poseidon.yardstick-TC077
28
29   runner:
30     type: Iteration
31     iterations: 3
32     interval: 1
33
34   sla:
35     max_ppm: 1
36     action: rate-control
37   {% endfor %}
38 {% endfor %}
39
40 context:
41   name: yardstick-TC077
42   image: yardstick-dpdk-image
43   flavor: yardstick-dpdk-flavor
44   user: ubuntu
45
46   placement_groups:
47     pgrp1:
48       policy: "availability"
49
50   servers:
51     demeter:
52       floating_ip: true
53       placement: "pgrp1"
54     poseidon:
55       floating_ip: true
56       placement: "pgrp1"
57
58   networks:
59     test:
60       cidr: '10.0.1.0/24'
61     test2:
62       cidr: '10.0.2.0/24'
63       provider: "sriov"