From 07c46380c0d57b66362993d5a74652e7c8c643ac Mon Sep 17 00:00:00 2001 From: fujinhua Date: Tue, 16 Apr 2019 15:24:13 +0800 Subject: Update cist sh for vnfmgr Change-Id: I62f3408fd4584bf3e416705aff46cd59878c5e36 Issue-ID: INT-1015 Signed-off-by: fujinhua --- plans/vfc-gvnfm-vnfmgr/sanity-check/setup.sh | 12 ++++++++++++ plans/vfc-gvnfm-vnfmgr/sanity-check/teardown.sh | 1 + 2 files changed, 13 insertions(+) (limited to 'plans') 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` diff --git a/plans/vfc-gvnfm-vnfmgr/sanity-check/teardown.sh b/plans/vfc-gvnfm-vnfmgr/sanity-check/teardown.sh index 09db55b5..8ca66766 100755 --- a/plans/vfc-gvnfm-vnfmgr/sanity-check/teardown.sh +++ b/plans/vfc-gvnfm-vnfmgr/sanity-check/teardown.sh @@ -20,4 +20,5 @@ kill-instance.sh msb_internal_apigateway kill-instance.sh msb_discovery kill-instance.sh msb_consul kill-instance.sh vfc-db +kill-instance.sh vfc-vnflcm kill-instance.sh vfc-vnfres -- cgit 1.2.3-korg