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"
27 # In case where we know that all the packets generated by the generator
28 # will bw received. Then use prox_binsearch.
30 # In the case where some or all the packets generated by the generator may
31 # not be received. Please use prox_heat_acl .. (This generates packets at
32 # a specific rate and does not change rate.
34 traffic_profile: ../../traffic_profiles/prox_heat_acl.yaml
37 topology: prox-tg-topology-scale-up.yaml
41 vnf__0: vnf_0.yardstick
45 prox_path: /opt/nsb_bin/prox
46 prox_config: "configs/handle_acl-{{ vports }}.cfg"
50 "configs/acl_rules-2.lua" : ""
53 prox_path: /opt/nsb_bin/prox
54 prox_config: "configs/gen_acl-{{ vports }}.cfg"
61 # we kill after duration, independent of test duration, so set this high
62 duration: {{ duration }}
66 image: yardstick-samplevnfs
74 hw:cpu_cores: {{ vcpus }}
78 policy: "availability"
91 {% for vport in range(1,vports,2|int) %}
92 uplink_{{ loop.index0 }}:
93 cidr: '10.0.{{ vport+1 }}.0/24'
95 port_security_enabled: False
98 downlink_{{ loop.index0 }}:
99 cidr: '10.0.{{ vport+2 }}.0/24'
101 port_security_enabled: False