1 # Copyright (c) 2016-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 {% set provider = provider or none %}
17 {% set physical_networks = physical_networks or ['physnet1', 'physnet2'] %}
18 {% set segmentation_id = segmentation_id or none %}
20 schema: yardstick:task:0.1
23 traffic_profile: ../../traffic_profiles/ipv4_throughput.yaml
24 topology: vfw-tg-topology.yaml
26 tg__0: trafficgen_1.yardstick
34 src_ip: [{'tg__0': 'xe0'}]
35 dst_ip: [{'tg__0': 'xe1'}]
39 allowed_drop_rate: 0.0001 - 0.0001
42 vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
48 # put node context first, so we don't HEAT deploy if node has errors
50 image: yardstick-samplevnfs
62 policy: "availability"
77 provider: {{ provider }}
78 physical_network: {{ physical_networks[0] }}
79 {% if segmentation_id %}
80 segmentation_id: {{ segmentation_id }}
83 port_security_enabled: False
89 provider: {{ provider }}
90 physical_network: {{ physical_networks[1] }}
91 {% if segmentation_id %}
92 segmentation_id: {{ segmentation_id }}
95 port_security_enabled: False