Merge "Log each test case status in a task"
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc080.yaml
1 ##############################################################################
2 # Copyright (c) 2017 Huawei AB 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 # Sample benchmark task config file
12 # measure network latency using ping in container
13
14 schema: "yardstick:task:0.1"
15
16 scenarios:
17 -
18   type: Ping
19   options:
20     packetsize: 200
21
22   host: host-k8s
23   target: target-k8s
24
25   runner:
26     type: Duration
27     duration: 60
28     interval: 1
29
30   sla:
31     max_rtt: 10
32     action: monitor
33
34 context:
35   type: Kubernetes
36   name: k8s
37
38   servers:
39     host:
40       image: openretriever/yardstick
41       command: /bin/bash
42       args: ['-c', 'chmod 700 ~/.ssh; chmod 600 ~/.ssh/*; service ssh restart;while true ; do sleep 10000; done']
43     target:
44       image: openretriever/yardstick
45       command: /bin/bash
46       args: ['-c', 'chmod 700 ~/.ssh; chmod 600 ~/.ssh/*; service ssh restart;while true ; do sleep 10000; done']