aboutsummaryrefslogtreecommitdiffstats
path: root/samples/ramspeed.yaml
blob: 2b48b95e36e2ba50792b0128017a55dc5788bf2b (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
42
43
44
45
46
##############################################################################
# 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
# measure cache and memory bandwidth using Ramspeed

schema: "yardstick:task:0.1"

scenarios:
-
  type: Ramspeed
  options:
    type_id: 1
    load: 16
    block_size: 32
    iteration: 1

  host: kratos.demo

  runner:
    type: Iteration
    iterations: 1

  sla:
    min_bandwidth: 6000
    action: monitor

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

  servers:
    kratos:
      floating_ip: true

  networks:
    test:
      cidr: '10.0.1.0/24'
span class="nt">div class="collapse navbar-collapse navbar-ex1-collapse"> <ul class="nav navbar-nav"> {% for operation in operations %} <li><a href="#{{operation.method}}">{{operation.method}}</a></li> {% endfor %} </ul> </div><!-- /.navbar-collapse --> </div><!-- /.container --> </nav> <div class="container"> <div class="row"> <div class="col-lg-12"> <h1>{{path}}</h1> <p class='lead'>{{description if description != None}}</p> </div> <div class="col-lg-12"> {% for operation in operations %} <div class="panel panel-success" id='{{operation.method}}'> <div class="panel-heading"> <h3 class="panel-title">{{operation.method}}</h3> <p>{{operation.summary if operation.summary != None}}</p> </div> <div class="panel-body"> {% if operation.parameters %} <h4>Parameters</h4> <dl> {% for parameter in operation.parameters %} <dt> {{parameter.name}} {% if parameter.description %} - {{parameter.description}} {% endif %} </dt> <dd>Type: {{parameter.dataType}}</dd> <dd>Allow Multiple: {{parameter.allowMultiple}}</dd> <dd>Required: {{parameter.required}}</dd> {% endfor %} </dl> {% endif %} {% if operation.notes %} <p><strong>Implementation notes</strong>: {{operation.notes}}</p> {% endif %} {% if operation.responseClass %} <p><strong>Response Class</strong>: {{operation.responseClass}}</p> {% endif %} </div> </div> {% endfor %} </div> </div><!-- /.container --> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script> </body> </html>