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
33 src_ip: [{'tg__0': 'xe0'}]
34 dst_ip: [{'tg__0': 'xe1'}]
38 allowed_drop_rate: 0.0001 - 0.0001
41 vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
47 # put node context first, so we don't HEAT deploy if node has errors
49 image: yardstick-samplevnfs
61 policy: "availability"
76 provider: {{ provider }}
77 physical_network: {{ physical_networks[0] }}
78 {% if segmentation_id %}
79 segmentation_id: {{ segmentation_id }}
82 port_security_enabled: False
88 provider: {{ provider }}
89 physical_network: {{ physical_networks[1] }}
90 {% if segmentation_id %}
91 segmentation_id: {{ segmentation_id }}
94 port_security_enabled: False