diff options
author | Ankitkumar Patel <ankit@research.att.com> | 2018-05-19 12:52:37 -0400 |
---|---|---|
committer | Ankitkumar Patel <ankit@research.att.com> | 2018-05-19 12:54:24 -0400 |
commit | 3b5d37e7412b3a9a1c0d0a9bfc79d7dcab5d3bef (patch) | |
tree | 4dfc35417b7e650338a84448fb1c643f7c204b42 | |
parent | 641b19e5fddf06de6b047590586478404e414899 (diff) |
Fixed the url of HAS
Parameterised the HAS host API
Issue-ID: INT-144
Change-Id: I27404a4b771d655c2fd543dc03c4287a3b63025a
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
-rw-r--r-- | boot/oof_vm_init.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/boot/oof_vm_init.sh b/boot/oof_vm_init.sh index 7b0cc4c9..492f3dcb 100644 --- a/boot/oof_vm_init.sh +++ b/boot/oof_vm_init.sh @@ -43,6 +43,7 @@ docker pull $NEXUS_DOCKER_REPO/onap/optf-has:$DOCKER_IMAGE_VERSION OSDF_IMAGE_NAME="$NEXUS_DOCKER_REPO/onap/optf-osdf" OSDF_CONFIG=/opt/optf-osdf/config/osdf_config.yaml +HAS_HOST=$(docker inspect --format '{{ .NetworkSettings.Networks.bridge.IPAddress}}' api) mkdir -p /opt/optf-osdf/config @@ -53,7 +54,7 @@ soUsername: "" # SO username for call back. soPassword: "" # SO password for call back. # Credentials for Conductor -conductorUrl: https://localhost:8091/v1/plans/ +conductorUrl: https://$HAS_HOST:8091/v1/plans/ conductorUsername: admin1 conductorPassword: plan.15 conductorPingWaitTime: 60 # seconds to wait before calling the conductor retry URL @@ -228,4 +229,4 @@ curl -X POST \ } ' -echo "Healthcheck plan inserted"
\ No newline at end of file +echo "Healthcheck plan inserted" |