Moving to python 3 for kubernetes scripts
[samplevnf.git] / VNFs / DPPD-PROX / helper-scripts / rapid / gen.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 vdev=gen_tap
31 local ipv4=${local_ip1}
32
33
34 [variables]
35 $mbs=8
36
37 [defaults]
38 mempool size=8K
39
40 [global]
41 name=${name}
42 heartbeat timeout=${heartbeat}
43
44 [core 0]
45 mode=master
46
47 [core $gencores]
48 name=p0
49 task=0
50 mode=gen
51 sub mode=l3
52 tx port=p0
53 bps=1250000000
54 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
55 pkt size=60
56 min bulk size=$mbs
57 max bulk size=16
58 drop=yes
59 lat pos=42
60 accuracy pos=46
61 packet id pos=50
62 signature=0x98765432
63 signature pos=56
64 ;arp update time=1
65
66 [core $latcores]
67 name=lat
68 task=0
69 mode=lat
70 sub mode=l3
71 rx port=p0
72 lat pos=42
73 accuracy pos=46
74 packet id pos=50
75 signature=0x98765432
76 signature pos=56
77 accuracy limit nsec=1000000
78 latency bucket size=${bucket_size_exp}
79 ;arp update time=1
80