Merge changes Iaad9c95e,Iccd9c95e
[samplevnf.git] / VNFs / DPPD-PROX / helper-scripts / openstackrapid / gen.cfg
index 522eb80..fd8eadb 100644 (file)
@@ -23,6 +23,9 @@ dofile("parameters.lua")
 
 [port 0]
 name=p0
+rx desc=2048
+tx desc=2048
+vlan=yes
 
 [variables]
 $mbs=8
@@ -31,34 +34,40 @@ $mbs=8
 mempool size=4K
 
 [global]
-name=Basic Gen
+name=${name}
 
 [core 0]
 mode=master
 
-[core 1]
+[core $group1]
 name=p0
 task=0
 mode=gen
 sub mode=l3
-rx ring=yes
 tx port=p0
 bps=1250000000
-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
-gateway ipv4=${sut_ip}
-local ipv4=${gen_ip}
+pkt inline=00 00 00 00 00 00 00 00 00 00 00 00 08 00 45 00 00 2e 00 01 00 00 40 11 f7 7d ${local_hex_ip} ${dest_hex_ip} 0b b8 0b b9 00 1a 55 7b
+pkt size=60
+;gateway ipv4=${gw_ip}
+local ipv4=${local_ip}
 min bulk size=$mbs
-;random=XXXXXXXXXXXXXXXX
-;random=0000000000XXXXXX   ; 64 possibilities
-;rand_offset=34   ; SOURCE UDP PORT
-;random=XXXXXXXXXXXXXXXX
-;random=000000000XXXXXXX   ; 128
-;rand_offset=36   ; DESTINTAITON UDP PORT
+max bulk size=16
+drop=yes
+lat pos=42
+accuracy pos=46
+packet id pos=50
+signature=0x6789abcd
+signature pos=56
 
-[core 2]
+[core $group2]
+name=lat
 task=0
-mode=arp
-rx port=p0,p0,p0,p0
-tx port=p0
-tx cores=1t0
+mode=lat
+sub mode=l3
+rx port=p0
+lat pos=42
+accuracy pos=46
+packet id pos=50
+signature=0x6789abcd
+signature pos=56