summaryrefslogtreecommitdiffstats
path: root/lcm
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2017-09-20 13:14:23 +0800
committerying.yunlong <ying.yunlong@zte.com.cn>2017-09-20 13:14:23 +0800
commit8e8a08c91d7136457beeafe04c1bde4c4ae26332 (patch)
treecf64a284ca3785251f486afc1f0295c896397401 /lcm
parent36d0fea1ac380a74327d083262d2cb52787fe77b (diff)
Update vfc-gvnfm-vnflcm 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 Change-Id: Id9decbdbf509403a2ca9446eb2552b6930b57f82 Issue-ID: VFC-392 Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
Diffstat (limited to 'lcm')
-rwxr-xr-xlcm/run.sh2
-rwxr-xr-xlcm/stop.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/lcm/run.sh b/lcm/run.sh
index dbe11e95..bf79f58c 100755
--- a/lcm/run.sh
+++ b/lcm/run.sh
@@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-nohup python manage.py runserver 127.0.0.1:8801 > /dev/null &
+nohup python manage.py runserver 0.0.0.0:8801 > /dev/null &
diff --git a/lcm/stop.sh b/lcm/stop.sh
index db87c64d..8ddb1081 100755
--- a/lcm/stop.sh
+++ b/lcm/stop.sh
@@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-ps auxww | grep 'manage.py runserver 127.0.0.1:8801' | awk '{print $2}' | xargs kill -9
+ps auxww | grep 'manage.py runserver 0.0.0.0:8801' | awk '{print $2}' | xargs kill -9