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 |
---|---|
List<ActualBestPathRoutes<C,S,R,I>> |
actualBestPaths(RIBSupport<C,S,R,I> ribSupport,
RouteEntryInfo entryInfo)
Returns collections of present selected best path.
|
int |
addRoute(com.google.common.primitives.UnsignedInteger routerId,
long remotePathId,
R route)
Add Route.
|
List<AdvertizedRoute<C,S,R,I>> |
newBestPaths(RIBSupport<C,S,R,I> ribSupport,
String routeKey)
Returns collection of best path routes after processing update of stale and new advertisement of routes.
|
boolean |
removeRoute(com.google.common.primitives.UnsignedInteger routerId,
long remotePathId)
Remove route.
|
Optional<StaleBestPathRoute<C,S,R,I>> |
removeStalePaths(RIBSupport<C,S,R,I> ribSupport,
String routeKey)
Returns list of stale best path.
|
boolean |
selectBest(long localAs)
Indicates whether best has changed.
|
boolean removeRoute(@Nonnull com.google.common.primitives.UnsignedInteger 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 com.google.common.primitives.UnsignedInteger routerId, long remotePathId, @Nonnull 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 © 2019 OpenDaylight. All rights reserved.