From 3d7a6ef33cf3c2d1d0d543bcd6ecf9a65a7583ee Mon Sep 17 00:00:00 2001 From: Marco Platania Date: Mon, 28 Aug 2017 14:03:04 -0400 Subject: 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 --- vnfs/vLB/scripts/v_packetgen_install.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vnfs/vLB') 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 -- cgit 1.2.3-korg