Merge "add scenario opnfv_os-nosdn-bar-ha_daily.yaml for Barometer"
[yardstick.git] / samples / vnf_samples / nsut / prox / configs / gen_l2fwd-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
50 [global]
51 start time=5
52 name=Basic Gen x4
53
54 [core 0]
55 mode=master
56
57 [core 1]
58 name=gen 0
59 task=0
60 mode=gen
61 tx port=p0
62 bps=1250000000
63 ; Ethernet + IP + UDP
64 pkt inline=${sut_mac0} 3c fd fe 9f a3 a0 08 a0 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 13 88 13 88 00 08 55 7b
65
66 [core 2]
67 name=gen 1
68 task=0
69 mode=gen
70 tx port=p1
71 bps=1250000000
72 ; Ethernet + IP + UDP
73 pkt inline=${sut_mac1}  3c fd fe 9f a5 50 08 a0 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 13 88 13 88 00 08 55 7b
74
75 [core 3]
76 name=gen 2
77 task=0
78 mode=gen
79 tx port=p2
80 bps=1250000000
81 ; Ethernet + IP + UDP
82 pkt inline=${sut_mac2}  3c fd fe 9f a5 50 08 a0 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 13 88 13 88 00 08 55 7b
83
84 [core 4]
85 name=gen 3
86 task=0
87 mode=gen
88 tx port=p3
89 bps=1250000000
90 ; Ethernet + IP + UDP
91 pkt inline=${sut_mac3}  3c fd fe 9f a5 50 08 a0 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 13 88 13 88 00 08 55 7b
92
93 [core 5]
94 name=rec 0
95 task=0
96 mode=lat
97 rx port=p0
98
99 [core 6]
100 name=rec 1
101 task=0
102 mode=lat
103 rx port=p1
104
105 [core 7]
106 name=rec 2
107 task=0
108 mode=lat
109 rx port=p2
110
111 [core 8]
112 name=rec 3
113 task=0
114 mode=lat
115 rx port=p3