public class EvpnRouteSet extends Object
| Constructor and Description |
|---|
EvpnRouteSet(EvpnRouteTableId tableId,
EvpnPrefix prefix,
Set<EvpnRoute> routes)
Creates a new route set.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
EvpnPrefix |
prefix()
Returns the IP prefix.
|
Set<EvpnRoute> |
routes()
Returns the set of routes.
|
EvpnRouteTableId |
tableId()
Returns the route table ID.
|
public EvpnRouteSet(EvpnRouteTableId tableId, EvpnPrefix prefix, Set<EvpnRoute> routes)
tableId - route table IDprefix - IP prefixroutes - routes for the given prefixpublic EvpnRouteTableId tableId()
public EvpnPrefix prefix()