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 mem = mem or 20480 %}
17 {% set vcpus = vcpus or 10 %}
18 {% set disk = disk or 6 %}
19 {% set duration = duration or 300 %}
21 schema: "yardstick:task:0.1"
26 traffic_profile: ../../traffic_profiles/prox_mpls_tag_untag.yaml
29 topology: prox-tg-topology-scale-up.yaml
33 vnf__0: vnf_0.yardstick
37 prox_path: /opt/nsb_bin/prox
38 prox_config: "configs/handle_mpls_tag_untag-{{ vports }}.cfg"
43 prox_path: /opt/nsb_bin/prox
44 prox_config: "configs/gen_mpls_tag_untag-{{ vports }}.cfg"
51 # we kill after duration, independent of test duration, so set this high
52 duration: {{ duration }}
56 image: yardstick-samplevnfs
64 hw:cpu_cores: {{ vcpus }}
69 policy: "availability"
82 {% for vport in range(1,vports,2|int) %}
83 uplink_{{ loop.index0 }}:
84 cidr: '10.0.{{ vport+1 }}.0/24'
86 port_security_enabled: False
89 downlink_{{ loop.index0 }}:
90 cidr: '10.0.{{ vport+2 }}.0/24'
92 port_security_enabled: False