# Copyright (c) 2018 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---
schema: yardstick:task:0.1
{% set page = page or "/1b.html" %}
scenarios:
- type: NSPerf
  traffic_profile: "../../traffic_profiles/ixload/http_ixload.yaml"
  topology: agnostic_vnf_topology_ixload_2ports.yaml
  nodes:
    tg__0: trafficgen_1.yardstick
    vnf__0: vnf.yardstick
  options:
    page_object:
      uplink: [{{page}}]
    vnf__0: []
  runner:
    type: Duration
    duration: 2
  ixia_profile: ../../traffic_profiles/ixload/HTTP-Throughput_2Ports.rxf
context:
  type: Node
  name: yardstick
  nfvi_type: baremetal
  file: /etc/yardstick/nodes/pod_ixia.yaml