aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/plans/vfc-nfvo-driver-vnfm-svnfm/sanity-check/setup.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-09-12 13:54:38 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-12 13:54:38 +0000
commit0b08c9e236dfad21f3550e534608e0c640b728ba (patch)
tree1944acf7be42cac04ee182deefaccad27c5c12ad /test/csit/plans/vfc-nfvo-driver-vnfm-svnfm/sanity-check/setup.sh
parentcb5b572f48b50d2f4cf6f08f93ca7a84cdabaddc (diff)
parent168d9efc53fcb56195d2dd7cdc50e94b087ef8bb (diff)
Merge "Modify svnfm CSIT"
Diffstat (limited to 'test/csit/plans/vfc-nfvo-driver-vnfm-svnfm/sanity-check/setup.sh')
-rw-r--r--test/csit/plans/vfc-nfvo-driver-vnfm-svnfm/sanity-check/setup.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/test/csit/plans/vfc-nfvo-driver-vnfm-svnfm/sanity-check/setup.sh b/test/csit/plans/vfc-nfvo-driver-vnfm-svnfm/sanity-check/setup.sh
index de4fbd266..3f79bb024 100644
--- a/test/csit/plans/vfc-nfvo-driver-vnfm-svnfm/sanity-check/setup.sh
+++ b/test/csit/plans/vfc-nfvo-driver-vnfm-svnfm/sanity-check/setup.sh
@@ -70,5 +70,14 @@ echo "================================================"
docker cp vfc-ztevmanagerdriver:/service/vfc/nfvo/driver/vnfm/svnfm/zte/vmanager/docker/instance_run.sh ./
cat instance_run.sh
+# Start svnfm-huawei
+docker run -d --name vfc-svnfm-huawei -e MSB_ADDR=${MSB_IAG_IP}:80 nexus3.onap.org:10001/onap/vfc/nfvo/svnfm/huawei
+SERVICE_IP=`get-instance-ip.sh vfc-svnfm-huawei`
+for i in {1..10}; do
+ curl -sS ${SERVICE_IP}:8482 && break
+ echo sleep $i
+ sleep $i
+done
+
# Pass any variables required by Robot test suites in ROBOT_VARIABLES
-ROBOT_VARIABLES="-v MSB_IAG_IP:${MSB_IAG_IP} -v MSB_DISCOVERY_IP:${MSB_DISCOVERY_IP} -v ZTEVMANAGERDRIVER_IP:${ZTEVMANAGERDRIVER_IP}"
+ROBOT_VARIABLES="-v MSB_IAG_IP:${MSB_IAG_IP} -v MSB_DISCOVERY_IP:${MSB_DISCOVERY_IP} -v ZTEVMANAGERDRIVER_IP:${ZTEVMANAGERDRIVER_IP} -v MSB_IP:${MSB_IAG_IP} -v SERVICE_IP:${SERVICE_IP}"