I just posted it to github here: https://github.com/castroflavio/ryu

Please take a look at the code (shortestpath.py). The most important parts
are the networkx SP computation and the topology discovery (ryu.topology).
Networkx is a python library to do graph operations.

We just finished the project, so I wasn't able to delete unnecessary info
there. Feel free to modify it and add your name to the list of
collaborators. Also, if you use our code as starting point I'd be extremely
glad if recognize it on your code.

It's a very simple code. If you still have doubts after spending some time
reading I'll be glad to answer your questions.

*Flávio Jr*

(61) 8448-4003

On Thu, Dec 18, 2014 at 6:35 PM, Padma Jayasankar <[email protected]>
wrote:
>
> Hi,
>   Thanks for the info..But i haven't used networkx earlier..I have to do
> the shortest path calculation in openflow networks..If i ues networkx, can
> it be used with openflow(Am using Mininet,Ryu and OVS). Please clarify.
>
> Thanks and Regards,
> Padma V
>
> On Thu, Dec 18, 2014 at 10:08 PM, Flavio Junior <[email protected]>
> wrote:
>>
>> I've done shortest path forwarding using networkx. You can get the
>> topology using the get topology api.
>>
>> I haven't posted my code to github yet, but I'll do it asap. Let me know
>> if there are other solutions.
>>
>> On Thu, Dec 18, 2014 at 10:41 AM, Padma Jayasankar <[email protected]>
>> wrote:
>>
>> Hi All,
>> I am new to Rye. I went through ryu ebook to know the basics. For my
>> project , i have to find the backup path along with working path when a
>> ping request comes. Am using Mininet , OVS and Ryu. Earlier i used POX and
>> used the l2_multi that computes the shortest path by accessing the
>> topology. Now as i want to use openflow 1.3 features , i am moving to Ryu.
>> In Ryu is thee any app which is equivalent to l2_multi. If not is it
>> possible to write such one..If yes, please give some guidance.
>>
>> Thanks and Regards,
>> Padma V
>>
>>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to