Merge "[UDP_Replay] fixing of compiler warning"
[samplevnf.git] / VNFs / DPPD-PROX / helper-scripts / openstackrapid / gen.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=Basic Gen
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 rx ring=yes
45 tx port=p0
46 bps=1250000000
47 pkt inline=00 00 00 00 00 00 00 00 00 00 00 00 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d ${gen_hex_ip} ${sut_hex_ip} 0b b8 0b b9 00 08 55 7b
48 gateway ipv4=${sut_ip}
49 local ipv4=${gen_ip}
50 min bulk size=$mbs
51 ;random=XXXXXXXXXXXXXXXX
52 ;random=0000000000XXXXXX   ; 64 possibilities
53 ;rand_offset=34   ; SOURCE UDP PORT
54 ;random=XXXXXXXXXXXXXXXX
55 ;random=000000000XXXXXXX   ; 128
56 ;rand_offset=36   ; DESTINTAITON UDP PORT
57
58 [core 2]
59 task=0
60 mode=arp
61 rx port=p0,p0,p0,p0
62 tx port=p0
63 tx cores=1t0
64