aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/vLB
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2017-08-28 14:03:04 -0400
committerMarco Platania <platania@research.att.com>2017-08-28 14:03:04 -0400
commit3d7a6ef33cf3c2d1d0d543bcd6ecf9a65a7583ee (patch)
tree03883ccb7172749cf97ab119ed7c4ea6761dd06d /vnfs/vLB
parent2ad033fa96832621c8b37762007dac7fddb42e47 (diff)
Add cron job to vDNS PacketGen
- The cron job re-maps streams to vDNS every minute Change-Id: I8c7bc7f3ecab356ffb7f2cb1cfe2f67a862255a4 Issue-ID: UCA-34 Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'vnfs/vLB')
-rw-r--r--vnfs/vLB/scripts/v_packetgen_install.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/vnfs/vLB/scripts/v_packetgen_install.sh b/vnfs/vLB/scripts/v_packetgen_install.sh
index 6ac62737..621385ca 100644
--- a/vnfs/vLB/scripts/v_packetgen_install.sh
+++ b/vnfs/vLB/scripts/v_packetgen_install.sh
@@ -93,4 +93,7 @@ then
reboot
fi
+# Install a cron job that restart streams every minute. This allows to map streams to different vDNSs when we scale out the VNF
+echo "* * * * * /opt/vdnspacketgen_change_streams_ports.sh" | crontab
+
./v_packetgen_init.sh