Adding Security gateway testing
[samplevnf.git] / VNFs / DPPD-PROX / helper-scripts / openstackrapid / impair.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=if0
26 mac=hardware
27
28 [defaults]
29 mempool size=2K
30
31 [global]
32 name=${name}
33
34 [core 0]
35 mode=master
36
37 [core 1]
38 name=impair
39 task=0
40 mode=impair
41 sub mode=l3
42 rx port=if0
43 tx port=if0
44 delay us=20
45 probability=60
46 local ipv4=${local_ip}
47