PROX VNF and TG
[yardstick.git] / samples / vnf_samples / nsut / prox / configs / gen_acl-2.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 [eal options]
16 -n=4 ; force number of memory channels
17 no-output=no ; disable DPDK debug output
18
19 [port 0]
20 name=p0
21 mac=00:00:00:00:00:01
22 [port 1]
23 name=p1
24 mac=00:00:00:00:00:02
25
26
27 [defaults]
28 mempool size=4K
29
30 [global]
31 start time=5
32 name=ACL gen
33 [core 0]
34 mode=master
35
36 [core 1]
37 name=p0
38 task=0
39 mode=gen
40 tx port=p0
41 bps=625000000
42 ; Ethernet + QinQ + IP + UDP
43 pkt inline= 00 00 00 00 00 01 70 00 00 00 00 01 88 a8 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
44 ; svlan: [0,1]
45 random=000000000000000X
46 rand_offset=14
47 ; cvlan: [0..255]
48 random=00000000XXXXXXXX
49 rand_offset=18
50 ; src_ip: 192.168.0.0/19
51 random=1100000010101000000XXXXXXXXXXXXX
52 rand_offset=34
53 ; 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]
54 random=0X00101XXXXXXXXXXXXX0000XXXXXXXX
55 rand_offset=38
56 ; dscp: [0..63]
57 random=XXXXXX00
58 rand_offset=23
59 ; sport: [0,2,4,6,8,10,12,14]
60 ; dport: [0..511]
61 random=000000000000XXX00000000XXXXXXXXX
62 rand_offset=42
63 lat pos=50
64
65 [core 2]
66 name=p1
67 task=0
68 mode=gen
69 tx port=p1
70 bps=625000000
71 ; Ethernet + QinQ + IP + UDP
72 pkt inline=00 00 00 00 00 02 70 00 00 00 00 02 88 a8 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
73 ; svlan: [0,1]
74 random=000000000000000X
75 rand_offset=14
76 ; cvlan: [0..255]
77 random=00000000XXXXXXXX
78 rand_offset=18
79 ; src_ip: 192.168.0.0/19
80 random=1100000010101000000XXXXXXXXXXXXX
81 rand_offset=34
82 ; 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]
83 random=0X00101XXXXXXXXXXXXX0000XXXXXXXX
84 rand_offset=38
85 ; dscp: [0..63]
86 random=XXXXXX00
87 rand_offset=23
88 ; sport: [0,2,4,6,8,10,12,14]
89 ; dport: [0..511]
90 random=000000000000XXX00000000XXXXXXXXX
91 rand_offset=42
92 lat pos=50