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.
16 schema: yardstick:task:0.1
19 traffic_profile: ../../traffic_profiles/ipv4_throughput-{{ num_vnfs }}.yaml
20 topology: vfw-tg-topology-3node-{{ num_vnfs }}.yaml
24 {% for vnf_num in range(num_vnfs|int) %}
25 vnf__{{ vnf_num }}: vnf_{{ vnf_num }}.yardstick
33 {% for vnf_num in range(num_vnfs|int) %}
34 - {'tg__0': 'xe{{ vnf_num }}'}
37 {% for vnf_num in range(num_vnfs|int) %}
38 - {'tg__1': 'xe{{ vnf_num }}'}
43 allowed_drop_rate: 0.0001 - 0.0001
44 correlated_traffic: true
45 {% for vnf_num in range(num_vnfs|int) %}
48 vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
55 # put node context first, so we don't HEAT deploy if node has errors
57 image: yardstick-samplevnfs
69 policy: "availability"
77 {% for vnf_num in range(num_vnfs|int) %}
87 {% for vnf_num in range(num_vnfs|int) %}
88 downlink_{{ vnf_num }}:
91 {% for vnf_num in range(num_vnfs|int) %}
100 downlink_{{ vnf_num }}:
106 {% for vnf_num in range(num_vnfs|int) %}
107 uplink_{{ vnf_num }}:
108 cidr: '10.{{ vnf_num + 1 }}.0.0/24'
110 port_security_enabled: False
112 downlink_{{ vnf_num }}:
113 cidr: '10.{{ vnf_num + 1 }}.1.0/24'
115 port_security_enabled: False