X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Frpe%2Ftypes.go;h=491d15234be55d0722e894314ef2d3ccb6438a7e;hb=refs%2Fchanges%2F55%2F1055%2F1;hp=f55b08eac75157aa24c675bfecffa05c743cfc59;hpb=eb2ff0d217caf158dd15424bf70f8aa79c3742b1;p=ric-plt%2Frtmgr.git diff --git a/pkg/rpe/types.go b/pkg/rpe/types.go index f55b08e..491d152 100644 --- a/pkg/rpe/types.go +++ b/pkg/rpe/types.go @@ -26,18 +26,18 @@ package rpe 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 RpeEngineConfig struct { +type EngineConfig struct { Name string Version string Protocol string - Instance RpeEngine + Instance Engine IsAvailable bool } -type RpeEngine interface { +type Engine interface { GeneratePolicies(rtmgr.Endpoints) *[]string GenerateRouteTable(rtmgr.Endpoints) *rtmgr.RouteTable }