public interface RouteService extends org.onosproject.event.ListenerService<RouteEvent,RouteListener>
| Modifier and Type | Method and Description |
|---|---|
Map<RouteTableId,Collection<Route>> |
getAllRoutes()
Deprecated.
in Kingfisher release. Use
getRoutes(RouteTableId)
instead. |
Set<NextHop> |
getNextHops()
Deprecated.
|
Collection<RouteInfo> |
getRoutes(RouteTableId id)
Returns information about all routes in the given route table.
|
Collection<Route> |
getRoutesForNextHop(org.onlab.packet.IpAddress nextHop)
Deprecated.
|
Collection<RouteTableId> |
getRouteTables()
Returns the set of route tables in the system.
|
Optional<ResolvedRoute> |
longestPrefixLookup(org.onlab.packet.IpAddress ip)
Performs a longest prefix lookup on the given IP address.
|
Route |
longestPrefixMatch(org.onlab.packet.IpAddress ip)
Deprecated.
in Kingfisher release. Use {
longestPrefixLookup(IpAddress)}
instead. |
@Deprecated Map<RouteTableId,Collection<Route>> getAllRoutes()
getRoutes(RouteTableId)
instead.Collection<RouteInfo> getRoutes(RouteTableId id)
id - route table IDCollection<RouteTableId> getRouteTables()
@Deprecated Route longestPrefixMatch(org.onlab.packet.IpAddress ip)
longestPrefixLookup(IpAddress)}
instead.ip - IP addressOptional<ResolvedRoute> longestPrefixLookup(org.onlab.packet.IpAddress ip)
ip - IP address to look up@Deprecated Collection<Route> getRoutesForNextHop(org.onlab.packet.IpAddress nextHop)
nextHop - next hop IP address@Deprecated Set<NextHop> getNextHops()