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 %}
16 {% set duration = duration or 400 %}
18 schema: "yardstick:task:0.1"
23 traffic_profile: ../../traffic_profiles/prox_mpls_tag_untag.yaml
26 topology: prox-tg-topology-scale-up.yaml
29 tg__0: tg__0.yardstick
30 vnf__0: vnf__0.yardstick
34 prox_path: /opt/nsb_bin/prox
35 prox_config: "configs/handle_mpls_tag_untag-{{ vports }}.cfg"
40 prox_path: /opt/nsb_bin/prox
41 prox_config: "configs/gen_mpls_tag_untag-{{ vports }}.cfg"
48 # we kill after duration, independent of test duration, so set this high
49 duration: {{ duration }}
56 type: StandaloneOvsDpdk
57 file: /etc/yardstick/nodes/standalone/host_ovs.yaml
70 images: "/var/lib/libvirt/images/yardstick-nsb-image.img"
81 {% for port_num in range((vports/2)|int) %}
83 - uplink_{{ port_num }}
84 xe{{ (port_num * 2) + 1 }}:
85 - downlink_{{ port_num }}
88 {% for port_num in range((vports/2)|int) %}
89 uplink_{{ port_num }}:
90 port_num: {{ networks.uplink[port_num].port_num }}
91 phy_port: "{{ networks.uplink[port_num].phy_port }}"
92 vpci: "{{ networks.uplink[port_num].vpci }}"
93 cidr: "{{ networks.uplink[port_num].cidr }}"
94 gateway_ip: "{{ networks.uplink[port_num].gateway_ip }}"
95 downlink_{{ port_num }}:
96 port_num: {{ networks.downlink[port_num].port_num }}
97 phy_port: "{{ networks.downlink[port_num].phy_port }}"
98 vpci: "{{ networks.downlink[port_num].vpci }}"
99 cidr: "{{ networks.downlink[port_num].cidr }}"
100 gateway_ip: "{{ networks.downlink[port_num].gateway_ip }}"