Code rewrite and Python3 support
[samplevnf.git] / VNFs / DPPD-PROX / helper-scripts / rapid / gen_gw.cfg
1 ;;
2 ;; Copyright (c) 2010-2020 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 [lua]
18 dofile("parameters.lua")
19
20 [eal options]
21 -n=4 ; force number of memory channels
22 no-output=no ; disable DPDK debug output
23 eal=--proc-type auto ${eal}
24
25 [port 0]
26 name=p0
27 rx desc=2048
28 tx desc=2048
29 vlan=yes
30
31 [variables]
32 $mbs=8
33
34 [defaults]
35 mempool size=8K
36
37 [global]
38 name=${name}
39 heartbeat timeout=${heartbeat}
40
41 [core 0]
42 mode=master
43
44 [core $gencores]
45 name=p0
46 task=0
47 mode=gen
48 sub mode=l3
49 tx port=p0
50 bps=1250000000
51 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_ip1} ${dest_hex_ip1} 0b b8 0b b9 00 1a 55 7b
52 pkt size=60
53 gateway ipv4=${gw_ip1}
54 local ipv4=${local_ip1}
55 min bulk size=$mbs
56 max bulk size=16
57 drop=yes
58 lat pos=42
59 accuracy pos=46
60 packet id pos=50
61 signature=0x98765432
62 signature pos=56
63 ;arp update time=1
64
65 [core $latcores]
66 name=lat
67 task=0
68 mode=lat
69 sub mode=l3
70 rx port=p0
71 lat pos=42
72 accuracy pos=46
73 packet id pos=50
74 signature=0x98765432
75 signature pos=56
76 latency bucket size=${bucket_size_exp}
77 ;arp update time=1