aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2018-03-30 23:03:26 -0400
committerMarco Platania <platania@research.att.com>2018-03-30 23:03:26 -0400
commit65b2ca0b64869a6487f55bf846b361078ba205ce (patch)
tree7d6d44aa22dbab6779d512b0aafffcfd64c87bde
parent2bc12a3cbbed5b4dfe78c649394d2cd8856757b0 (diff)
Avoid vPacketGen slow start
- 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>
-rwxr-xr-xvnfs/vLB/scripts/run_streams_dns.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/vnfs/vLB/scripts/run_streams_dns.sh b/vnfs/vLB/scripts/run_streams_dns.sh
index b73c9ee7..db236638 100755
--- a/vnfs/vLB/scripts/run_streams_dns.sh
+++ b/vnfs/vLB/scripts/run_streams_dns.sh
@@ -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