About path computation in ODL


Austin
 

Hi mingming,

I'm trying to find a API to compute the link path between two hosts. So I read the code from openflowplugin (add@... and addFlow@SalFlowServiceImpl). But seems the it just ad given flows to switchers rather than calculate the path. 

So I turn to OpenDayLight/controller to find a function to get the path. I found that org.opendaylight.controller.sal.routing provides a getRoute method but it no longer be used in the newer ODL (may be it's a AD-SAL function). Now ODL using org.opendaylight.controller.md.sal.common.api.routing to compute path. But I can't find out where the implement is and how to use it. Do you have any ideas?

Thanks!

Junzhuo

Join z.archive.alto-dev@lists.opendaylight.org to automatically receive all group messages.