public interface IRoutingService extends IService
Modifier and Type | Method and Description |
---|---|
Route |
getRoute(long src,
long dst)
Provides a route between src and dst that allows tunnels.
|
Route |
getRoute(long src,
long dst,
boolean tunnelEnabled)
Provides a route between src and dst, with option to allow or
not allow tunnels in the path.
|
Route |
getRoute(long srcId,
short srcPort,
long dstId,
short dstPort) |
Route |
getRoute(long srcId,
short srcPort,
long dstId,
short dstPort,
boolean tunnelEnabled) |
boolean |
routeExists(long src,
long dst)
Check if a route exists between src and dst, including tunnel links
in the path.
|
boolean |
routeExists(long src,
long dst,
boolean tunnelEnabled)
Check if a route exists between src and dst, with option to have
or not have tunnels as part of the path.
|
Route getRoute(long src, long dst)
Route getRoute(long src, long dst, boolean tunnelEnabled)
Route getRoute(long srcId, short srcPort, long dstId, short dstPort)
Route getRoute(long srcId, short srcPort, long dstId, short dstPort, boolean tunnelEnabled)
boolean routeExists(long src, long dst)
boolean routeExists(long src, long dst, boolean tunnelEnabled)