@Service
public class LocalRouteStore
extends org.onosproject.store.AbstractStore<org.onosproject.incubator.net.routing.RouteEvent,org.onosproject.incubator.net.routing.RouteStoreDelegate>
implements org.onosproject.incubator.net.routing.RouteStore
| Constructor and Description |
|---|
LocalRouteStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
org.onlab.packet.MacAddress |
getNextHop(org.onlab.packet.IpAddress ip) |
Map<org.onlab.packet.IpAddress,org.onlab.packet.MacAddress> |
getNextHops() |
Collection<org.onosproject.incubator.net.routing.Route> |
getRoutes(org.onosproject.incubator.net.routing.RouteTableId table) |
Collection<org.onosproject.incubator.net.routing.Route> |
getRoutesForNextHop(org.onlab.packet.IpAddress ip) |
Set<org.onosproject.incubator.net.routing.RouteTableId> |
getRouteTables() |
org.onosproject.incubator.net.routing.Route |
longestPrefixMatch(org.onlab.packet.IpAddress ip) |
void |
removeNextHop(org.onlab.packet.IpAddress ip,
org.onlab.packet.MacAddress mac) |
void |
removeRoute(org.onosproject.incubator.net.routing.Route route) |
void |
updateNextHop(org.onlab.packet.IpAddress ip,
org.onlab.packet.MacAddress mac) |
void |
updateRoute(org.onosproject.incubator.net.routing.Route route) |
hasDelegate, notifyDelegate, notifyDelegate, setDelegate, unsetDelegate@Activate public void activate()
public void updateRoute(org.onosproject.incubator.net.routing.Route route)
updateRoute in interface org.onosproject.incubator.net.routing.RouteStorepublic void removeRoute(org.onosproject.incubator.net.routing.Route route)
removeRoute in interface org.onosproject.incubator.net.routing.RouteStorepublic Set<org.onosproject.incubator.net.routing.RouteTableId> getRouteTables()
getRouteTables in interface org.onosproject.incubator.net.routing.RouteStorepublic Collection<org.onosproject.incubator.net.routing.Route> getRoutes(org.onosproject.incubator.net.routing.RouteTableId table)
getRoutes in interface org.onosproject.incubator.net.routing.RouteStorepublic org.onosproject.incubator.net.routing.Route longestPrefixMatch(org.onlab.packet.IpAddress ip)
longestPrefixMatch in interface org.onosproject.incubator.net.routing.RouteStorepublic Collection<org.onosproject.incubator.net.routing.Route> getRoutesForNextHop(org.onlab.packet.IpAddress ip)
getRoutesForNextHop in interface org.onosproject.incubator.net.routing.RouteStorepublic void updateNextHop(org.onlab.packet.IpAddress ip,
org.onlab.packet.MacAddress mac)
updateNextHop in interface org.onosproject.incubator.net.routing.RouteStorepublic void removeNextHop(org.onlab.packet.IpAddress ip,
org.onlab.packet.MacAddress mac)
removeNextHop in interface org.onosproject.incubator.net.routing.RouteStorepublic org.onlab.packet.MacAddress getNextHop(org.onlab.packet.IpAddress ip)
getNextHop in interface org.onosproject.incubator.net.routing.RouteStorepublic Map<org.onlab.packet.IpAddress,org.onlab.packet.MacAddress> getNextHops()
getNextHops in interface org.onosproject.incubator.net.routing.RouteStoreCopyright © 2016. All rights reserved.