version 4.0.7 14/3114/1
authoraa7133@att.com <aa7133@att.com>
Thu, 2 Apr 2020 10:02:48 +0000 (13:02 +0300)
committeraa7133@att.com <aa7133@att.com>
Thu, 2 Apr 2020 10:02:54 +0000 (13:02 +0300)
update startup.sh

Change-Id: Ibc3661e4268d7088312b9db653d976a747eb7b5e
Signed-off-by: aa7133@att.com <aa7133@att.com>
RIC-E2-TERMINATION/config/config.conf
RIC-E2-TERMINATION/startup.sh

index 5b0f860..43a124a 100644 (file)
@@ -2,6 +2,7 @@ nano=38000
 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
index 4db8b37..62aaa78 100644 (file)
@@ -7,6 +7,7 @@ fullServiceName=${serviceName}_SERVICE_HOST
 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