public interface EvpnTable
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Releases route table resources across the entire cluster.
|
Collection<EvpnRouteSet> |
getRoutes()
Returns all routes in the route table.
|
EvpnRouteSet |
getRoutes(EvpnPrefix prefix)
Returns the routes in this table pertaining to a given prefix.
|
Collection<EvpnRoute> |
getRoutesForNextHop(org.onlab.packet.IpAddress nextHop)
Returns all routes that have the given next hop.
|
EvpnRouteTableId |
id()
Returns the route table ID.
|
void |
remove(EvpnRoute route)
Removes a route from the route table.
|
void |
shutdown()
Releases route table resources held locally.
|
void |
update(EvpnRoute route)
Adds a route to the route table.
|
void update(EvpnRoute route)
route - routevoid remove(EvpnRoute route)
route - routeEvpnRouteTableId id()
Collection<EvpnRouteSet> getRoutes()
EvpnRouteSet getRoutes(EvpnPrefix prefix)
prefix - IP prefixCollection<EvpnRoute> getRoutesForNextHop(org.onlab.packet.IpAddress nextHop)
nextHop - next hop IP addressvoid shutdown()
void destroy()