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.
14 {% set mem = mem or 20480 %}
15 {% set vcpus = vcpus or 10 %}
16 {% set vports = vports or 2 %}
18 schema: yardstick:task:0.1
21 traffic_profile: ../../traffic_profiles/ipv4_throughput-scale-up.yaml
24 topology: vfw-tg-topology-scale-up.yaml
27 vnf__0: vnf_0.yardstick
34 {% for vport in range(0,vports,2|int) %}
35 {'tg__0': 'xe{{vport}}'},
38 {% for vport in range(1,vports,2|int) %}
39 {'tg__0': 'xe{{vport}}'},
44 allowed_drop_rate: 0.0001 - 0.0001
47 vnf_config: {lb_config: 'SW', file: vfw_vnf_pipeline_cores_{{vcpus}}_ports_{{vports}}_lb_1_sw.conf }
53 # put node context first, so we don't HEAT deploy if node has errors
55 image: yardstick-samplevnfs
62 hw:cpu_cores: {{ vcpus }}
67 policy: "availability"
78 {% for vport in range(1,vports,2|int) %}
79 uplink_{{loop.index0}}:
80 cidr: '10.1.{{vport}}.0/24'
82 port_security_enabled: False
84 downlink_{{loop.index0}}:
85 cidr: '10.1.{{vport+1}}.0/24'
87 port_security_enabled: False