Merge "ansible: resize VNF image"
[yardstick.git] / samples / vnf_samples / nsut / prox / configs / gen_acl-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
17 [eal options]
18 -n=4
19 no-output=no ; disable DPDK debug output
20
21 [port 0]
22 name=p0
23 mac=hardware
24 promiscuous=yes
25
26 [port 1]
27 name=p1
28 mac=hardware
29 promiscuous=yes
30
31 [port 2]
32 name=p2
33 mac=hardware
34 promiscuous=yes
35
36 [port 3]
37 name=p3
38 mac=hardware
39 promiscuous=yes
40
41 [defaults]
42 mempool size=4K
43
44 [variables]
45 $sut_mac0=@@dst_mac0
46 $sut_mac1=@@dst_mac1
47 $sut_mac2=@@dst_mac2
48 $sut_mac3=@@dst_mac3
49 $qinq_tag_inline="88 a8"
50
51 [global]
52 start time=5
53 name=Basic ACL Gen x4
54
55 [core 0]
56 mode=master
57
58 [core 1]
59 name=p0
60 task=0
61 mode=gen
62 tx port=p0
63 bps=625000000
64 ; Ethernet + QinQ + IP + UDP
65 pkt inline=${sut_mac0} 70 00 00 00 00 01 ${qinq_tag_inline} 00 01 81 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 08 7c 21  FFFFFFFF
66 ; svlan: [0,1]
67 random=000000000000000X
68 rand_offset=14
69 ; cvlan: [0..255]
70 random=00000000XXXXXXXX
71 rand_offset=18
72 ; src_ip: 192.168.0.0/19
73 random=1100000010101000000XXXXXXXXXXXXX
74 rand_offset=34
75 ; dst_ip: [10,11,74,75].[0..255].[0,16,32,48,64,80,96,112,128,144,160,176,192,208,224,240].[0..255]
76 random=0X00101XXXXXXXXXXXXX0000XXXXXXXX
77 rand_offset=38
78 ; dscp: [0..63]
79 random=XXXXXX00
80 rand_offset=23
81 ; sport: [0,2,4,6,8,10,12,14]
82 ; dport: [0..511]
83 random=000000000000XXX00000000XXXXXXXXX
84 rand_offset=42
85
86 [core 2]
87 name=p1
88 task=0
89 mode=gen
90 tx port=p1
91 bps=625000000
92 ; Ethernet + QinQ + IP + UDP
93 pkt inline=${sut_mac1} 70 00 00 00 00 02 ${qinq_tag_inline} 00 01 81 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 08 7c 21  FFFFFFFF
94 ; svlan: [0,1]
95 random=000000000000000X
96 rand_offset=14
97 ; cvlan: [0..255]
98 random=00000000XXXXXXXX
99 rand_offset=18
100 ; src_ip: 192.168.0.0/19
101 random=1100000010101000000XXXXXXXXXXXXX
102 rand_offset=34
103 ; dst_ip: [10,11,74,75].[0..255].[0,16,32,48,64,80,96,112,128,144,160,176,192,208,224,240].[0..255]
104 random=0X00101XXXXXXXXXXXXX0000XXXXXXXX
105 rand_offset=38
106 ; dscp: [0..63]
107 random=XXXXXX00
108 rand_offset=23
109 ; sport: [0,2,4,6,8,10,12,14]
110 ; dport: [0..511]
111 random=000000000000XXX00000000XXXXXXXXX
112 rand_offset=42
113
114 [core 3]
115 name=p2
116 task=0
117 mode=gen
118 tx port=p1
119 bps=625000000
120 ; Ethernet + QinQ + IP + UDP
121 pkt inline=${sut_mac2} 70 00 00 00 00 02 ${qinq_tag_inline} 00 01 81 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 08 7c 21  FFFFFFFF
122 ; svlan: [0,1]
123 random=000000000000000X
124 rand_offset=14
125 ; cvlan: [0..255]
126 random=00000000XXXXXXXX
127 rand_offset=18
128 ; src_ip: 192.168.0.0/19
129 random=1100000010101000000XXXXXXXXXXXXX
130 rand_offset=34
131 ; dst_ip: [10,11,74,75].[0..255].[0,16,32,48,64,80,96,112,128,144,160,176,192,208,224,240].[0..255]
132 random=0X00101XXXXXXXXXXXXX0000XXXXXXXX
133 rand_offset=38
134 ; dscp: [0..63]
135 random=XXXXXX00
136 rand_offset=23
137 ; sport: [0,2,4,6,8,10,12,14]
138 ; dport: [0..511]
139 random=000000000000XXX00000000XXXXXXXXX
140 rand_offset=42
141
142 [core 4]
143 name=p3
144 task=0
145 mode=gen
146 tx port=p3
147 bps=625000000
148 ; Ethernet + QinQ + IP + UDP
149 pkt inline=${sut_mac3} 70 00 00 00 00 04 ${qinq_tag_inline} 00 01 81 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 08 7c 21  FFFFFFFF
150 ; svlan: [0,1]
151 random=000000000000000X
152 rand_offset=14
153 ; cvlan: [0..255]
154 random=00000000XXXXXXXX
155 rand_offset=18
156 ; src_ip: 192.168.0.0/19
157 random=1100000010101000000XXXXXXXXXXXXX
158 rand_offset=34
159 ; dst_ip: [10,11,74,75].[0..255].[0,16,32,48,64,80,96,112,128,144,160,176,192,208,224,240].[0..255]
160 random=0X00101XXXXXXXXXXXXX0000XXXXXXXX
161 rand_offset=38
162 ; dscp: [0..63]
163 random=XXXXXX00
164 rand_offset=23
165 ; sport: [0,2,4,6,8,10,12,14]
166 ; dport: [0..511]
167 random=000000000000XXX00000000XXXXXXXXX
168 rand_offset=42
169
170 [core 5]
171 name=rec 0
172 task=0
173 mode=lat
174 rx port=p0
175
176 [core 6]
177 name=rec 1
178 task=0
179 mode=lat
180 rx port=p1
181
182 [core 7]
183 name=rec 2
184 task=0
185 mode=lat
186 rx port=p2
187
188 [core 8]
189 name=rec 3
190 task=0
191 mode=lat
192 rx port=p3