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'
pan>.name = name self.mode = mode self.details = details self.role = role self._id = _id self.creation_date = create_date @swagger.model() class Pods(models.ModelBase): """ @property pods: @ptype pods: C{list} of L{Pod} """ def __init__(self): self.pods = list() @staticmethod def attr_parser(): return {'pods': Pod}