Merge "Modify the Docker diff file for ARM64"
[yardstick.git] / samples / vnf_samples / nsut / prox / configs / gen_lw_aftr-4.cfg
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 [eal options]
17 -n=4 ; tester_memory_channels
18 no-output=no ; disable DPDK debug output
19
20 [variables]
21 $sut_mac0=@@dst_mac0
22 $sut_mac1=@@dst_mac1
23 $sut_mac2=@@dst_mac2
24 $sut_mac3=@@dst_mac3
25
26 [port 0]
27 name=inet_0
28 mac=hardware
29 promiscuous=yes
30
31 [port 1]
32 name=lwB4_0
33 mac=hardware
34 promiscuous=yes
35
36 [port 2]
37 name=inet_1
38 mac=hardware
39 promiscuous=yes
40
41 [port 3]
42 name=lwB4_1
43 mac=hardware
44 promiscuous=yes
45
46 [defaults]
47 mempool size=16K
48
49 [global]
50 start time=20
51 name=lwAFTR gen
52
53 [core 0]
54 mode=master
55
56 [core 1]
57 name=tun_0a
58 task=0
59 mode=gen
60 tx port=lwB4_0
61 bps=1250000000
62 ; Ethernet + IPv6 + IPv4 + UDP
63 pkt inline=${sut_mac1} 90 e2 ba c6 84 d1 86 dd 60 00 00 00 00 1c 04 04 fe 80 00 00 00 00 00 00 02 00 00 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45 00 00 1c 34 85 00 00 20 11 00 00 ab cd 01 01 ab cd 02 01 00 00 66 66 00 08 00 00
64 ; src_ipv6: fe80::200:ff:0:[0000..ffff]
65 random=XXXXXXXXXXXXXXXX
66 rand_offset=36
67 ; src_ipv4: 171.205.[0..3].[0..255]
68 random=000000XXXXXXXXXX
69 rand_offset=68
70 ; src_port: 64*[0..63]
71 random=0000XXXXXX000000
72 rand_offset=74
73
74 [core 2]
75 name=tun_0b
76 task=0
77 mode=gen
78 tx port=lwB4_0
79 bps=1250000000
80 ; Ethernet + IPv6 + IPv4 + UDP
81 pkt inline=${sut_mac1} 90 e2 ba c6 84 d1 86 dd 60 00 00 00 00 1c 04 04 fe 80 00 00 00 00 00 00 02 00 00 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45 00 00 1c 34 85 00 00 20 11 00 00 ab cd 01 02 ab cd 02 02 00 00 66 66 00 08 00 00
82 ; src_ipv6: fe80::200:ff:0:[0000..ffff]
83 random=XXXXXXXXXXXXXXXX
84 rand_offset=36
85 ; src_ipv4: 171.205.[0..3].[0..255]
86 random=000000XXXXXXXXXX
87 rand_offset=68
88 ;  src_port: 64*[0..63]
89 random=0000XXXXXX000000
90 rand_offset=74
91
92 [core 3]
93 name=inet_0a
94 task=0
95 mode=gen
96 tx port=inet_0
97 bps=1250000000
98 ; Ethernet + IPv4 + UDP
99 pkt inline=${sut_mac0} 70 00 00 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d ab cd 02 01 ab cd 01 03 13 88 13 88 00 08 55 7b
100 ; dst_ipv4: 171.205.[0..3].[0..255]
101 random=000000XXXXXXXXXX
102 rand_offset=32
103 ; dst_port: 64*[0..63]
104 random=0000XXXXXX000000
105 rand_offset=36
106
107 [core 4]
108 name=inet_0b
109 task=0
110 mode=gen
111 tx port=inet_0
112 bps=1250000000
113 ; Ethernet + IPv4 + UDP
114 pkt inline=${sut_mac0} 70 00 00 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d ab cd 02 01 ab cd 01 03 13 88 13 88 00 08 55 7b
115 ; dst_ipv4: 171.205.[0..3].[0..255]
116 random=000000XXXXXXXXXX
117 rand_offset=32
118 ; dst_port: 64*[0..63]
119 random=0000XXXXXX000000
120 rand_offset=36
121
122 [core 5]
123 name=tun_1a
124 task=0
125 mode=gen
126 tx port=lwB4_1
127 bps=1250000000
128 pkt inline=${sut_mac3} 90 e2 ba c6 84 d1 86 dd 60 00 00 00 00 1c 04 04 fe 80 00 00 00 00 00 00 02 00 00 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45 00 00 1c 34 85 00 00 20 11 00 00 ab cd 00 00 ab cd 03 02 00 00 66 66 00 08 00 00
129 ; src_ipv6: fe80::200:ff:0:[0000..ffff]
130 random=XXXXXXXXXXXXXXXX
131 rand_offset=36
132 ; src_ipv4: 171.205.[0..3].[0..255]
133 random=000000XXXXXXXXXX
134 rand_offset=68
135 ; src_port: 64*[0..63]
136 random=0000XXXXXX000000
137 rand_offset=74
138
139 [core 10]
140 name=tun_1b
141 task=0
142 mode=gen
143 tx port=lwB4_1
144 bps=1250000000
145 pkt inline=${sut_mac3} 90 e2 ba c6 84 d1 86 dd 60 00 00 00 00 1c 04 04 fe 80 00 00 00 00 00 00 02 00 00 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45 00 00 1c 34 85 00 00 20 11 00 00 ab cd 00 00  ab cd 03 01 00 00 66 66 00 08 00 00
146 ; src_ipv6: fe80::200:ff:0:[0000..ffff]
147 random=XXXXXXXXXXXXXXXX
148 rand_offset=36
149 ; src_ipv4: 171.205.[0..3].[0..255]
150 random=000000XXXXXXXXXX
151 rand_offset=68
152 ; src_port: 64*[0..63]
153 random=0000XXXXXX000000
154 rand_offset=74
155
156 [core 11]
157 name=inet_2a
158 task=0
159 mode=gen
160 tx port=inet_1
161 bps=1250000000
162 pkt inline=${sut_mac2} 70 00 00 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d ab cd 02 01 ab cd 01 03 13 88 13 88 00 08 55 7b
163 ; dst_ipv4: 171.205.[0..3].[0..255]
164 random=000000XXXXXXXXXX
165 rand_offset=32
166 ; dst_port: 64*[0..63]
167 random=0000XXXXXX000000
168 rand_offset=36
169
170 [core 16]
171 name=inet_2b
172 task=0
173 mode=gen
174 tx port=inet_1
175 bps=1250000000
176 pkt inline=${sut_mac2} 70 00 00 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d ab cd 02 01 ab cd 01 03 13 88 13 88 00 08 55 7b
177 ; dst_ipv4: 171.205.[0..3].[0..255]
178 random=000000XXXXXXXXXX
179 rand_offset=32
180 ; dst_port: 64*[0..63]
181 random=0000XXXXXX000000
182 rand_offset=36
183
184 [core 17]
185 name=lat_in0
186 task=0
187 mode=lat
188 rx port=inet_0
189
190 [core 18]
191 name=lat_tun0
192 task=0
193 mode=lat
194 rx port=lwB4_0
195
196 [core 19]
197 name=lat_in1
198 task=0
199 mode=lat
200 rx port=inet_1
201
202 [core 20]
203 name=lat_tun1
204 task=0
205 mode=lat
206 rx port=lwB4_1