summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlizi <li.zi30@zte.com.cn>2017-10-09 21:08:46 +0800
committerlizi <li.zi30@zte.com.cn>2017-10-09 21:08:46 +0800
commitbde3fad4b4a1c25066a524e115d9b3a610a599a3 (patch)
tree453075a4a058a941145346f2a2f235d63fdcb5b7
parent38ba5ef51dce55a9e313577b7a7273ebf57bad3d (diff)
Change the esr-server docker setup script.
Change-Id: If891f51c89df9f537808a4194a0f92c978191952 Issue-ID: AAI-422 Signed-off-by: lizi <li.zi30@zte.com.cn>
-rw-r--r--test/csit/plans/aai/esr-server/setup.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/csit/plans/aai/esr-server/setup.sh b/test/csit/plans/aai/esr-server/setup.sh
index 16e780117..a2cfa5e8d 100644
--- a/test/csit/plans/aai/esr-server/setup.sh
+++ b/test/csit/plans/aai/esr-server/setup.sh
@@ -32,7 +32,9 @@ MSB_IP=`get-instance-ip.sh msb_internal_apigateway`
echo MSB_IP=${MSB_IP}
# Start esr-server
-docker run -d --name esr-server --env msbDiscoveryIp=${DISCOVERY_IP} --env msbDiscoveryPort=10081 nexus3.onap.org:10001/onap/aai/esr-server
+#docker run -d --name esr-server --env msbDiscoveryIp=${DISCOVERY_IP} --env msbDiscoveryPort=10081 nexus3.onap.org:10001/onap/aai/esr-server
+#sudo docker run -e MSB_ADDR=${MSB_IP}:80 nexus3.onap.org:10001/onap/aai/esr-server -p 9518:9518 -d --net=host --name esr-server
+docker run -d --name esr-server -e MSB_ADDR=${MSB_IP}:80 nexus3.onap.org:10001/onap/aai/esr-server
#source ${SCRIPTS}/aai/esr-server/startup.sh i-esrserver ${MSB_IP} 80
ESRSERVER_IP=`get-instance-ip.sh esr-server`
echo ESRSERVER_IP=${ESRSERVER_IP}