diff options
author | 2019-04-16 07:37:56 +0000 | |
---|---|---|
committer | 2019-04-16 07:37:56 +0000 | |
commit | 9ae1de7843a533cc1cc7252379ab6dea14c3eda5 (patch) | |
tree | 606aecdf29269dd6ffbc740061f2d16e34b0f197 /plans/vfc-gvnfm-vnfmgr/sanity-check/setup.sh | |
parent | 8377a6b1e5a775dfe6686aaae1da70d54568b0a0 (diff) | |
parent | 07c46380c0d57b66362993d5a74652e7c8c643ac (diff) |
Merge "Update cist sh for vnfmgr"
Diffstat (limited to 'plans/vfc-gvnfm-vnfmgr/sanity-check/setup.sh')
-rwxr-xr-x | plans/vfc-gvnfm-vnfmgr/sanity-check/setup.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/plans/vfc-gvnfm-vnfmgr/sanity-check/setup.sh b/plans/vfc-gvnfm-vnfmgr/sanity-check/setup.sh index 0c4efcc1..28be1842 100755 --- a/plans/vfc-gvnfm-vnfmgr/sanity-check/setup.sh +++ b/plans/vfc-gvnfm-vnfmgr/sanity-check/setup.sh @@ -52,6 +52,18 @@ done # wait for container initalization echo sleep 60 sleep 60 + +# start vfc-vnflcm +docker run -d --name vfc-vnflcm -e MSB_ADDR=${MSB_IAG_IP}:80 -e MYSQL_ADDR=${VFC_DB_IP}:3306 nexus3.onap.org:10001/onap/vfc/vnflcm +VNFLCM_IP=`get-instance-ip.sh vfc-vnflcm` + +# Wait for initialization +for i in {1..10}; do + curl -sS -m 1 ${VNFLCM_IP}:8801 && break + echo sleep $i + sleep $i +done + # start vfc-vnfres docker run -d --name vfc-vnfmgr -e MSB_ADDR=${MSB_IAG_IP}:80 -e MYSQL_ADDR=${VFC_DB_IP}:3306 nexus3.onap.org:10001/onap/vfc/vnfmgr VNFMGR_IP=`get-instance-ip.sh vfc-vnfmgr` |