0e64f9b182a02585386dae62f9de13a7e01c2751
[yardstick.git] / samples / vnf_samples / nsut / cgnapt / tc_baremetal_rfc2544_ipv4_1flow_ixia.yaml
1 # Copyright (c) 2016-2019 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 {% set framesize = framesize or "{64B: 100}" %}
15 ---
16 schema: yardstick:task:0.1
17 scenarios:
18 - type: NSPerf
19   traffic_profile: "../../traffic_profiles/ixia_ipv4_latency.yaml"
20   topology: cgnapt_vnf_topology_ixia.yaml
21   nodes:
22     tg__0: trafficgen_1.yardstick
23     vnf__0: vnf.yardstick
24   options:
25     framesize:
26       uplink: {{ framesize }}
27       downlink: {{ framesize }}
28     flow:
29       src_ip: [{'tg__0': 'xe0'}]
30       dst_ip: [{'tg__0': 'xe1'}]
31       public_ip: ["152.16.40.10"]
32       count: 1
33     traffic_type: 4
34     rfc2544:
35       allowed_drop_rate: 0.0001 - 0.0001
36     vnf__0:
37       vnf_config: {lb_config: 'SW', lb_count: 1, worker_config: '1C/1T', worker_threads: 1}
38   runner:
39     type: Iteration
40     iterations: 10
41     interval: 35
42 context:
43   type: Node
44   name: yardstick
45   nfvi_type: baremetal
46   file: /etc/yardstick/nodes/pod_ixia.yaml