Support for xtesting
[samplevnf.git] / VNFs / DPPD-PROX / helper-scripts / rapid / swap.cfg
index 04b37c3..0cca80c 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
 mac=hardware
 vlan=yes
+vdev=swap_tap
+local ipv4=${local_ip1}
 
 [defaults]
 mempool size=8K
@@ -35,13 +38,12 @@ name=${name}
 [core 0]
 mode=master
 
-[core $swapcores]
+[core $cores]
 name=swap
 task=0
 mode=swap
 sub mode=l3
 rx port=if0
 tx port=if0
-local ipv4=${local_ip}
 drop=no
 ;arp update time=1