1 # Copyright (c) 2017 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.
17 {% set mem = mem or 20480 %}
18 {% set vcpus = vcpus or 10 %}
20 schema: yardstick:task:0.1
23 traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
24 topology: acl-tg-topology.yaml
27 vnf__0: vnf_0.yardstick
33 src_ip: [{'tg__0': 'xe0'}]
34 dst_ip: [{'tg__0': 'xe1'}]
38 allowed_drop_rate: 0.0001 - 0.0001
41 # with 1 worker_thread we need 5 or so extra cores
42 vnf_config: {lb_config: 'HW', lb_count: 1, worker_config: '1C/1T', worker_threads: {{ vcpus - 5 if vcpus - 5 > 1 else 1 }}}
50 image: yardstick-samplevnfs
57 hw:cpu_cores: {{ vcpus }}
62 policy: "availability"
90 port_security_enabled: False
95 port_security_enabled: False