public class EvpnInstanceRoute extends Object
| Constructor and Description |
|---|
EvpnInstanceRoute(EvpnInstanceName evpnName,
RouteDistinguisher rd,
List<VpnRouteTarget> importRtList,
List<VpnRouteTarget> exportRtList,
EvpnInstancePrefix evpnInstancePrefix,
EvpnInstanceNextHop evpnInstanceNextHop,
org.onlab.packet.IpPrefix prefix,
org.onlab.packet.IpAddress nextHop,
Label label)
Constructor to initialize the parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
EvpnInstanceName |
evpnInstanceName()
Returns the evpnName.
|
List<VpnRouteTarget> |
exportRouteTarget()
Returns the Route targets.
|
EvpnInstanceNextHop |
getEvpnInstanceNextHop()
Returns EvpnInstanceNextHop of the evpn private route.
|
EvpnInstancePrefix |
getevpnInstancePrefix()
Returns EvpnInstancePrefix of the evpn private route.
|
Label |
getLabel()
Returns the label.
|
org.onlab.packet.IpAddress |
getNextHopl()
Returns the label.
|
int |
hashCode() |
List<VpnRouteTarget> |
importRouteTarget()
Returns the Route targets.
|
org.onlab.packet.IpPrefix |
prefix()
Returns prefix of the evpn private route.
|
RouteDistinguisher |
routeDistinguisher()
Returns the route distinguisher.
|
void |
setExportRtList(List<VpnRouteTarget> exportRtList)
Set export list.
|
void |
setImportRtList(List<VpnRouteTarget> importRtList)
Set import list.
|
String |
toString() |
public EvpnInstanceRoute(EvpnInstanceName evpnName, RouteDistinguisher rd, List<VpnRouteTarget> importRtList, List<VpnRouteTarget> exportRtList, EvpnInstancePrefix evpnInstancePrefix, EvpnInstanceNextHop evpnInstanceNextHop, org.onlab.packet.IpPrefix prefix, org.onlab.packet.IpAddress nextHop, Label label)
evpnName - vpn instance namerd - route distinguisherimportRtList - import route targetsexportRtList - export route targetsevpnInstancePrefix - evpn intance prefixevpnInstanceNextHop - evpn instance nexthopprefix - evpn prefixnextHop - evpn nexthoplabel - labelpublic EvpnInstanceName evpnInstanceName()
public RouteDistinguisher routeDistinguisher()
public List<VpnRouteTarget> importRouteTarget()
public List<VpnRouteTarget> exportRouteTarget()
public void setImportRtList(List<VpnRouteTarget> importRtList)
importRtList - import listpublic void setExportRtList(List<VpnRouteTarget> exportRtList)
exportRtList - export listpublic EvpnInstancePrefix getevpnInstancePrefix()
public EvpnInstanceNextHop getEvpnInstanceNextHop()
public org.onlab.packet.IpPrefix prefix()
public Label getLabel()
public org.onlab.packet.IpAddress getNextHopl()