summaryrefslogtreecommitdiffstats
path: root/vnfs/vLB/scripts
diff options
context:
space:
mode:
authorplatania <platania@research.att.com>2017-02-21 17:31:41 -0500
committerplatania <platania@research.att.com>2017-02-21 17:31:41 -0500
commit8df4a643ae0d43a71e6e86c6be148386d99990ff (patch)
tree1eea401246f291a72faf62dfc8eacb4d54639c17 /vnfs/vLB/scripts
parenta66974397f4ad65b55f2e18484ab03ce3252b4e3 (diff)
update demo scripts with LF paths
Change-Id: I6c1983ab567359c157b05842a1ab2b613ee9de76 Signed-off-by: platania <platania@research.att.com>
Diffstat (limited to 'vnfs/vLB/scripts')
-rw-r--r--vnfs/vLB/scripts/dnsclient.sh3
-rw-r--r--vnfs/vLB/scripts/dnsmembership.sh3
-rw-r--r--vnfs/vLB/scripts/v_packetgen_for_dns_demo_init.sh3
3 files changed, 6 insertions, 3 deletions
diff --git a/vnfs/vLB/scripts/dnsclient.sh b/vnfs/vLB/scripts/dnsclient.sh
index 1de11ed8..11f575f6 100644
--- a/vnfs/vLB/scripts/dnsclient.sh
+++ b/vnfs/vLB/scripts/dnsclient.sh
@@ -2,5 +2,6 @@
LB_OAM_INT=$(cat /opt/config/lb_oam_int.txt)
PID=$(cat /opt/config/local_private_ipaddr.txt)
+VERSION=$(cat /opt/config/artifacts_version.txt)
-java -jar dns-client-1.0.0.jar $PID $LB_OAM_INT 8888 10 0
+java -jar dns-client-$VERSION.jar $PID $LB_OAM_INT 8888 10 0
diff --git a/vnfs/vLB/scripts/dnsmembership.sh b/vnfs/vLB/scripts/dnsmembership.sh
index 073216b3..9c8ccede 100644
--- a/vnfs/vLB/scripts/dnsmembership.sh
+++ b/vnfs/vLB/scripts/dnsmembership.sh
@@ -1,5 +1,6 @@
#!/bin/bash
MY_PUBLIC_IP=$(cat /opt/config/local_public_ipaddr.txt)
+VERSION=$(cat /opt/config/artifacts_version.txt)
-java -jar dns-manager-1.0.0.jar $MY_PUBLIC_IP 8888 10 3 0
+java -jar dns-manager-$VERSION.jar $MY_PUBLIC_IP 8888 10 3 0
diff --git a/vnfs/vLB/scripts/v_packetgen_for_dns_demo_init.sh b/vnfs/vLB/scripts/v_packetgen_for_dns_demo_init.sh
index ba7f56ca..094f3222 100644
--- a/vnfs/vLB/scripts/v_packetgen_for_dns_demo_init.sh
+++ b/vnfs/vLB/scripts/v_packetgen_for_dns_demo_init.sh
@@ -85,9 +85,10 @@ vppctl exec /opt/dns_streams/stream_dns10
sleep 1
# Start HoneyComb
+VERSION=$(cat /opt/config/artifacts_version.txt)
echo "" > /var/lib/honeycomb/persist/context/data.json
echo "" > /var/lib/honeycomb/persist/config/data.json
-/opt/honeycomb/sample-distribution-1.0.0/honeycomb &>/dev/null &disown
+/opt/honeycomb/sample-distribution-$VERSION/honeycomb &>/dev/null &disown
sleep 20
# Enable traffic flows