Add route for e2nodeConfigUpdate 45/8345/2
authorsubhash kumar singh <subh.singh@samsung.com>
Wed, 18 May 2022 19:44:00 +0000 (19:44 +0000)
committersubhash kumar singh <subh.singh@samsung.com>
Wed, 18 May 2022 20:01:37 +0000 (20:01 +0000)
Added route entry to e2t to handle e2nodeConfigUpdate ack and failure.

Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
Change-Id: I13a527683968483b76083242dc112bdc3ed93f47

Dockerfile
pkg/rpe/rpe.go

index 6963a30..0b00518 100644 (file)
@@ -25,6 +25,7 @@
 #FROM golang:1.12.1 as rtmgrbuild
 FROM nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu20-c-go:1.0.0 as rtmgrbuild
 
+RUN apt update && apt install ca-certificates libgnutls30 -y
 # Install RMr shared library
 ARG RMRVERSION=4.8.0
 RUN wget --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_${RMRVERSION}_amd64.deb/download.deb && dpkg -i rmr_${RMRVERSION}_amd64.deb && rm -rf rmr_${RMRVERSION}_amd64.deb
index 0ca7ca4..b763316 100644 (file)
@@ -324,6 +324,8 @@ func (r *Rpe) generatePlatformRoutes(e2TermEp []rtmgr.Endpoint, subManEp *rtmgr.
                r.addRoute_rx_list("RIC_E2_SETUP_FAILURE", e2ManEp, e2TermEp, routeTable, -1, "")
                r.addRoute_rx_list("RIC_SERVICE_UPDATE_ACK", e2ManEp, e2TermEp, routeTable, -1, "")
                r.addRoute_rx_list("RIC_SERVICE_UPDATE_FAILURE", e2ManEp, e2TermEp, routeTable, -1, "")
+               r.addRoute_rx_list("RIC_E2NODE_CONFIG_UPDATE_ACK", e2ManEp, e2TermEp, routeTable, -1, "")
+               r.addRoute_rx_list("RIC_E2NODE_CONFIG_UPDATE_FAILURE", e2ManEp, e2TermEp, routeTable, -1, "")
        }
 }