|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRoutingService
Method Summary | |
---|---|
Route |
getRoute(long srcId,
int srcPort,
long dstId,
int dstPort,
long cookie)
Provides a route between srcPort on src and dstPort on dst. |
Route |
getRoute(long srcId,
int srcPort,
long dstId,
int dstPort,
long cookie,
boolean tunnelEnabled)
Provides a route between srcPort on src and dstPort on dst. |
Route |
getRoute(long src,
long dst,
long cookie)
Provides a route between src and dst that allows tunnels. |
Route |
getRoute(long src,
long dst,
long cookie,
boolean tunnelEnabled)
Provides a route between src and dst, with option to allow or not allow tunnels in the path. |
java.util.ArrayList<Route> |
getRoutes(long longSrcDpid,
long longDstDpid,
boolean tunnelEnabled)
return all routes, if available |
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. |
Method Detail |
---|
Route getRoute(long src, long dst, long cookie)
src
- Source switch DPID.dst
- Destination switch DPID.cookie
- cookie (usage determined by implementation; ignored by topology instance now).Route getRoute(long src, long dst, long cookie, boolean tunnelEnabled)
src
- Source switch DPID.dst
- Destination switch DPID.cookie
- cookie (usage determined by implementation; ignored by topology instance now).tunnelEnabled
- boolean option.Route getRoute(long srcId, int srcPort, long dstId, int dstPort, long cookie)
src
- Source switch DPID.srcPort
- Source port on source switch.dst
- Destination switch DPID.dstPort
- dstPort on Destination switch.cookie
- cookie (usage determined by implementation; ignored by topology instance now).Route getRoute(long srcId, int srcPort, long dstId, int dstPort, long cookie, boolean tunnelEnabled)
src
- Source switch DPID.srcPort
- Source port on source switch.dst
- Destination switch DPID.dstPort
- dstPort on Destination switch.cookie
- cookie (usage determined by implementation; ignored by topology instance now).tunnelEnabled
- boolean option.java.util.ArrayList<Route> getRoutes(long longSrcDpid, long longDstDpid, boolean tunnelEnabled)
boolean routeExists(long src, long dst)
boolean routeExists(long src, long dst, boolean tunnelEnabled)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |