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
Metrics related code refactoring
[ric-plt/submgr.git]
/
pkg
/
control
/
types.go
diff --git
a/pkg/control/types.go
b/pkg/control/types.go
index
83312d8
..
c8c09dc
100644
(file)
--- a/
pkg/control/types.go
+++ b/
pkg/control/types.go
@@
-19,17
+19,25
@@
package control
package control
-type RmrDatagram struct {
- MessageType int
- SubscriptionId uint16
- Payload []byte
+import (
+ "gerrit.o-ran-sc.org/r/ric-plt/e2ap/pkg/e2ap"
+)
+
+//-----------------------------------------------------------------------------
+//
+//-----------------------------------------------------------------------------
+type RequestId struct {
+ e2ap.RequestId
}
}
-type SubRouteInfo struct {
- Command Action
- Address string
- Port uint16
- SubID uint16
+func (rid *RequestId) String() string {
+ return "reqid(" + rid.RequestId.String() + ")"
}
}
-type Action int
+type Sdlnterface interface {
+ Set(pairs ...interface{}) error
+ Get(keys []string) (map[string]interface{}, error)
+ GetAll() ([]string, error)
+ Remove(keys []string) error
+ RemoveAll() error
+}