1 # Copyright (c) 2016-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 underscore = '_' if type %}
17 {% set type = type or '' %} # type: {'', 'multiflow', 'pktTouch'}
18 {% set mem = mem or 20480 %}
19 {% set vcpus = vcpus or 10 %}
20 {% set disk = disk or 6 %}
21 {% set duration = duration or 300 %}
23 schema: "yardstick:task:0.1"
28 traffic_profile: ../../traffic_profiles/prox_binsearch.yaml
31 topology: prox-tg-topology-scale-up.yaml
35 vnf__0: vnf_0.yardstick
39 prox_path: /opt/nsb_bin/prox
40 prox_config: "configs/handle_l2fwd{{ underscore }}{{ type }}-{{ vports }}.cfg"
45 prox_path: /opt/nsb_bin/prox
46 prox_config: "configs/gen_l2fwd{{ underscore }}{{ type }}-{{ vports }}.cfg"
53 # we kill after duration, independent of test duration, so set this high
54 duration: {{ duration }}
58 image: yardstick-samplevnfs
66 hw:cpu_cores: {{ vcpus }}
70 policy: "availability"
86 port_security_enabled: False
88 {% for vport in range(vports-1|int) %}
90 cidr: '10.0.{{ vport+3 }}.0/24'
92 port_security_enabled: False