Merge "vPE Sample VNF is missing in the installation scripts"
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc014.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 TC014 config file;
14     Measure Processing speed using unixbench.
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: UnixBench
23   options:
24     run_mode: 'verbose'
25     test_type: 'dhry2reg'
26   host: Chang'e.yardstick-TC014
27
28   runner:
29     type: Iteration
30     iterations: 1
31     interval: 1
32
33 context:
34   name: yardstick-TC014
35   image: yardstick-image
36   flavor: yardstick-flavor
37   user: ubuntu
38
39   servers:
40     Chang'e:
41       floating_ip: true
42
43   networks:
44     test:
45       cidr: '10.0.1.0/24'
46       {% if provider == "vlan" or provider == "sriov" %}
47       provider: {{provider}}
48       physical_network: {{physical_network}}
49         {% if segmentation_id %}
50       segmentation_id: {{segmentation_id}}
51         {% endif %}
52       {% endif %}