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