aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/vFW/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'vnfs/vFW/scripts')
-rw-r--r--vnfs/vFW/scripts/v_firewall_init.sh3
-rw-r--r--vnfs/vFW/scripts/v_packetgen_init.sh3
2 files changed, 4 insertions, 2 deletions
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