Support for xtesting
[samplevnf.git] / VNFs / DPPD-PROX / helper-scripts / rapid / impair.cfg
index 8e86c8e..95d6516 100644 (file)
 ;; limitations under the License.
 ;;
 
+[lua]
+dofile("parameters.lua")
+
 [eal options]
 -n=4 ; force number of memory channels
 no-output=no ; disable DPDK debug output
-
-[lua]
-dofile("parameters.lua")
+eal=--proc-type auto ${eal}
 
 [port 0]
 name=if0
@@ -27,6 +28,8 @@ mac=hardware
 rx desc=2048
 tx desc=2048
 vlan=yes
+vdev=impair_tap
+local ipv4=${local_ip1}
 
 
 [defaults]
@@ -46,5 +49,5 @@ sub mode=l3
 rx port=if0
 tx port=if0
 delay us=1000
-probability=100
-local ipv4=${local_ip}
+proba delay=50
+proba no drop=100