i have two switches connected through mininet. What is Rest API for finding shortest path with request parameters.
I do not know much about internal modules of ODL but it is just a matter of research. There is an internal module od Dijkstra, i don't know if it works or not. However, afaik there is no REST API to interact with it. So either you use that module and generate a REST API, or create an external modules and implement the Dijkstra yourself, which was what I did.
Please refer the post to get the shortest path between two hosts in ODL. It's kind of independent application in python where you can even provide source & destination nodes as switches instead of hosts so that to identify the shortest path between switches using Dijkstra's algorithm.
This thread is public, all members of ask.opendaylight.org can read this page.
Asked: 2015-03-24 05:25:58 -0700
Seen: 1,455 times
Last updated: Feb 02 '16
© 2014 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a trademark of The OpenDaylight Project, Inc.
Linux Foundation is a registered trademark of The Linux Foundation.
Linux is a registered trademark of Linus Torvalds.