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