Merge "prox: fix TG KPIs"
[yardstick.git] / samples / vnf_samples / nsut / prox / configs / handle_l3fwd-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 [lua]
18 lpm4 = dofile("ipv4.lua")
19
20 [eal options]
21 -n=4 ; force number of memory channels
22 no-output=no ; disable DPDK debug output
23
24 [port 0]
25 name=if0
26 mac=hardware
27 [port 1]
28 name=if1
29 mac=hardware
30 [port 2]
31 name=if2
32 mac=hardware
33 [port 3]
34 name=if3
35 mac=hardware
36
37 [defaults]
38 mempool size=4K
39
40 [global]
41 start time=5
42 name=Routing (4x)
43
44 [core 0]
45 mode=master
46
47 [core 1]
48 name=Routing
49 task=0
50 mode=routing
51 route table=lpm4
52 rx port=if0
53 tx port=if0,if1
54 drop=no
55
56 [core 2]
57 name=Routing
58 task=0
59 mode=routing
60 route table=lpm4
61 rx port=if1
62 tx port=if0,if1
63 drop=no
64
65 [core 3]
66 name=Routing
67 task=0
68 mode=routing
69 route table=lpm4
70 rx port=if2
71 tx port=if2,if3
72 drop=no
73
74 [core 4]
75 name=Routing
76 task=0
77 mode=routing
78 route table=lpm4
79 rx port=if3
80 tx port=if2,if3
81 drop=no