version 4.0.7
update startup.sh
Change-Id: Ibc3661e4268d7088312b9db653d976a747eb7b5e
Signed-off-by: aa7133@att.com <aa7133@att.com>
diff --git a/RIC-E2-TERMINATION/config/config.conf b/RIC-E2-TERMINATION/config/config.conf
index 5b0f860..43a124a 100644
--- a/RIC-E2-TERMINATION/config/config.conf
+++ b/RIC-E2-TERMINATION/config/config.conf
@@ -2,6 +2,7 @@
loglevel=debug
volume=log
#the key name of the environment holds the local ip address
+#ip address of the E2T in the RMR
local-ip=127.0.0.1
#trace is start, stop
trace=start
diff --git a/RIC-E2-TERMINATION/startup.sh b/RIC-E2-TERMINATION/startup.sh
index 4db8b37..62aaa78 100644
--- a/RIC-E2-TERMINATION/startup.sh
+++ b/RIC-E2-TERMINATION/startup.sh
@@ -7,6 +7,7 @@
echo "environments service name is $fullServiceName"
serviceIp=$(env | grep $fullServiceName | awk '{split($0,ip,"="); print ip[2]}')
echo "service ip is $serviceIp"
-sed -i "s/external-fqdn=e2t.com/external-fqdn=$serviceIp/g" "/opt/e2/config/config.conf"
+sed -i "s/local-ip=127.0.0.1/local-ip=$serviceIp/g" "/opt/e2/config/config.conf"
+sed -i "s/external-fqdn=e2t.com/lexternal-fqdn=$serviceIp/g" "/opt/e2/config/config.conf"
cat "/opt/e2/config/config.conf"
./e2 -p config -f config.conf