public interface EvpnRouteStore extends org.onosproject.store.Store<EvpnInternalRouteEvent,EvpnRouteStoreDelegate>
| Modifier and Type | Method and Description |
|---|---|
Collection<EvpnRouteSet> |
getRoutes(EvpnRouteTableId table)
Returns the routes in the given route table, grouped by prefix.
|
Collection<EvpnRoute> |
getRoutesForNextHop(org.onlab.packet.IpAddress ip)
Returns the routes that point to the given next hop IP address.
|
Set<EvpnRouteTableId> |
getRouteTables()
Returns the IDs for all route tables in the store.
|
void |
removeRoute(EvpnRoute route)
Removes the given route from the store.
|
void |
updateRoute(EvpnRoute route)
Adds or updates the given route in the store.
|
void updateRoute(EvpnRoute route)
route - route to add or updatevoid removeRoute(EvpnRoute route)
route - route to removeSet<EvpnRouteTableId> getRouteTables()
Collection<EvpnRouteSet> getRoutes(EvpnRouteTableId table)
table - route table IDCollection<EvpnRoute> getRoutesForNextHop(org.onlab.packet.IpAddress ip)
ip - IP address of the next hop