diff options
author | platania <platania@research.att.com> | 2017-02-21 17:31:41 -0500 |
---|---|---|
committer | platania <platania@research.att.com> | 2017-02-21 17:31:41 -0500 |
commit | 8df4a643ae0d43a71e6e86c6be148386d99990ff (patch) | |
tree | 1eea401246f291a72faf62dfc8eacb4d54639c17 /vnfs/vFW/scripts | |
parent | a66974397f4ad65b55f2e18484ab03ce3252b4e3 (diff) |
update demo scripts with LF paths
Change-Id: I6c1983ab567359c157b05842a1ab2b613ee9de76
Signed-off-by: platania <platania@research.att.com>
Diffstat (limited to 'vnfs/vFW/scripts')
-rw-r--r-- | vnfs/vFW/scripts/v_firewall_init.sh | 3 | ||||
-rw-r--r-- | vnfs/vFW/scripts/v_packetgen_init.sh | 3 |
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 |