Fix "code nested too deep error" introduced by commit 843ca042
[samplevnf.git] / VNFs / DPPD-PROX / helper-scripts / openstackrapid / gen_gw.cfg
1 ;;
2 ;; Copyright (c) 2010-2017 Intel Corporation
3 ;;
4 ;; Licensed under the Apache License, Version 2.0 (the "License");
5 ;; you may not use this file except in compliance with the License.
6 ;; You may obtain a copy of the License at
7 ;;
8 ;;     http://www.apache.org/licenses/LICENSE-2.0
9 ;;
10 ;; Unless required by applicable law or agreed to in writing, software
11 ;; distributed under the License is distributed on an "AS IS" BASIS,
12 ;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ;; See the License for the specific language governing permissions and
14 ;; limitations under the License.
15 ;;
16
17 [eal options]
18 -n=4 ; force number of memory channels
19 no-output=no ; disable DPDK debug output
20
21 [lua]
22 dofile("parameters.lua")
23
24 [port 0]
25 name=p0
26 rx desc=2048
27 tx desc=2048
28 vlan=yes
29
30 [variables]
31 $mbs=8
32
33 [defaults]
34 mempool size=8K
35
36 [global]
37 name=${name}
38
39 [core 0]
40 mode=master
41
42 [core $gencores]
43 name=p0
44 task=0
45 mode=gen
46 sub mode=l3
47 tx port=p0
48 bps=1250000000
49 pkt inline=00 00 00 00 00 00 00 00 00 00 00 00 08 00 45 00 00 2e 00 01 00 00 40 11 f7 7d ${local_hex_ip} ${dest_hex_ip} 0b b8 0b b9 00 1a 55 7b
50 pkt size=60
51 gateway ipv4=${gw_ip}
52 local ipv4=${local_ip}
53 min bulk size=$mbs
54 max bulk size=16
55 drop=yes
56 lat pos=42
57 accuracy pos=46
58 packet id pos=50
59 signature=0x6789abcd
60 signature pos=56
61 ;arp update time=1
62
63 [core $latcores]
64 name=lat
65 task=0
66 mode=lat
67 sub mode=l3
68 rx port=p0
69 lat pos=42
70 accuracy pos=46
71 packet id pos=50
72 signature=0x6789abcd
73 signature pos=56
74 ;arp update time=1