aboutsummaryrefslogtreecommitdiffstats
path: root/samples/netutilization.yaml
blob: dd867eb895ef96508af6888f0718fb2c0037117c (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
##############################################################################
# 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 network interface utilization statistics

schema: "yardstick:task:0.1"

scenarios:
-
  type: NetUtilization
  options:
    interval: 1
    count: 1

  host: apollo.demo

  runner:
    type: Iteration
    interval: 1

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

  servers:
    apollo:
      floating_ip: true

  networks:
    test:
      cidr: '10.0.1.0/24'
"l l-Scalar l-Scalar-Plain">duration: {{test_time}} output_opt: {{out_opt}} host: netperf-host.demo target: netperf-target.demo runner: type: Iteration iterations: 1 interval: 1 run_step: 'setup,run' sla: mean_latency: 100 action: monitor context: name: demo image: {{image_name}} flavor: vcpus: {{cpu_num}} ram: {{ram_num}} disk: {{disk_num}} user: ubuntu placement_groups: pgrp1: policy: "availability" servers: netperf-host: floating_ip: true placement: "pgrp1" netperf-target: floating_ip: false placement: "pgrp1" networks: test: cidr: '10.0.1.0/24'