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