Avoid vPacketGen slow start 49/40449/1
authorMarco Platania <platania@research.att.com>
Sat, 31 Mar 2018 03:03:26 +0000 (23:03 -0400)
committerMarco Platania <platania@research.att.com>
Sat, 31 Mar 2018 03:03:26 +0000 (23:03 -0400)
- Allow the vPacketGen to generate enough traffic to trigger closed loop

Change-Id: I7873d19cf616b32d1a3e3373b444d221e309022a
Issue-ID: INT-407
Signed-off-by: Marco Platania <platania@research.att.com>
vnfs/vLB/scripts/run_streams_dns.sh

index b73c9ee..db23663 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash
-
+:<<END
 #Disable all the running streams
 vppctl packet-gen disable
 
@@ -17,7 +17,7 @@ while true; do
        vppctl pac del dns3
        vppctl pac del dns4
        vppctl pac del dns5
-
+END
        #Update destination (vLB) IP
        VLB_IPADDR=$(cat /opt/config/vlb_ipaddr.txt)
        IPADDR1=$(cat /opt/config/local_private_ipaddr.txt)
@@ -46,6 +46,7 @@ while true; do
        vppctl packet-gen enable-stream dns3
        vppctl packet-gen enable-stream dns4
        vppctl packet-gen enable-stream dns5
-
+:<<END
        sleep 60
-done
\ No newline at end of file
+done
+END