MEID table corruption due to index mismatch
[ric-plt/rtmgr.git] / pkg / rpe / types.go
index 4a5b9fc..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
@@ -45,4 +48,10 @@ type EngineConfig struct {
 type Engine interface {
        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
 }