Code Review
/
ric-plt
/
submgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
RICPLT-2571 Make code change for MEID support
[ric-plt/submgr.git]
/
pkg
/
control
/
types.go
diff --git
a/pkg/control/types.go
b/pkg/control/types.go
index
3a9587f
..
64fd15f
100644
(file)
--- a/
pkg/control/types.go
+++ b/
pkg/control/types.go
@@
-20,7
+20,7
@@
package control
import (
package control
import (
- "
gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/pkg/xapp
"
+ "
strconv
"
)
type RmrDatagram struct {
)
type RmrDatagram struct {
@@
-36,15
+36,13
@@
type SubRouteInfo struct {
SubID uint16
}
SubID uint16
}
-type Action int
-
-type TransactionKey struct {
- SubID uint16
- transType Action
+type RmrEndpoint struct {
+ Addr string // xapp addr
+ Port uint16 // xapp port
}
}
-type Transaction struct {
- XappInstanceAddress string
- XappPort uint16
- OrigParams *xapp.RMRParams
+func (endpoint RmrEndpoint) String() string {
+ return endpoint.Addr + ":" + strconv.FormatUint(uint64(endpoint.Port), 10)
}
}
+
+type Action int