summaryrefslogtreecommitdiffstats
path: root/gvnfmadapter/docker
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2017-09-22 09:27:35 +0800
committerying.yunlong <ying.yunlong@zte.com.cn>2017-09-22 09:27:35 +0800
commit4f52c498126d28f6d660a73f578d05c1d6d343df (patch)
tree58d475e1b674a330e2928ba2857565c5205c9b5a /gvnfmadapter/docker
parent8f0f056871ecf43fa8f10f51f61b47b5ce17eb88 (diff)
Update vfc-gvnfmadapter run.sh and stop.sh
Listen to all native addresses when you start the Django service, so that you can accept rest requests for all local addresses. And remove docker invalid address substitution. Change-Id: Ia34a5b821b66886a4bbbc446cb3040c199299fc2 Issue-ID: VFC-414 Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
Diffstat (limited to 'gvnfmadapter/docker')
-rwxr-xr-xgvnfmadapter/docker/instance_config.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/gvnfmadapter/docker/instance_config.sh b/gvnfmadapter/docker/instance_config.sh
index e025386..e69f6d0 100755
--- a/gvnfmadapter/docker/instance_config.sh
+++ b/gvnfmadapter/docker/instance_config.sh
@@ -13,8 +13,6 @@ fi
if [ $SERVICE_IP ]; then
sed -i "s|\"ip\": \".*\"|\"ip\": \"$SERVICE_IP\"|" vfc/nfvo/driver/vnfm/gvnfm/gvnfmadapter/driver/pub/config/config.py
- sed -i "s|127\.0\.0\.1|$SERVICE_IP|" vfc/nfvo/driver/vnfm/gvnfm/gvnfmadapter/run.sh
- sed -i "s|127\.0\.0\.1|$SERVICE_IP|" vfc/nfvo/driver/vnfm/gvnfm/gvnfmadapter/stop.sh
fi
cat vfc/nfvo/driver/vnfm/gvnfm/gvnfmadapter/driver/pub/config/config.py