MEID table corruption due to index mismatch
[ric-plt/rtmgr.git] / pkg / rpe / types.go
index 626213e..95cdf01 100644 (file)
 
 package rpe
 
-import "routing-manager/pkg/rtmgr"
+import (
+       "routing-manager/pkg/models"
+       "routing-manager/pkg/rtmgr"
+)
 
 //type generatePolicies func(rtmgr.Endpoints) *[]string
 //type generateRouteTable func(rtmgr.Endpoints) *rtmgr.RouteTable
@@ -43,6 +46,12 @@ type EngineConfig struct {
 }
 
 type Engine interface {
-       GeneratePolicies(rtmgr.Endpoints) *[]string
+       GeneratePolicies(rtmgr.Endpoints, *rtmgr.RicComponents) *[]string
        GenerateRouteTable(rtmgr.Endpoints) *rtmgr.RouteTable
+       GeneratePartialPolicies(eps rtmgr.Endpoints, xappSubData *models.XappSubscriptionData, updatetype rtmgr.RMRUpdateType) *[]string
+}
+
+type RouteIndex struct {
+       flag  bool
+       index uint16
 }