public interface RouteResolver
RouteResolver provides interfaces to be implemented by classes
which resolves the packet route in physical network.| Modifier and Type | Method and Description |
|---|---|
int |
getPathPolicyId()
Return the identifier of the path policy associated with this
route resolver.
|
List<LinkEdge> |
getRoute(InventoryReader rdr,
SalNode src,
SalNode dst)
Return the packet route from the source to the destination switch.
|
List<LinkEdge> getRoute(InventoryReader rdr, SalNode src, SalNode dst)
rdr - A InventoryReader instance which contains active
read transaction for the MD-SAL datastore.src - A SalNode instance corresponding to the source
switch.dst - A SalNode instance corresponding to the destination
switch.LinkEdge instances which represents the
packet route.
An empty list is returned if the destination node is the
same as the source.
null is returned if no route was found.int getPathPolicyId()
Copyright © 2018 OpenDaylight. All rights reserved.