summaryrefslogtreecommitdiffstats
path: root/zte/sfc-driver/plugin-standalone/src/main
diff options
context:
space:
mode:
authorLiZi <li.zi30@zte.com.cn>2018-04-18 03:24:02 -0400
committerLiZi <li.zi30@zte.com.cn>2018-04-18 03:29:09 -0400
commitb4407b084b5f3da5a991c4e4374ab327156057ba (patch)
treea11388b3ce3a41e7e256942831566a009e6e77bf /zte/sfc-driver/plugin-standalone/src/main
parente67348a174fd226c3400522a48e65a0f287eb661 (diff)
Replace the orginal node ip with SERVICE_IPv1.1.02.0.0-ONAPbeijing2.0.0-ONAP
Change-Id: I72eead5325882b63960cdb877477f2ca3d0a6f63 Issue-ID: VFC-884 Signed-off-by: LiZi <li.zi30@zte.com.cn>
Diffstat (limited to 'zte/sfc-driver/plugin-standalone/src/main')
-rw-r--r--zte/sfc-driver/plugin-standalone/src/main/assembly/conf/console.yml1
-rwxr-xr-xzte/sfc-driver/plugin-standalone/src/main/assembly/docker/instance_config.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/zte/sfc-driver/plugin-standalone/src/main/assembly/conf/console.yml b/zte/sfc-driver/plugin-standalone/src/main/assembly/conf/console.yml
index c6851cd..ef194ff 100644
--- a/zte/sfc-driver/plugin-standalone/src/main/assembly/conf/console.yml
+++ b/zte/sfc-driver/plugin-standalone/src/main/assembly/conf/console.yml
@@ -26,6 +26,7 @@ msbServiceUrl: http://127.0.0.1:80
# connector:
# type: http
# port: 8080
+serviceIp: 127.0.0.1
server:
type: simple
diff --git a/zte/sfc-driver/plugin-standalone/src/main/assembly/docker/instance_config.sh b/zte/sfc-driver/plugin-standalone/src/main/assembly/docker/instance_config.sh
index 3788f75..ac8e033 100755
--- a/zte/sfc-driver/plugin-standalone/src/main/assembly/docker/instance_config.sh
+++ b/zte/sfc-driver/plugin-standalone/src/main/assembly/docker/instance_config.sh
@@ -2,4 +2,5 @@
# Update MSB config
sed -i "s|msbServiceUrl:.*|msbServiceUrl: http://$MSB_ADDR|" conf/console.yml
+sed -i "s|serviceIp:.*|serviceIp: $SERVICE_IP|" conf/console.yml
cat conf/console.yml