From 8df4a643ae0d43a71e6e86c6be148386d99990ff Mon Sep 17 00:00:00 2001 From: platania Date: Tue, 21 Feb 2017 17:31:41 -0500 Subject: update demo scripts with LF paths Change-Id: I6c1983ab567359c157b05842a1ab2b613ee9de76 Signed-off-by: platania --- vnfs/vFW/scripts/v_firewall_init.sh | 3 ++- vnfs/vFW/scripts/v_packetgen_init.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'vnfs/vFW/scripts') diff --git a/vnfs/vFW/scripts/v_firewall_init.sh b/vnfs/vFW/scripts/v_firewall_init.sh index fe16cef5..54928072 100644 --- a/vnfs/vFW/scripts/v_firewall_init.sh +++ b/vnfs/vFW/scripts/v_firewall_init.sh @@ -37,9 +37,10 @@ ifconfig br1 up 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 1 # Start VES client diff --git a/vnfs/vFW/scripts/v_packetgen_init.sh b/vnfs/vFW/scripts/v_packetgen_init.sh index 68469663..3bbe02f2 100644 --- a/vnfs/vFW/scripts/v_packetgen_init.sh +++ b/vnfs/vFW/scripts/v_packetgen_init.sh @@ -50,9 +50,10 @@ vppctl exec /opt/pg_streams/stream_fw_udp10 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 -- cgit 1.2.3-korg