9e7bf90ea90945c7683645df95b711e49394f9dd
[samplevnf.git] / VNFs / DPPD-PROX / helper-scripts / openstackrapid / l2gen.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 ${group1}]
40 name=p0
41 task=0
42 mode=gen
43 tx port=p0
44 bps=1250000000
45 pkt inline=${dest_hex_mac} 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
46 pkt size=60
47 ;gateway ipv4=${gw_ip}
48 local ipv4=${local_ip}
49 min bulk size=$mbs
50 max bulk size=16
51 drop=no
52 lat pos=42
53 accuracy pos=46
54 packet id pos=50
55 signature=0x6789abcd
56 signature pos=56
57
58 [core ${group2}]
59 name=lat
60 task=0
61 mode=lat
62 rx port=p0
63 lat pos=42
64 accuracy pos=46
65 packet id pos=50
66 signature=0x6789abcd
67 signature pos=56