public class RouteSet extends Object
| Constructor and Description |
|---|
RouteSet(RouteTableId tableId,
org.onlab.packet.IpPrefix prefix,
Set<Route> routes)
Creates a new route set.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
org.onlab.packet.IpPrefix |
prefix()
Returns the IP prefix.
|
Set<Route> |
routes()
Returns the set of routes.
|
RouteTableId |
tableId()
Returns the route table ID.
|
public RouteSet(RouteTableId tableId, org.onlab.packet.IpPrefix prefix, Set<Route> routes)
tableId - route table IDprefix - IP prefixroutes - routes for the given prefixpublic RouteTableId tableId()
public org.onlab.packet.IpPrefix prefix()