Merge "Dashboard with Network and Platform NFVi metrics"
[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 20 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 0c 7c 21 50 51 52 53
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 lat pos=50
86
87 [core 2]
88 name=p1
89 task=0
90 mode=gen
91 tx port=p1
92 bps=625000000
93 ; Ethernet + QinQ + IP + UDP
94 pkt inline=${sut_mac1} 70 00 00 00 00 02 ${qinq_tag_inline} 00 01 81 00 00 01 08 00 45 00 00 20 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 0c 7c 21 50 51 52 53
95 ; svlan: [0,1]
96 random=000000000000000X
97 rand_offset=14
98 ; cvlan: [0..255]
99 random=00000000XXXXXXXX
100 rand_offset=18
101 ; src_ip: 192.168.0.0/19
102 random=1100000010101000000XXXXXXXXXXXXX
103 rand_offset=34
104 ; 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]
105 random=0X00101XXXXXXXXXXXXX0000XXXXXXXX
106 rand_offset=38
107 ; dscp: [0..63]
108 random=XXXXXX00
109 rand_offset=23
110 ; sport: [0,2,4,6,8,10,12,14]
111 ; dport: [0..511]
112 random=000000000000XXX00000000XXXXXXXXX
113 rand_offset=42
114 lat pos=50
115
116 [core 3]
117 name=p2
118 task=0
119 mode=gen
120 tx port=p2
121 bps=625000000
122 ; Ethernet + QinQ + IP + UDP
123 pkt inline=${sut_mac2} 70 00 00 00 00 03 ${qinq_tag_inline} 00 01 81 00 00 01 08 00 45 00 00 20 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 0c 7c 21 50 51 52 53
124 ; svlan: [0,1]
125 random=000000000000000X
126 rand_offset=14
127 ; cvlan: [0..255]
128 random=00000000XXXXXXXX
129 rand_offset=18
130 ; src_ip: 192.168.0.0/19
131 random=1100000010101000000XXXXXXXXXXXXX
132 rand_offset=34
133 ; 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]
134 random=0X00101XXXXXXXXXXXXX0000XXXXXXXX
135 rand_offset=38
136 ; dscp: [0..63]
137 random=XXXXXX00
138 rand_offset=23
139 ; sport: [0,2,4,6,8,10,12,14]
140 ; dport: [0..511]
141 random=000000000000XXX00000000XXXXXXXXX
142 rand_offset=42
143 lat pos=50
144
145 [core 4]
146 name=p3
147 task=0
148 mode=gen
149 tx port=p3
150 bps=625000000
151 ; Ethernet + QinQ + IP + UDP
152 pkt inline=${sut_mac3} 70 00 00 00 00 04 ${qinq_tag_inline} 00 01 81 00 00 01 08 00 45 00 00 20 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 0c 7c 21 50 51 52 53
153 ; svlan: [0,1]
154 random=000000000000000X
155 rand_offset=14
156 ; cvlan: [0..255]
157 random=00000000XXXXXXXX
158 rand_offset=18
159 ; src_ip: 192.168.0.0/19
160 random=1100000010101000000XXXXXXXXXXXXX
161 rand_offset=34
162 ; 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]
163 random=0X00101XXXXXXXXXXXXX0000XXXXXXXX
164 rand_offset=38
165 ; dscp: [0..63]
166 random=XXXXXX00
167 rand_offset=23
168 ; sport: [0,2,4,6,8,10,12,14]
169 ; dport: [0..511]
170 random=000000000000XXX00000000XXXXXXXXX
171 rand_offset=42
172 lat pos=50
173
174 [core 5]
175 name=rec 0
176 task=0
177 mode=lat
178 rx port=p0
179 lat pos=50
180
181 [core 6]
182 name=rec 1
183 task=0
184 mode=lat
185 rx port=p1
186 lat pos=50
187
188 [core 7]
189 name=rec 2
190 task=0
191 mode=lat
192 rx port=p2
193 lat pos=50
194
195 [core 8]
196 name=rec 3
197 task=0
198 mode=lat
199 rx port=p3
200 lat pos=50
201