aboutsummaryrefslogtreecommitdiffstats
path: root/samples/memload.yaml
blob: bbc46da8defb0eeb7029820b6cd8c0f2afaa6a50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
##############################################################################
# Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
---
# Sample benchmark task config file
# Reading memory load/statistics

schema: "yardstick:task:0.1"

scenarios:
-
  type: MEMORYload
  options:
    interval: 1
    count: 10

  host: kratos.demo

  runner:
    type: Iteration
    iterations: 5
    interval: 1

context:
  name: demo
  image: yardstick-image
  flavor: yardstick-flavor
  user: ubuntu

  servers:
    kratos:
      floating_ip: true

  networks:
    test:
      cidr: '10.0.1.0/24'