aboutsummaryrefslogtreecommitdiffstats
path: root/samples/vnf_samples/nsut/agnostic/tc_baremetal_rfc2544_latency_ipv4_64B_ixia_L3.yaml
blob: 1610193d0a1228751ce9fee001bb8db63fd81706 (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
47
48
49
50
51
52
53
54
55
# 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.

{% set vports = vports or 2 %}
---
schema: yardstick:task:0.1
scenarios:
- type: NSPerf
  traffic_profile: ../../traffic_profiles/ixia_ipv4_latency_L3.yaml
  topology: agnostic_vnf_topology_ixia_{{ vports }}ports.yaml
  ixia_config: IxiaL3
  extra_args:
    vports: {{ vports }}
  nodes:
    tg__0: tg_0.yardstick
    vnf__0: vnf_0.yardstick
  options:
    framesize:
      uplink: {64B: 100}
      downlink: {64B: 100}
    flow:
      src_ip:
{% for vport in range(0,vports,2|int) %}
        - '152.{{ vport }}.0.1-152.{{ vport }}.0.50'
{% endfor %}
      dst_ip:
{% for vport in range(1,vports,2|int) %}
        - '152.{{ vport }}.1.1-152.{{ vport }}.1.150'
{% endfor %}
      count: 1
    traffic_type: 4
    rfc2544:
      allowed_drop_rate: 0.0001 - 0.0001
    vnf__0:
      []
  runner:
    type: Iteration
    iterations: 10
    interval: 35
context:
  type: Node
  name: yardstick
  nfvi_type: baremetal
  file: /etc/yardstick/nodes/pod_ixia.yaml