Dashboard with Network and Platform NFVi metrics
[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 #;
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 [defaults]
32 mempool size=4K
33
34 [variables]
35 $sut_mac0=@@dst_mac0
36 $sut_mac1=@@dst_mac1
37 $qinq_tag_inline="88 a8"
38
39 [global]
40 start time=5
41 name=Basic Gen
42
43 [core 0]
44 mode=master
45
46 [core 1]
47 name=p0
48 task=0
49 mode=gen
50 tx port=p0
51 bps=625000000
52 ; Ethernet + QinQ + IP + UDP
53 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
54 ; svlan: [0,1]
55 random=000000000000000X
56 rand_offset=14
57 ; cvlan: [0..255]
58 random=00000000XXXXXXXX
59 rand_offset=18
60 ; src_ip: 192.168.0.0/19
61 random=1100000010101000000XXXXXXXXXXXXX
62 rand_offset=34
63 ; 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]
64 random=0X00101XXXXXXXXXXXXX0000XXXXXXXX
65 rand_offset=38
66 ; dscp: [0..63]
67 random=XXXXXX00
68 rand_offset=23
69 ; sport: [0,2,4,6,8,10,12,14]
70 ; dport: [0..511]
71 random=000000000000XXX00000000XXXXXXXXX
72 rand_offset=42
73 lat pos=50
74
75
76 [core 2]
77 name=p1
78 task=0
79 mode=gen
80 tx port=p1
81 bps=625000000
82 ; Ethernet + QinQ + IP + UDP
83 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
84 ; svlan: [0,1]
85 random=000000000000000X
86 rand_offset=14
87 ; cvlan: [0..255]
88 random=00000000XXXXXXXX
89 rand_offset=18
90 ; src_ip: 192.168.0.0/19
91 random=1100000010101000000XXXXXXXXXXXXX
92 rand_offset=34
93 ; 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]
94 random=0X00101XXXXXXXXXXXXX0000XXXXXXXX
95 rand_offset=38
96 ; dscp: [0..63]
97 random=XXXXXX00
98 rand_offset=23
99 ; sport: [0,2,4,6,8,10,12,14]
100 ; dport: [0..511]
101 random=000000000000XXX00000000XXXXXXXXX
102 rand_offset=42
103 lat pos=50
104
105 [core 3]
106 name=rec 0
107 task=0
108 mode=lat
109 rx port=p0
110
111 [core 4]
112 name=rec 1
113 task=0
114 mode=lat
115 rx port=p1
116