Add test case related to measure compute score and its energy consumption impact
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc042.yaml
1 ##############################################################################
2 # Copyright (c) 2017 ZTE corporation 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 TC042 config file;
14     Measure network latency using testpmd and pktgen-dpdk.
15
16 scenarios:
17 -
18   type: PktgenDPDKLatency
19   options:
20     packetsize: 64
21     rate: 100
22     eth1: ens4
23     eth2: ens5
24
25   host: demeter.yardstick-TC042
26   target: poseidon.yardstick-TC042
27
28   runner:
29     type: Iteration
30     iterations: 1
31     interval: 1
32
33   sla:
34     max_latency: 100
35     action: monitor
36
37 context:
38   name: yardstick-TC042
39   image: yardstick-samplevnfs
40   flavor:
41     vcpus: 4
42     ram: 4096
43     disk: 7
44     extra_specs:
45       hw:mem_page_size: "large"
46   user: ubuntu
47
48   placement_groups:
49     pgrp1:
50       policy: "availability"
51
52   servers:
53     demeter:
54       floating_ip: true
55       placement: "pgrp1"
56     poseidon:
57       floating_ip: true
58       placement: "pgrp1"
59
60   networks:
61     test:
62       cidr: '10.0.1.0/24'
63     test2:
64       cidr: '10.0.2.0/24'
65     test3:
66       cidr: '10.0.3.0/24'