X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Frpe%2Ftypes.go;h=95cdf0171fc65d21241de7570866ae279b653820;hb=e68558eb09d9387539f99a8d936b04989025cfe7;hp=491d15234be55d0722e894314ef2d3ccb6438a7e;hpb=aaf8d396257a455247b24716a32b05fc3fd145c2;p=ric-plt%2Frtmgr.git diff --git a/pkg/rpe/types.go b/pkg/rpe/types.go index 491d152..95cdf01 100644 --- a/pkg/rpe/types.go +++ b/pkg/rpe/types.go @@ -14,6 +14,11 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + + + This source code is part of the near-RT RIC (RAN Intelligent Controller) + platform project (RICP). + ================================================================================== */ /* @@ -24,7 +29,10 @@ 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 @@ -38,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 }