public class BgpEvpnPrefix
extends java.lang.Object
| Constructor and Description |
|---|
BgpEvpnPrefix(org.onlab.packet.Ip4Address nextHop,
BgpEvpnLabel label)
Constructor for initializing the evpn prefix.
|
BgpEvpnPrefix(org.onlab.packet.Ip4Address nextHop,
RouteTarget rt,
BgpEvpnLabel label)
Constructor for initializing the evpn prefix.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
BgpEvpnLabel |
getLabel()
Get the label.
|
org.onlab.packet.Ip4Address |
getNextHop()
Get next hop address.
|
RouteTarget |
getRouteTarget()
Get the route target.
|
int |
hashCode() |
void |
setLabel(BgpEvpnLabel label)
Set the label.
|
void |
setNetHop(org.onlab.packet.Ip4Address nextHop)
Set the next hop address.
|
void |
setRouteTarget(RouteTarget rt)
Set the route target.
|
java.lang.String |
toString() |
public BgpEvpnPrefix(org.onlab.packet.Ip4Address nextHop,
RouteTarget rt,
BgpEvpnLabel label)
nextHop - next hoprt - route targetlabel - labelpublic BgpEvpnPrefix(org.onlab.packet.Ip4Address nextHop,
BgpEvpnLabel label)
nextHop - next hoplabel - labelpublic org.onlab.packet.Ip4Address getNextHop()
public RouteTarget getRouteTarget()
public BgpEvpnLabel getLabel()
public void setNetHop(org.onlab.packet.Ip4Address nextHop)
nextHop - next hoppublic void setRouteTarget(RouteTarget rt)
rt - route targetpublic void setLabel(BgpEvpnLabel label)
label - label.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object