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
Fix ENDC_X2_SETUP related routes
[ric-plt/rtmgr.git]
/
pkg
/
rpe
/
types.go
diff --git
a/pkg/rpe/types.go
b/pkg/rpe/types.go
index
f55b08e
..
491d152
100644
(file)
--- a/
pkg/rpe/types.go
+++ b/
pkg/rpe/types.go
@@
-26,18
+26,18
@@
package rpe
import "routing-manager/pkg/rtmgr"
import "routing-manager/pkg/rtmgr"
-type generatePolicies func(rtmgr.Endpoints) *[]string
-type generateRouteTable func(rtmgr.Endpoints) *rtmgr.RouteTable
+
//
type generatePolicies func(rtmgr.Endpoints) *[]string
+
//
type generateRouteTable func(rtmgr.Endpoints) *rtmgr.RouteTable
-type
Rpe
EngineConfig struct {
+type EngineConfig struct {
Name string
Version string
Protocol string
Name string
Version string
Protocol string
- Instance
Rpe
Engine
+ Instance Engine
IsAvailable bool
}
IsAvailable bool
}
-type
Rpe
Engine interface {
+type Engine interface {
GeneratePolicies(rtmgr.Endpoints) *[]string
GenerateRouteTable(rtmgr.Endpoints) *rtmgr.RouteTable
}
GeneratePolicies(rtmgr.Endpoints) *[]string
GenerateRouteTable(rtmgr.Endpoints) *rtmgr.RouteTable
}