##############################################################################
# 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
##############################################################################
---

schema: "yardstick:task:0.1"
description: >
    Yardstick TC078 config file;
    Measure CPU performance using SPEC CPU2006;

{% set file = file or "/etc/yardstick/pod.yaml" %}

scenarios:
-
  type: SpecCPU2006

  options:
      SPECint_benchmark: int^429
      runspec_iterations: 1
      runspec_tune: base
      runspec_size: ref
      runspec_rate: 1

  host: node1.yardstick-TC078

  runner:
    type: Iteration
    iterations: 1

context:
  type: Node
  name: yardstick-TC078
  file: {{ file }}

  env:
    type: ansible
    setup: spec_cpu2006_install.yaml
    teardown: spec_cpu2006_uninstall.yaml