rapid november release combining changes
[samplevnf.git] / VNFs / DPPD-PROX / helper-scripts / rapid / impair.cfg
1 ;;
2 ;; Copyright (c) 2010-2019 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=if0
26 mac=hardware
27 rx desc=2048
28 tx desc=2048
29 vlan=yes
30
31
32 [defaults]
33 mempool size=8K
34
35 [global]
36 name=${name}
37
38 [core 0]
39 mode=master
40
41 [core $cores]
42 name=impair
43 task=0
44 mode=impair
45 sub mode=l3
46 rx port=if0
47 tx port=if0
48 delay us=1000
49 probability=100
50 local ipv4=${local_ip}