public final class EvpnNextHop extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
static EvpnNextHop |
evpnNextHop(org.onlab.packet.IpAddress nextHop,
List<VpnRouteTarget> importRtList,
List<VpnRouteTarget> exportRtList,
Label label)
Creates the Evpn Next hop with given parameters.
|
List<VpnRouteTarget> |
exportRouteTarget()
Returns the Route targets.
|
int |
hashCode() |
List<VpnRouteTarget> |
importRouteTarget()
Returns the Route targets.
|
Label |
label()
Returns the label of evpn route.
|
org.onlab.packet.IpAddress |
nextHop()
Returns the next hop IP address.
|
String |
toString() |
public static EvpnNextHop evpnNextHop(org.onlab.packet.IpAddress nextHop, List<VpnRouteTarget> importRtList, List<VpnRouteTarget> exportRtList, Label label)
nextHop - Next hop of the routeimportRtList - route target import listexportRtList - route target export listlabel - label of evpn routepublic org.onlab.packet.IpAddress nextHop()
public List<VpnRouteTarget> importRouteTarget()
public List<VpnRouteTarget> exportRouteTarget()
public Label label()