aboutsummaryrefslogtreecommitdiffstats
path: root/samples/vnf_samples/nsut/prox/configs/gen_vpe-4.cfg
blob: ae6adaa45f6ed1670e2a8631bc7135d779d7cd3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #333333 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #666666 } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #008800 } /* Keyword.Pseudo */
.highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */
.highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */
.highlight .na { color: #336699 } /* Name.Attribute */
.highlight .nb { color: #003388 } /* Name.Builtin */
.highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */
.highlight .no { color: #003366; font-weight: bold } /* Name.Constant */
.highlight .nd { color: #555555 } /* Name.Decorator */
.highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */
.highlight .nl { color: #336699; font-style: italic } /* Name.Label */
.highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */
.highlight .py { color: #336699; font-weight: bold } /* Name.Property */
.highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #336699 } /* Name.Variable */
.highlight .ow { color: #008800 } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */
.highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */
.highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */
.highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */
.highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */
.highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */
.highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */
.highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */
.highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */
.highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */
.highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* L
# Copyright (c) 2016-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

[eal options]
-n=4
no-output=no ; disable DPDK debug output

[variables]
$qinq_tag_inline=88 a8
$sut_mac0=@@dst_mac0
$sut_mac1=@@dst_mac1
$sut_mac2=@@dst_mac2
$sut_mac3=@@dst_mac3

[port 0]
name=cpe0
mac=hardware
[port 1]
name=inet0
mac=hardware
[port 2]
name=cpe1
mac=hardware
[port 3]
name=inet1
mac=hardware

[defaults]
mempool size=4K

[global]
start time=5
name=vPE gen

[core 0]
mode=master

[core 1]
name=cpe0
task=0
mode=gen
tx port=cpe0
bps=625000000
; Ethernet + QinQ + IP + UDP
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
; svlan: [0,1]
random=000000000000000X
rand_offset=14
; cvlan: [0..255]
random=00000000XXXXXXXX
rand_offset=18
; src_ip: 192.168.0.0/20
random=11000000101010000000XXXXXXXXXXXX
rand_offset=34
; 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]
random=0X00101XXXXXXXXXXXXX0000XXXXXXXX
rand_offset=38
; dscp: [0..63]
random=XXXXXX00
rand_offset=23
; sport: [0,2,4,6,8,10,12,14]
random=000000000000XXX0
rand_offset=42
; dport: [0..511]
random=0000000XXXXXXXXX
rand_offset=44
lat pos=50

[core 2]
name=cpe1
task=0
mode=gen
tx port=cpe1
bps=625000000
; Ethernet + QinQ + IP + UDP
pkt inline=${sut_mac2} 70 00 00 00 00 03 ${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
; svlan: [32,33]
random=000000000010000X
rand_offset=14
; cvlan: [0..255]
random=00000000XXXXXXXX
rand_offset=18
; src_ip: 192.168.32.0/20
random=11000000101010000010XXXXXXXXXXXX
rand_offset=34
; 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]
random=0X00101XXXXXXXXXXXXX0000XXXXXXXX
rand_offset=38
; dscp: [0..63]
random=XXXXXX00
rand_offset=23
; sport: [0,2,4,6,8,10,12,14]
random=000000000000XXX0
rand_offset=42
; dport: [0..511]
random=0000000XXXXXXXXX
rand_offset=44
lat pos=50

[core 3]
name=cpe0
task=0
mode=gen
tx port=cpe0
bps=625000000
; Ethernet + QinQ + IP + UDP
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
; svlan: [16,17]
random=000000000001000X
rand_offset=14
; cvlan: [0..255]
random=00000000XXXXXXXX
rand_offset=18
; src_ip: 192.168.16.0/20
random=11000000101010000001XXXXXXXXXXXX
rand_offset=34
; 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]
random=0X00101XXXXXXXXXXXXX0000XXXXXXXX
rand_offset=38
; dscp: [0..63]
random=XXXXXX00
rand_offset=23
; sport: [0,2,4,6,8,10,12,14]
random=000000000000XXX0
rand_offset=42
; dport: [0..511]
random=0000000XXXXXXXXX
rand_offset=44
lat pos=50

[core 4]
name=cpe1
task=0
mode=gen
tx port=cpe1
bps=625000000
; Ethernet + QinQ + IP + UDP
pkt inline=${sut_mac2} 70 00 00 00 00 03 ${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
; svlan: [48,49]
random=000000000011000X
rand_offset=14
; cvlan: [0..255]
random=00000000XXXXXXXX
rand_offset=18
; src_ip: 192.168.48.0/20
random=11000000101010000011XXXXXXXXXXXX
rand_offset=34
; 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]
random=0X00101XXXXXXXXXXXXX0000XXXXXXXX
rand_offset=38
; dscp: [0..63]
random=XXXXXX00
rand_offset=23
; sport: [0,2,4,6,8,10,12,14]
random=000000000000XXX0
rand_offset=42
; dport: [0..511]
random=0000000XXXXXXXXX
rand_offset=44
lat pos=50

[core 5]
name=inet0
task=0
mode=gen
tx port=inet0
bps=1250000000
; Ethernet + MPLS + IP + UDP
pkt inline=${sut_mac1} 70 00 00 00 00 02 88 47 00 00 31 00 45 00 00 1c 00 01 00 00 40 11 77 fe c0 a8 80 80 c0 a8 01 01 00 35 00 35 00 08 fc a1  FFFFFFFF
; dst_ip: 192.168.0.0/18
random=110000001010100000XXXXXXXXXXXXXX
rand_offset=34
; dscp: [0..63]
random=XXXXXX00
rand_offset=19
lat pos=46

[core 8]
name=inet1
task=0
mode=gen
tx port=inet1
bps=1250000000
; Ethernet + MPLS + IP + UDP
pkt inline=${sut_mac3} 70 00 00 00 00 04 88 47 00 00 31 00 45 00 00 1c 00 01 00 00 40 11 77 fe c0 a8 80 80 c0 a8 01 01 00 35 00 35 00 08 fc a1  FFFFFFFF
; dst_ip: 192.168.0.0/18
random=110000001010100000XXXXXXXXXXXXXX
rand_offset=34
; dscp: [0..63]
random=XXXXXX00
rand_offset=19
lat pos=46

[core 9]
name=CPE0
task=0
mode=lat
rx port=cpe0
lat pos=50

[core 10]
name=CPE1
task=0
mode=lat
rx port=cpe1
lat pos=50

[core 11]
name=INET0
task=0
mode=lat
rx port=inet0
lat pos=46

[core 12]
name=INET1
task=0
mode=lat
rx port=inet1
lat pos=46