tc063: make node parameter can be pass
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc069.yaml
1 ##############################################################################
2 # Copyright (c) 2017 Huawei Technologies Co.,Ltd 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 TC069 config file;
14     Measure memory read and write bandwidth using ramspeed.
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: Ramspeed
23   options:
24     type_id: 1
25     load: 32
26     block_size: 64
27
28   host: kratos.yardstick-TC069
29
30   runner:
31     type: Iteration
32     iterations: 5
33     interval: 1
34
35   sla:
36     min_bandwidth: 7000
37     action: monitor
38
39 context:
40   name: yardstick-TC069
41   image: yardstick-image
42   flavor: yardstick-flavor
43   user: ubuntu
44
45   servers:
46     kratos:
47       floating_ip: true
48
49   networks:
50     test:
51       cidr: '10.0.1.0/24'
52       {% if provider == "vlan" %}
53       provider: {{provider}}
54       physical_network: {{physical_network}}
55         {% if segmentation_id %}
56       segmentation_id: {{segmentation_id}}
57         {% endif %}
58       {% endif %}