Code Review
/
ric-plt
/
rtmgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Check DNS lookup for E2T address, RED Button and KEEP alive message routes added...
[ric-plt/rtmgr.git]
/
pkg
/
rpe
/
rpe.go
diff --git
a/pkg/rpe/rpe.go
b/pkg/rpe/rpe.go
index
64b93fe
..
8ee9b52
100644
(file)
--- a/
pkg/rpe/rpe.go
+++ b/
pkg/rpe/rpe.go
@@
-234,12
+234,14
@@
func (r *Rpe) generatePlatformRoutes(e2TermEp []rtmgr.Endpoint, subManEp *rtmgr.
case "A1MEDIATOR":
Ep = a1mediatorEp
}
case "A1MEDIATOR":
Ep = a1mediatorEp
}
- if routes.EndPoint == "E2TERMINST" && len(e2TermEp) > 0 {
- r.addRoute_rx_list(routes.MessageType, sendEp, e2TermEp, routeTable, routes.SubscriptionId, routes.Meid)
- continue
- }
+
r.addRoute(routes.MessageType, sendEp, Ep, routeTable, routes.SubscriptionId, routes.Meid)
}
r.addRoute(routes.MessageType, sendEp, Ep, routeTable, routes.SubscriptionId, routes.Meid)
}
+
+ if len(e2TermEp) > 0 {
+ r.addRoute_rx_list("RIC_SCTP_CLEAR_ALL", e2ManEp, e2TermEp, routeTable, -1, "")
+ r.addRoute_rx_list("E2_TERM_KEEP_ALIVE_REQ", e2ManEp, e2TermEp, routeTable, -1, "")
+ }
}
func (r *Rpe) generateRouteTable(endPointList rtmgr.Endpoints) *rtmgr.RouteTable {
}
func (r *Rpe) generateRouteTable(endPointList rtmgr.Endpoints) *rtmgr.RouteTable {