aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2017-11-06 14:42:41 +0800
committeryangyan <yangyanyj@chinamobile.com>2017-11-06 14:42:51 +0800
commit5ca28743cc8f735b29e3a2f7c860df88f311951b (patch)
tree93a05ed8ab23736356a430f31ed5484765375576 /test
parentf0285a52fb3a13fdb82905428be805c3c0e160a0 (diff)
Update svnfm driver setup script
Add port mapping in setup.sh Issue-ID: VFC-559 Change-Id: Ie687f79d58ae9f3ae3a0e5eb8e0c7cb17cf13ec1 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'test')
-rw-r--r--test/csit/plans/vfc-nfvo-driver-vnfm-svnfm/sanity-check/setup.sh4
1 files changed, 2 insertions, 2 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 f2eadb010..fca54fae6 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
@@ -43,7 +43,7 @@ echo sleep 60
sleep 60
# start vfc-ztevmanagerdriver
-docker run -d --name vfc-ztevmanagerdriver -e MSB_ADDR=${MSB_IAG_IP}:80 nexus3.onap.org:10001/onap/vfc/ztevmanagerdriver
+docker run -d --name vfc-ztevmanagerdriver -p 8410:8410 -e MSB_ADDR=${MSB_IAG_IP}:80 nexus3.onap.org:10001/onap/vfc/ztevmanagerdriver
ZTEVMANAGERDRIVER_IP=`get-instance-ip.sh vfc-ztevmanagerdriver`
# Wait for initialization
@@ -55,7 +55,7 @@ done
# 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
+docker run -d --name vfc-svnfm-huawei -p 8482:8482 -p 8443:8443 -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..20}; do
curl -sS ${SERVICE_IP}:8482 && break