aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/setup.sh
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2017-09-13 11:01:41 +0800
committerying.yunlong <ying.yunlong@zte.com.cn>2017-09-13 11:01:41 +0800
commitf36958a959064cb3f1c8ab47fd28ce9bf2727ca6 (patch)
tree673790aa464abf20e2c75ffcef8f6db9d04a7100 /test/csit/plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/setup.sh
parent0f689f519dfb8c9b074aca3b34511826ff2d70c5 (diff)
Add vfc-driver-gvnfm jujudriver csit
Change-Id: Ic1a899f4669bf160c3f03316e931633ab31b0193 Issue-ID: VFC-349 Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
Diffstat (limited to 'test/csit/plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/setup.sh')
-rw-r--r--test/csit/plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/setup.sh13
1 files changed, 12 insertions, 1 deletions
diff --git a/test/csit/plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/setup.sh b/test/csit/plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/setup.sh
index a4e2cf3e6..2a364a407 100644
--- a/test/csit/plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/setup.sh
+++ b/test/csit/plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/setup.sh
@@ -52,5 +52,16 @@ for i in {1..10}; do
sleep $i
done
+# start vfc-jujudriver
+docker run -d --name vfc-jujudriver -e MSB_ADDR=${MSB_DISCOVERY_IP}:10081 nexus3.onap.org:10001/onap/vfc/jujudriver
+JUJUDRIVER_IP=`get-instance-ip.sh vfc-jujudriver`
+
+# Wait for initialization
+for i in {1..10}; do
+ curl -sS ${JUJUDRIVER_IP}:8483 && 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 GVNFMDRIVER_IP:${GVNFMDRIVER_IP}"
+ROBOT_VARIABLES="-v MSB_IAG_IP:${MSB_IAG_IP} -v MSB_DISCOVERY_IP:${MSB_DISCOVERY_IP} -v GVNFMDRIVER_IP:${GVNFMDRIVER_IP} -v JUJUDRIVER_IP:${JUJUDRIVER_IP}"