From: aa7133@att.com Date: Thu, 2 Apr 2020 10:02:48 +0000 (+0300) Subject: version 4.0.7 X-Git-Tag: 5.4.8~57 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=4391e59d9d30118894d0df2d4b78f931456a460f;p=ric-plt%2Fe2.git version 4.0.7 update startup.sh Change-Id: Ibc3661e4268d7088312b9db653d976a747eb7b5e Signed-off-by: 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 @@ 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 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 @@ 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