Added initial support for BGP
[samplevnf.git] / VNFs / DPPD-PROX / gen / gen_tap.cfg
1 ;;
2 ;; Copyright (c) 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 lpm4 = dofile("l3-ipv4.lua")
23
24 [port 0]
25 name=p0
26 vdev=gen_tap
27 local ipv4=$ip1
28
29 [defaults]
30 mempool size=16K
31
32 [global]
33 start time=5
34 name=Basic Gen
35
36 [variables]
37 $hex_ip1=c0 a8 7a 7e
38 $hex_ip2=c0 a8 7b 7f
39 $ip1=192.168.122.126
40 $ip2=192.168.123.127
41
42 [core 0s0]
43 mode=master
44
45 [core 1]
46 name=p0
47 task=0
48 mode=gen
49 sub mode=l3
50 tx port=p0
51 route table=lpm4
52 bps=1250000000
53 pkt inline=00 00 01 00 00 01 00 00 02 00 00 02 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d ${hex_ip1} ${hex_ip2} 13 88 13 88 00 08 55 7b
54 pkt size=60
55 lat pos=42
56 packet id pos=46
57 min bulk size=8
58 local ipv4=${ip1}/24
59
60 [core 2]
61 name=nop
62 task=0
63 mode=lat
64 sub mode=l3
65 rx port=p0
66 drop=no
67 lat pos=42
68 packet id pos=46
69 local ipv4=${ip1}/24