diff options
author | Marco Platania <platania@research.att.com> | 2017-11-14 15:26:33 -0500 |
---|---|---|
committer | Marco Platania <platania@research.att.com> | 2017-11-14 15:26:33 -0500 |
commit | 3514fec2ce01344df19df298f6a0d39a369ad26c (patch) | |
tree | cb99b2570d9d9e21910fe8e6cc34de8b9b5bdfa7 /vnfs/vLB/scripts/v_packetgen_install.sh | |
parent | 9907e4958485625ba469b08d10cb11bd5a56dba6 (diff) |
Fix streams in vLB/vDNS VNF
- Fixed an issue that prevented vPacketGen to run more than 2 streams
- Improved DNS query load balancing by rehashing port numbers in the streams
Change-Id: Iec962301712df505569dc210770ecf1aaf6e5c5c
Issue-ID: CERT-1
Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'vnfs/vLB/scripts/v_packetgen_install.sh')
-rw-r--r-- | vnfs/vLB/scripts/v_packetgen_install.sh | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/vnfs/vLB/scripts/v_packetgen_install.sh b/vnfs/vLB/scripts/v_packetgen_install.sh index ca2957a7..6dce05ec 100644 --- a/vnfs/vLB/scripts/v_packetgen_install.sh +++ b/vnfs/vLB/scripts/v_packetgen_install.sh @@ -56,7 +56,6 @@ cd /opt wget $REPO_URL_BLOB/org.onap.demo/vnfs/vlb/$INSTALL_SCRIPT_VERSION/v_packetgen_init.sh wget $REPO_URL_BLOB/org.onap.demo/vnfs/vlb/$INSTALL_SCRIPT_VERSION/vpacketgen.sh wget $REPO_URL_BLOB/org.onap.demo/vnfs/vlb/$INSTALL_SCRIPT_VERSION/run_streams_dns.sh -wget $REPO_URL_BLOB/org.onap.demo/vnfs/vlb/$INSTALL_SCRIPT_VERSION/vdnspacketgen_change_streams_ports.sh wget $REPO_URL_ARTIFACTS/org/onap/demo/vnf/vlb/vlb_dns_streams/$DEMO_ARTIFACTS_VERSION/vlb_dns_streams-$DEMO_ARTIFACTS_VERSION-demo.tar.gz tar -zmxvf vlb_dns_streams-$DEMO_ARTIFACTS_VERSION-demo.tar.gz @@ -65,7 +64,6 @@ rm *.tar.gz chmod +x v_packetgen_init.sh chmod +x vpacketgen.sh chmod +x run_streams_dns.sh -chmod +x vdnspacketgen_change_streams_ports.sh # Install VPP export UBUNTU="xenial" @@ -93,7 +91,4 @@ 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 |