1 # Copyright (c) 2018 Intel Corporation
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 {% set vports = vports or 2 %}
17 schema: "yardstick:task:0.1"
22 traffic_profile: ../../traffic_profiles/prox_binsearch.yaml
25 topology: prox-tg-topology-scale-up.yaml
28 tg__0: tg__0.yardstick
29 vnf__0: vnf__0.yardstick
32 interface_speed_gbps: 10
35 prox_path: /opt/nsb_bin/prox
36 prox_config: "configs/handle_l2fwd-{{ vports }}.cfg"
41 prox_path: /opt/nsb_bin/prox
42 prox_config: "configs/gen_l2fwd-{{ vports }}.cfg"
49 # we kill after duration, independent of test duration, so set this high
58 type: StandaloneOvsDpdk
59 file: /etc/yardstick/nodes/standalone/host_ovs.yaml
72 images: "/var/lib/libvirt/images/yardstick-nsb-image.img"
83 {% for port_num in range((vports/2)|int) %}
85 - uplink_{{ port_num }}
86 xe{{ (port_num * 2) + 1 }}:
87 - downlink_{{ port_num }}
90 {% for port_num in range((vports/2)|int) %}
91 uplink_{{ port_num }}:
92 port_num: {{networks.uplink[port_num].port_num}}
93 phy_port: "{{networks.uplink[port_num].phy_port}}"
94 vpci: "{{networks.uplink[port_num].vpci}}"
95 cidr: "{{networks.uplink[port_num].cidr}}"
96 gateway_ip: "{{ networks.uplink[port_num].gateway_ip }}"
97 downlink_{{ port_num }}:
98 port_num: {{networks.downlink[port_num].port_num}}
99 phy_port: "{{networks.downlink[port_num].phy_port}}"
100 vpci: "{{networks.downlink[port_num].vpci}}"
101 cidr: "{{networks.downlink[port_num].cidr}}"
102 gateway_ip: "{{networks.downlink[port_num].gateway_ip}}"