summaryrefslogtreecommitdiffstats
path: root/lcm/docker/instance_config.sh
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2020-02-14 09:48:53 +0800
committerYan Yang <yangyanyj@chinamobile.com>2020-02-14 02:32:35 +0000
commit332d5d1e96b43d7dcf107a33e0f6d74ec08f1c3f (patch)
tree82ff102a69c93487f42ccf30d9c475383567ed2f /lcm/docker/instance_config.sh
parent57cb6fce97f5f21699521523aa1a1718209d8380 (diff)
Modify the request by msb with https
Change-Id: I6d2e40fa5e0a8d04dcc7533c8a0e76c99ce015cb Issue-ID: VFC-1602 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'lcm/docker/instance_config.sh')
-rwxr-xr-xlcm/docker/instance_config.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/lcm/docker/instance_config.sh b/lcm/docker/instance_config.sh
index 9257c9ff..6e468843 100755
--- a/lcm/docker/instance_config.sh
+++ b/lcm/docker/instance_config.sh
@@ -1,5 +1,6 @@
#!/bin/bash
+MSB_PROTO=`echo $MSB_PROTO`
MSB_IP=`echo $MSB_ADDR | cut -d: -f 1`
MSB_PORT=`echo $MSB_ADDR | cut -d: -f 2`
@@ -7,6 +8,11 @@ if [ $MSB_IP ]; then
sed -i "s|MSB_SERVICE_IP = .*|MSB_SERVICE_IP = '$MSB_IP'|" vfc/gvnfm/vnflcm/lcm/lcm/pub/config/config.py
fi
+if [ $MSB_PROTO ]; then
+ sed -i "s|MSB_SERVICE_PROTOCOL = .*|MSB_SERVICE_PROTOCOL = '$MSB_PROTO'|" vfc/gvnfm/vnflcm/lcm/lcm/pub/config/config.py
+fi
+
+
if [ $MSB_PORT ]; then
sed -i "s|MSB_SERVICE_PORT = .*|MSB_SERVICE_PORT = '$MSB_PORT'|" vfc/gvnfm/vnflcm/lcm/lcm/pub/config/config.py
fi