Merge "Initialize fields of outer IP header"
[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
27 [variables]
28 $mbs=8
29
30 [defaults]
31 mempool size=4K
32
33 [global]
34 name=${name}
35
36 [core 0]
37 mode=master
38
39 [core 1]
40 name=p0
41 task=0
42 mode=gen
43 sub mode=l3
44 tx port=p0
45 bps=1250000000
46 pkt inline=00 00 00 00 00 00 00 00 00 00 00 00 08 00 45 00 00 24 00 01 00 00 40 11 f7 7d ${local_hex_ip} ${dest_hex_ip} 0b b8 0b b9 00 10 55 7b
47 pkt size=50
48 gateway ipv4=${gw_ip}
49 local ipv4=${local_ip}
50 min bulk size=$mbs
51 max bulk size=16
52 drop=no
53 lat pos=42
54 accuracy pos=46
55
56 [core 2]
57 name=lat
58 task=0
59 mode=lat
60 sub mode=l3
61 rx port=p0
62 lat pos=42
63 accuracy pos=46
64
65