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.
15 # flow definition for ACL tests - 1K flows - ipv4 only
17 # the number of flows defines the widest range of parameters
18 # for example if srcip_range=1.0.0.1-1.0.0.255 and dst_ip_range=10.0.0.1-10.0.1.255
19 # and it should define only 16 flows
21 #there is assumption that packets generated will have a random sequences of following addresses pairs
23 # 1. src=1.x.x.x(x.x.x =random from 1..255) dst=10.x.x.x (random from 1..512)
24 # 2. src=1.x.x.x(x.x.x =random from 1..255) dst=10.x.x.x (random from 1..512)
26 # 512. src=1.x.x.x(x.x.x =random from 1..255) dst=10.x.x.x (random from 1..512)
28 # not all combination should be filled
29 # Any other field with random range will be added to flow definition
31 # the example.yaml provides all possibilities for traffic generation
33 # the profile defines a public and private side to make limited traffic correlation
34 # between private and public side same way as it is made by IXIA solution.
36 schema: "isb:traffic_profile:0.1"
38 # This file is a template, it will be filled with values from tc.yaml before passing to the traffic generator
41 description: Traffic profile to run RFC2544 latency
43 traffic_type : RFC2544Profile # defines traffic behavior - constant or look for highest possible throughput
44 frame_rate : 100 # pc of linerate
45 # that specifies a range (e.g. ipv4 address, port)
52 64B: "{{ get(imix, 'imix.uplink.imix_small', '0') }}"
53 128B: "{{ get(imix, 'imix.uplink.imix_128B', '0') }}"
54 256B: "{{ get(imix, 'imix.uplink.imix_256B', '0') }}"
55 373b: "{{ get(imix, 'imix.uplink.imix_373B', '0') }}"
56 570B: "{{get(imix, 'imix.uplink.imix_570B', '0') }}"
57 1400B: "{{get(imix, 'imix.uplink.imix_1400B', '0') }}"
58 1518B: "{{get(imix, 'imix.uplink.imix_1500B', '0') }}"
72 srcip4: "{{get(flow, 'flow.srcip4_range', '192.168.0.0-192.168.255.255') }}"
73 dstip4: "{{get(flow, 'flow.dstip4_range', '192.16.0.0-192.16.0.31') }}"
78 srcport: "{{get(flow, 'flow.srcport_range', '0') }}"
79 dstport: "{{get(flow, 'flow.dstport_range', '0') }}"
84 64B: "{{ get(imix, 'imix.uplink.imix_small', '0') }}"
85 128B: "{{ get(imix, 'imix.uplink.imix_128B', '0') }}"
86 256B: "{{ get(imix, 'imix.uplink.imix_256B', '0') }}"
87 373b: "{{ get(imix, 'imix.uplink.imix_373B', '0') }}"
88 570B: "{{get(imix, 'imix.uplink.imix_570B', '0') }}"
89 1400B: "{{get(imix, 'imix.uplink.imix_1400B', '0') }}"
90 1518B: "{{get(imix, 'imix.uplink.imix_1500B', '0') }}"
94 srcip4: "{{get(flow, 'flow.dstip4_range', '192.16.0.0-192.16.0.31') }}"
95 dstip4: "{{get(flow, 'flow.srcip4_range', '192.168.0.0-192.168.255.255') }}"
100 srcport: "{{get(flow, 'flow.dstport_range', '0') }}"
101 dstport: "{{get(flow, 'flow.srcport_range', '0') }}"