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
Add new packages to the container
[ric-plt/rtmgr.git]
/
pkg
/
rpe
/
types.go
diff --git
a/pkg/rpe/types.go
b/pkg/rpe/types.go
index
426cc7c
..
491d152
100644
(file)
--- a/
pkg/rpe/types.go
+++ b/
pkg/rpe/types.go
@@
-18,7
+18,7
@@
*/
/*
Mnemonic: rpe/types.go
*/
/*
Mnemonic: rpe/types.go
- Abstract: Contain
e
s RPE (Route Policy Engine) specific types
+ Abstract: Contains RPE (Route Policy Engine) specific types
Date: 12 March 2019
*/
Date: 12 March 2019
*/
@@
-26,18
+26,18
@@
package rpe
import "routing-manager/pkg/rtmgr"
import "routing-manager/pkg/rtmgr"
-type generatePolicies func(rtmgr.Endpoints) *[]string
-
type get
RouteTable func(rtmgr.Endpoints) *rtmgr.RouteTable
+
//
type generatePolicies func(rtmgr.Endpoints) *[]string
+
//type generate
RouteTable 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
GeneratePolicies(rtmgr.Endpoints) *[]string
- Ge
t
RouteTable(rtmgr.Endpoints) *rtmgr.RouteTable
+ Ge
nerate
RouteTable(rtmgr.Endpoints) *rtmgr.RouteTable
}
}