public interface RouteEntry<C extends Routes & org.opendaylight.yangtools.yang.binding.DataObject & org.opendaylight.yangtools.yang.binding.ChoiceIn<Tables>,S extends org.opendaylight.yangtools.yang.binding.ChildOf<? super C>,R extends Route & org.opendaylight.yangtools.yang.binding.ChildOf<? super S> & org.opendaylight.yangtools.yang.binding.Identifiable<I>,I extends org.opendaylight.yangtools.yang.binding.Identifier<R>>
Modifier and Type | Method and Description |
---|---|
@NonNull List<ActualBestPathRoutes<C,S,R,I>> |
actualBestPaths(@NonNull RIBSupport<C,S,R,I> ribSupport,
@NonNull RouteEntryInfo entryInfo)
Returns collections of present selected best path.
|
int |
addRoute(@NonNull RouterId routerId,
Long remotePathId,
R route)
Add Route.
|
@NonNull List<AdvertizedRoute<C,S,R,I>> |
newBestPaths(@NonNull RIBSupport<C,S,R,I> ribSupport,
@NonNull String routeKey)
Returns collection of best path routes after processing update of stale and new advertisement of routes.
|
boolean |
removeRoute(@NonNull RouterId routerId,
Long remotePathId)
Remove route.
|
@NonNull Optional<StaleBestPathRoute<C,S,R,I>> |
removeStalePaths(@NonNull RIBSupport<C,S,R,I> ribSupport,
@NonNull String routeKey)
Returns list of stale best path.
|
boolean |
selectBest(long localAs)
Indicates whether best has changed.
|
boolean removeRoute(@NonNull RouterId routerId, Long remotePathId)
routerId
- router ID in unsigned integer format from an Ipv4AddressremotePathId
- remote path Id receivedboolean selectBest(long localAs)
localAs
- The local autonomous system numberint addRoute(@NonNull RouterId routerId, Long remotePathId, R route)
routerId
- router ID in unsigned integer format from an Ipv4AddressremotePathId
- remote path Id receivedroute
- route Data change@NonNull List<ActualBestPathRoutes<C,S,R,I>> actualBestPaths(@NonNull RIBSupport<C,S,R,I> ribSupport, @NonNull RouteEntryInfo entryInfo)
ribSupport
- RIB SupportentryInfo
- Route Entry Info wrapper@NonNull Optional<StaleBestPathRoute<C,S,R,I>> removeStalePaths(@NonNull RIBSupport<C,S,R,I> ribSupport, @NonNull String routeKey)
ribSupport
- RIB SupportrouteKey
- of stale routeCopyright © 2020 OpenDaylight. All rights reserved.