public interface RouteStore extends org.onosproject.store.Store<InternalRouteEvent,RouteStoreDelegate>
| Modifier and Type | Method and Description |
|---|---|
NextHopData |
getNextHop(org.onlab.packet.IpAddress ip)
Deprecated.
|
java.util.Map<org.onlab.packet.IpAddress,NextHopData> |
getNextHops()
Deprecated.
|
RouteSet |
getRoutes(org.onlab.packet.IpPrefix prefix)
Returns the set of routes in the default route table for the given prefix.
|
java.util.Collection<RouteSet> |
getRoutes(RouteTableId table)
Returns the routes in the given route table, grouped by prefix.
|
java.util.Collection<Route> |
getRoutesForNextHop(org.onlab.packet.IpAddress ip)
Returns the routes that point to the given next hop IP address.
|
java.util.Set<RouteTableId> |
getRouteTables()
Returns the IDs for all route tables in the store.
|
Route |
longestPrefixMatch(org.onlab.packet.IpAddress ip)
Deprecated.
in Kingfisher release. Now handled by the manager instead of
the store
|
void |
removeNextHop(org.onlab.packet.IpAddress ip,
NextHopData nextHopData)
Deprecated.
|
void |
removeRoute(Route route)
Removes the given route from the store.
|
void |
updateNextHop(org.onlab.packet.IpAddress ip,
NextHopData nextHopData)
Deprecated.
|
void |
updateRoute(Route route)
Adds or updates the given route in the store.
|
void updateRoute(Route route)
route - route to add or updatevoid removeRoute(Route route)
route - route to removejava.util.Set<RouteTableId> getRouteTables()
java.util.Collection<RouteSet> getRoutes(RouteTableId table)
table - route table IDjava.util.Collection<Route> getRoutesForNextHop(org.onlab.packet.IpAddress ip)
ip - IP address of the next hop@Beta RouteSet getRoutes(org.onlab.packet.IpPrefix prefix)
prefix - IP prefix@Deprecated
void updateNextHop(org.onlab.packet.IpAddress ip,
NextHopData nextHopData)
ip - IP addressnextHopData - Information of the next hop@Deprecated
void removeNextHop(org.onlab.packet.IpAddress ip,
NextHopData nextHopData)
ip - IP addressnextHopData - Information of the next hop@Deprecated NextHopData getNextHop(org.onlab.packet.IpAddress ip)
ip - next hop IP@Deprecated java.util.Map<org.onlab.packet.IpAddress,NextHopData> getNextHops()
@Deprecated Route longestPrefixMatch(org.onlab.packet.IpAddress ip)
ip - IP to look up