1 # Copyright (c) 2016-2019 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 mem = mem or 20480 %}
17 {% set vcpus = vcpus or 10 %}
18 {% set disk = disk or 6 %}
19 {% set timeout = timeout or 300 %}
21 schema: "yardstick:task:0.1"
26 traffic_profile: ../../traffic_profiles/prox_binsearch.yaml
29 topology: prox-tg-topology-scale-up.yaml
32 tg__0: trafficgen_0.yardstick
33 vnf__0: vnf_0.yardstick
37 prox_path: /opt/nsb_bin/prox
38 prox_config: "configs/handle_l2fwd-{{ vports }}.cfg"
43 prox_path: /opt/nsb_bin/prox
44 prox_config: "configs/gen_l2fwd-{{ vports }}.cfg"
51 # we kill after duration, independent of test duration, so set this high
53 timeout: {{ timeout }}
57 traffic_profile: ../../traffic_profiles/prox_binsearch.yaml
60 topology: prox-tg-topology-scale-up.yaml
63 tg__0: trafficgen_0.yardstick
64 vnf__0: vnf_0.yardstick
68 prox_path: /opt/nsb_bin/prox
69 prox_config: "configs/handle_l3fwd-{{ vports }}.cfg"
73 "configs/ipv4.lua" : ""
76 prox_path: /opt/nsb_bin/prox
77 prox_config: "configs/gen_l3fwd-{{ vports }}.cfg"
84 # we kill after duration, independent of test duration, so set this high
86 timeout: {{ timeout }}
90 image: yardstick-samplevnfs
98 hw:cpu_cores: {{ vcpus }}
103 policy: "availability"
116 {% for vport in range(1,vports,2|int) %}
117 uplink_{{ loop.index0 }}:
118 cidr: '10.0.{{ vport+1 }}.0/24'
120 port_security_enabled: False
123 downlink_{{ loop.index0 }}:
124 cidr: '10.0.{{ vport+2 }}.0/24'
126 port_security_enabled: False