Improve IXIA IxNetwork library and traffic profile (1)
[yardstick.git] / samples / vnf_samples / nsut / vfw / tc_baremetal_rfc2544_ipv4_1rule_1flow_64B_ixia_scale_up.yaml
1 # Copyright (c) 2016-2017 Intel Corporation
2 #
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
6 #
7 #      http://www.apache.org/licenses/LICENSE-2.0
8 #
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
15 ---
16 schema: yardstick:task:0.1
17 scenarios:
18 {% for worker_thread in [1, 2 ,3] %}
19 - type: NSPerf
20   traffic_profile: "../../traffic_profiles/ixia_ipv4_latency.yaml"
21   topology: vfw_vnf_topology_ixia.yaml
22   nodes:
23     tg__0: trafficgen_1.yardstick
24     vnf__0: vnf.yardstick
25   options:
26     framesize:
27       uplink: {64B: 100}
28       downlink: {64B: 100}
29     flow:
30       src_ip: [{'tg__0': 'xe0'}]
31       dst_ip: [{'tg__0': 'xe1'}]
32       count: 1000
33     traffic_type: 4
34     rfc2544:
35       allowed_drop_rate: 0.0001 - 0.0001
36     vnf__0:
37       rules: acl_1rule.yaml
38       nfvi_enable: True
39       vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: {{worker_thread}}}
40   runner:
41     type: Iteration
42     iterations: 10
43     interval: 35
44   ixia_profile: ../../traffic_profiles/vfw/vfw_ipv4_profile_1flows.ixncfg
45 {% endfor %}
46 context:
47   type: Node
48   name: yardstick
49   nfvi_type: baremetal
50   file: /etc/yardstick/nodes/pod_ixia.yaml