Merge "Cleanup process test cases"
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc010.yaml
1 ##############################################################################
2 # Copyright (c) 2017 kristian.hunt@gmail.com 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 TC010 config file;
14     measure memory read latency using lmbench.
15
16 {% set provider = provider or none %}
17 {% set physical_network = physical_network or 'physnet1' %}
18 {% set segmentation_id = segmentation_id or none %}
19
20 scenarios:
21 -
22   type: Lmbench
23   options:
24     test_type: "latency"
25     stride: 128
26     stop_size: 64.0
27
28   host: demeter.yardstick-TC010
29
30   runner:
31     type: Iteration
32     iterations: 10
33     interval: 1
34
35   sla:
36     max_latency: 30
37     action: monitor
38
39 context:
40   name: yardstick-TC010
41   image: yardstick-image
42   flavor: yardstick-flavor
43   user: ubuntu
44
45   servers:
46     demeter:
47       floating_ip: true
48
49   networks:
50     test:
51       cidr: '10.0.1.0/24'
52       {% if provider == "vlan" or provider == "sriov" %}
53       provider: {{provider}}
54       physical_network: {{physical_network}}
55         {% if segmentation_id %}
56       segmentation_id: {{segmentation_id}}
57         {% endif %}
58       {% endif %}