public class ResolvedRoute extends Object
| Constructor and Description |
|---|
ResolvedRoute(Route route,
org.onlab.packet.MacAddress nextHopMac,
org.onosproject.net.ConnectPoint location)
Creates a new resolved route.
|
ResolvedRoute(Route route,
org.onlab.packet.MacAddress nextHopMac,
org.onlab.packet.VlanId nextHopVlan,
org.onosproject.net.ConnectPoint location)
Creates a new resolved route.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
org.onosproject.net.ConnectPoint |
location()
Returns the next hop location.
|
org.onlab.packet.IpAddress |
nextHop()
Returns the next hop IP address.
|
org.onlab.packet.MacAddress |
nextHopMac()
Returns the next hop MAC address.
|
org.onlab.packet.VlanId |
nextHopVlan()
Returns the next hop VLAN ID.
|
org.onlab.packet.IpPrefix |
prefix()
Returns the IP prefix.
|
Route |
route()
Returns the original route.
|
String |
toString() |
public ResolvedRoute(Route route, org.onlab.packet.MacAddress nextHopMac, org.onosproject.net.ConnectPoint location)
route - input routenextHopMac - next hop MAC addresslocation - connect point where the next hop connects topublic ResolvedRoute(Route route, org.onlab.packet.MacAddress nextHopMac, org.onlab.packet.VlanId nextHopVlan, org.onosproject.net.ConnectPoint location)
route - input routenextHopMac - next hop MAC addressnextHopVlan - next hop VLAN IDlocation - connect point where the next hop connects topublic Route route()
public org.onlab.packet.IpPrefix prefix()
public org.onlab.packet.IpAddress nextHop()
public org.onlab.packet.MacAddress nextHopMac()
public org.onlab.packet.VlanId nextHopVlan()
public org.onosproject.net.ConnectPoint location()