Fix run_iteration when not using the sut_sock
[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 [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 heartbeat timeout=${heartbeat}
39
40 [core 0]
41 mode=master
42
43 [core $gencores]
44 name=p0
45 task=0
46 mode=gen
47 sub mode=l3
48 tx port=p0
49 bps=1250000000
50 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
51 pkt size=60
52 gateway ipv4=${gw_ip}
53 local ipv4=${local_ip}
54 min bulk size=$mbs
55 max bulk size=16
56 drop=yes
57 lat pos=42
58 accuracy pos=46
59 packet id pos=50
60 signature=0x98765432
61 signature pos=56
62 ;arp update time=1
63
64 [core $latcores]
65 name=lat
66 task=0
67 mode=lat
68 sub mode=l3
69 rx port=p0
70 lat pos=42
71 accuracy pos=46
72 packet id pos=50
73 signature=0x98765432
74 signature pos=56
75 latency bucket size=${bucket_size_exp}
76 ;arp update time=1