summaryrefslogtreecommitdiffstats
path: root/vnfs/vLBMS/scripts/v_lb_install.sh
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2019-07-30 17:40:54 -0400
committerMarco Platania <platania@research.att.com>2019-07-30 17:40:54 -0400
commit9635f49de43693348b4347768d7a66fa56b46ff8 (patch)
tree96fa634c0e28cb028d6d5c48b0519ae382c2bf9e /vnfs/vLBMS/scripts/v_lb_install.sh
parent17b851b0c50b52bea6f8d8b88ed389d4d925a0f2 (diff)
Fix path to honeycomb in vLB/vDNS scripts
Issue-ID: INT-1166 Signed-off-by: Marco Platania <platania@research.att.com> Change-Id: I8d26a78a6936ad32dc75cd8ec12cdf611c2b8180
Diffstat (limited to 'vnfs/vLBMS/scripts/v_lb_install.sh')
-rw-r--r--vnfs/vLBMS/scripts/v_lb_install.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/vnfs/vLBMS/scripts/v_lb_install.sh b/vnfs/vLBMS/scripts/v_lb_install.sh
index 83c1bbb1..1e05f80b 100644
--- a/vnfs/vLBMS/scripts/v_lb_install.sh
+++ b/vnfs/vLBMS/scripts/v_lb_install.sh
@@ -3,7 +3,6 @@
NEXUS_ARTIFACT_REPO=$(cat /opt/config/nexus_artifact_repo.txt)
DEMO_ARTIFACTS_VERSION=$(cat /opt/config/demo_artifacts_version.txt)
if [[ "$DEMO_ARTIFACTS_VERSION" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
-NB_API_VERSION=$(cat /opt/config/nb_api_version.txt)
INSTALL_SCRIPT_VERSION=$(cat /opt/config/install_script_version.txt)
CLOUD_ENV=$(cat /opt/config/cloud_env.txt)
@@ -80,11 +79,11 @@ mv VESreporting_vLB /opt/VES/evel/evel-library/code/VESreporting
# Download Honeycomb artifacts
wget -O vlb-vnf-onap-distribution-$DEMO_ARTIFACTS_VERSION-hc.tar.gz "${NEXUS_ARTIFACT_REPO}/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf&a=vlb-vnf-onap-distribution&c=hc&e=tar.gz&v=$DEMO_ARTIFACTS_VERSION"
-tar -zmxvf sample-distribution-$DEMO_ARTIFACTS_VERSION-hc.tar.gz
-mv sample-distribution-$DEMO_ARTIFACTS_VERSION honeycomb
+tar -zmxvf vlb-vnf-onap-distribution-$DEMO_ARTIFACTS_VERSION-hc.tar.gz
+mv vlb-vnf-onap-distribution-$DEMO_ARTIFACTS_VERSION honeycomb
-sed -i 's/"restconf-binding-address": "127.0.0.1",/"restconf-binding-address": "0.0.0.0",/g' honeycomb/vlb-vnf-onap-distribution-$DEMO_ARTIFACTS_VERSION/config/honeycomb.json
-sed -i 's/"netconf-tcp-binding-address": "127.0.0.1",/"netconf-tcp-binding-address": "0.0.0.0",/g' honeycomb/vlb-vnf-onap-distribution-$DEMO_ARTIFACTS_VERSION/config/honeycomb.json
+sed -i 's/"restconf-binding-address": "127.0.0.1",/"restconf-binding-address": "0.0.0.0",/g' honeycomb/config/honeycomb.json
+sed -i 's/"netconf-tcp-binding-address": "127.0.0.1",/"netconf-tcp-binding-address": "0.0.0.0",/g' honeycomb/config/honeycomb.json
rm *.tar.gz