Update vfc-gvnfm-vnflcm run.sh and stop.sh 73/13673/1
authorying.yunlong <ying.yunlong@zte.com.cn>
Wed, 20 Sep 2017 05:14:23 +0000 (13:14 +0800)
committerying.yunlong <ying.yunlong@zte.com.cn>
Wed, 20 Sep 2017 05:14:23 +0000 (13:14 +0800)
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>
lcm/run.sh
lcm/stop.sh

index dbe11e9..bf79f58 100755 (executable)
@@ -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 &
index db87c64..8ddb108 100755 (executable)
@@ -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