Upgraded to RMR 4.7.4 and some improvements
[ric-plt/rtmgr.git] / pkg / rpe / types.go
index 4a5b9fc..2d466d3 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,5 @@ 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
 }