Merge "Yardstick TC082: move sample test case perf.yaml"
[yardstick.git] / samples / vnf_samples / traffic_profiles / ixia_ipv4_latency.yaml
1 # flow definition for ACL tests - 1K flows - ipv4 only
2 #
3 # the number of flows defines the widest range of parameters
4 # 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
5 # and it should define only 16 flows
6 #
7 #there is assumption that packets generated will have a random sequences of following addresses pairs
8 # in the packets
9 # 1. src=1.x.x.x(x.x.x =random from 1..255) dst=10.x.x.x (random from 1..512)
10 # 2. src=1.x.x.x(x.x.x =random from 1..255) dst=10.x.x.x (random from 1..512)
11 # ...
12 # 512. src=1.x.x.x(x.x.x =random from 1..255) dst=10.x.x.x (random from 1..512)
13 #
14 # not all combination should be filled
15 # Any other field with random range will be added to flow definition
16 #
17 # the example.yaml provides all possibilities for traffic generation
18 #
19 # the profile defines a public and private side to make limited traffic correlation
20 # between private and public side same way as it is made by IXIA solution.
21 #
22 schema: "isb:traffic_profile:0.1"
23
24 # This file is a template, it will be filled with values from tc.yaml before passing to the traffic generator
25
26 name:            rfc2544
27 description:     Traffic profile to run RFC2544 latency
28 traffic_profile:
29   traffic_type : IXIARFC2544Profile # defines traffic behavior - constant or look for highest possible throughput
30   frame_rate : 100  # pc of linerate
31   # that specifies a range (e.g. ipv4 address, port)
32
33
34 private_1:
35       ipv4:
36         outer_l2:
37             framesize:
38                 64B: "{{get(imix, 'imix.private.64B', '0') }}"
39                 128B: "{{get(imix, 'imix.private.128B', '0') }}"
40                 256B: "{{get(imix, 'imix.private.256B', '0') }}"
41                 373b: "{{get(imix, 'imix.private.373B', '0') }}"
42                 512B: "{{get(imix, 'imix.private.512B', '0') }}"
43                 570B: "{{get(imix, 'imix.private.570B', '0') }}"
44                 1400B: "{{get(imix, 'imix.private.1400B', '0') }}"
45                 1500B: "{{get(imix, 'imix.private.1500B', '0') }}"
46                 1518B: "{{get(imix, 'imix.private.1518B', '0') }}"
47
48         outer_l3v4:
49             proto: "udp"
50             srcip4: "{{get(flow, 'flow.src_ip0', '1.1.1.1-1.15.255.255') }}"
51             dstip4: "{{get(flow, 'flow.dst_ip0', '90.90.1.1-90.105.255.255') }}"
52             count: "{{get(flow, 'flow.count', '1') }}"
53             ttl: 32
54             dscp: 0
55         outer_l4:
56             srcport: "{{get(flow, 'flow.src_port0', '1234') }}"
57             dstport: "{{get(flow, 'flow.dst_port0', '2001') }}"
58             count: "{{get(flow, 'flow.count', '1') }}"
59 public_1:
60       ipv4:
61         outer_l2:
62             framesize:
63                 64B: "{{get(imix, 'imix.public.64B', '0') }}"
64                 128B: "{{get(imix, 'imix.public.128B', '0') }}"
65                 256B: "{{get(imix, 'imix.public.256B', '0') }}"
66                 373b: "{{get(imix, 'imix.public.373B', '0') }}"
67                 512B: "{{get(imix, 'imix.public.512B', '0') }}"
68                 570B: "{{get(imix, 'imix.public.570B', '0') }}"
69                 1400B: "{{get(imix, 'imix.public.1400B', '0') }}"
70                 1500B: "{{get(imix, 'imix.public.1500B', '0') }}"
71                 1518B: "{{get(imix, 'imix.public.1518B', '0') }}"
72
73         outer_l3v4:
74             proto: "udp"
75             srcip4: "{{get(flow, 'flow.dst_ip0', '1.1.1.1-1.15.255.255') }}"
76             dstip4: "{{get(flow, 'flow.src_ip0', '90.90.1.1-90.105.255.255') }}"
77             count: "{{get(flow, 'flow.count', '1') }}"
78             ttl: 32
79             dscp: 0
80         outer_l4:
81             srcport: "{{get(flow, 'flow.src_port0', '1234') }}"
82             dstport: "{{get(flow, 'flow.dst_port0', '2001') }}"
83             count: "{{get(flow, 'flow.count', '1') }}"
84 private_2:
85       ipv4:
86         outer_l2:
87             framesize:
88                 64B: "{{get(imix, 'imix.private.64B', '0') }}"
89                 128B: "{{get(imix, 'imix.private.128B', '0') }}"
90                 256B: "{{get(imix, 'imix.private.256B', '0') }}"
91                 373b: "{{get(imix, 'imix.private.373B', '0') }}"
92                 512B: "{{get(imix, 'imix.private.512B', '0') }}"
93                 570B: "{{get(imix, 'imix.private.570B', '0') }}"
94                 1400B: "{{get(imix, 'imix.private.1400B', '0') }}"
95                 1500B: "{{get(imix, 'imix.private.1500B', '0') }}"
96                 1518B: "{{get(imix, 'imix.private.1518B', '0') }}"
97
98         outer_l3v4:
99             proto: "udp"
100             srcip4: "{{get(flow, 'flow.src_ip1', '1.1.1.1-1.15.255.255') }}"
101             dstip4: "{{get(flow, 'flow.dst_ip1', '90.90.1.1-90.105.255.255') }}"
102             count: "{{get(flow, 'flow.count', '1') }}"
103             ttl: 32
104             dscp: 0
105         outer_l4:
106             srcport: "{{get(flow, 'flow.src_port1', '1234') }}"
107             dstport: "{{get(flow, 'flow.dst_port1', '2001') }}"
108             count: "{{get(flow, 'flow.count', '1') }}"
109 public_2:
110       ipv4:
111         outer_l2:
112             framesize:
113                 64B: "{{get(imix, 'imix.public.64B', '0') }}"
114                 128B: "{{get(imix, 'imix.public.128B', '0') }}"
115                 256B: "{{get(imix, 'imix.public.256B', '0') }}"
116                 373b: "{{get(imix, 'imix.public.373B', '0') }}"
117                 512B: "{{get(imix, 'imix.public.512B', '0') }}"
118                 570B: "{{get(imix, 'imix.public.570B', '0') }}"
119                 1400B: "{{get(imix, 'imix.public.1400B', '0') }}"
120                 1500B: "{{get(imix, 'imix.public.1500B', '0') }}"
121                 1518B: "{{get(imix, 'imix.public.1518B', '0') }}"
122
123         outer_l3v4:
124             proto: "udp"
125             srcip4: "{{get(flow, 'flow.dst_ip1', '1.1.1.1-1.15.255.255') }}"
126             dstip4: "{{get(flow, 'flow.src_ip1', '90.90.1.1-90.105.255.255') }}"
127             count: "{{get(flow, 'flow.count', '1') }}"
128             ttl: 32
129             dscp: 0
130         outer_l4:
131             srcport: "{{get(flow, 'flow.dst_port1', '1234') }}"
132             dstport: "{{get(flow, 'flow.src_port1', '2001') }}"
133             count: "{{get(flow, 'flow.count', '1') }}"