Merge "NSB Prox LW_AFTR Test"
[yardstick.git] / samples / vnf_samples / nsut / prox / configs / gen_lb-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 ; force number of memory channels
19 no-output=no ; disable DPDK debug output
20
21 [variables]
22 $sut_mac0=@@dst_mac0
23
24 [port 0]
25 name=p0
26 mac=hardware
27 rx desc=4096
28 tx desc=4096
29 promiscuous=yes
30
31 [port 1]
32 name=p1
33 mac=hardware
34 rx desc=4096
35 tx desc=1024
36 promiscuous=yes
37
38 [port 2]
39 name=p2
40 mac=hardware
41 rx desc=4096
42 tx desc=1024
43 promiscuous=yes
44
45 [port 3]
46 name=p3
47 mac=hardware
48 rx desc=4096
49 tx desc=1024
50 promiscuous=yes
51
52 [defaults]
53 mempool size=16K
54
55 [global]
56 start time=5
57 name=Gen Load Balancing
58
59 [core 0]
60 mode=master
61
62 [core 1]
63 name=p0
64 task=0
65 mode=gen
66 tx port=p0
67 bps=1250000000
68 ; Ethernet + IP + pseudo-UDP
69 pkt inline=${sut_mac0} 70 00 00 00 00 01 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d 00 00 00 01 00 00 00 02 13 88 13 88 00 08 55 7b
70 ; src_ip: 10.x.x.x
71 random=101000000000XXXX0000XXXX000XXXXX
72 rand_offset=26
73 ; dst_ip: 10.x.x.x
74 random=101000000000XXXX0000XXXX000XXXXX
75 rand_offset=30
76 ; sport: [0..31]
77 ; dport: [0..31]
78 random=00000000000XXXXX00000000000XXXXX
79 rand_offset=34
80
81 [core 2]
82 name=p0
83 task=0
84 mode=nop
85 rx port=p0
86
87 [core 3]
88 name=p1
89 task=0
90 mode=nop
91 rx port=p1
92
93 [core 4]
94 name=p2
95 task=0
96 mode=nop
97 rx port=p2
98
99 [core 5]
100 name=p3
101 task=0
102 mode=nop
103 rx port=p3
104
105