Re: [Ryu-devel] Sending periodic beacons - How to?

2017-11-23 Thread Carlos Ferreira
Please, could anyone help me with this? I'm really stuck and I really need this for my project! Carlos Miguel Ferreira On 21 November 2017 at 12:19, Carlos Ferreira wrote: > Hello! > > The project to which I'm working, requires me to implement a beacon > manager, which will inject beacon packets

[Ryu-devel] simple_switch_13.py

2017-11-23 Thread Jerico Moeyersons
Hello everyone, I'm kinda new to bug reporting, so I found this e-mail address. If I need to do it elsewhere, please notify me of that! The reason why I mail you is because I found a 'bug' (or maybe it is the purpose of the example) in the example switch. Here, a flow is added with as match th

[Ryu-devel] Rest_topology.py

2017-11-23 Thread Mahmoud Elzoghbi
Hello to everyone, I used Rest_topology.py to discover hosts in my topology, but when any host moves from Port 1 to port 5 for example Rest_topology.py discover this host in port 1 also , it doesn't sense the movement of host What is the problem?

Re: [Ryu-devel] Sending periodic beacons - How to?

2017-11-23 Thread Iwase Yusuke
Hi Carlos, >> I understand that in the documentation, directly using gevent is not advised. >> Threads aren't working well because they create conflicts with gevent. >> Is there a way to properly implement this mechanism? Which document mentions about geven? Ryu does not use it, but uses eventle

Re: [Ryu-devel] Not responding controller after a while when using rest_router and ofctl_rest

2017-11-23 Thread Iwase Yusuke
Hi Andrej, Sorry for the delay. Your topology has a loop (triangle with 3 switches), right? Unfortunately, rest_router is just a sample application for Ryu-Book, it does not assumes the connected topology has loops. I guess the loop in your topology causes the broad cast storm, and rest_router

Re: [Ryu-devel] RETRIEVE ROUTING/FLOW TABLE

2017-11-23 Thread Iwase Yusuke
Hi, How about using the Zebra client service library of Ryu? https://github.com/osrg/ryu/blob/master/ryu/services/protocols/zebra/client/sample_dumper.py This library provides the APIs to communicate with the Zebra daemon of Quagga (or FRRouting). For example, if you need "connected" routes

Re: [Ryu-devel] Setting Default Routes in custom topology.

2017-11-23 Thread Iwase Yusuke
Hi Taha, Sorry, I couldn't investigate further because I don't know your situation (e.g., topology, IP address assignment). Please confirm your network design, first... Thanks, Iwase On 2017年11月22日 23:16, Taha Khan wrote: Thank you very much Iwase for your suggestion. I tried to do the same

Re: [Ryu-devel] [PATCH 2/2] Fix bug of OFPT_ALL missing

2017-11-23 Thread Iwase Yusuke
Hi, Thank you for your posting your patch! Refining example looks great for me! Thanks! On 2017年11月20日 21:12, Meng Qingyu wrote: From: morland Signed-off-by: morland --- ryu/ofproto/ofproto_v1_0.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ryu/ofproto/ofproto_v1_0.py b/ryu/ofp

Re: [Ryu-devel] Load Balancer with Ryu-Framework in a Ring Topology

2017-11-23 Thread Iwase Yusuke
Hi Carlos, The OpenFlow Spec does not directly provide the mechanism for the multi-path load balancing and also Ryu does not provide it. I guess it is depending on your application design... But for the beginning, how about using the Group action(the "select" type)? The selection algorithm is d

Re: [Ryu-devel] simple_switch_13.py

2017-11-23 Thread Iwase Yusuke
Hi Jerico, Thank you for your report! Adding "eth_src=src" in the match looks good to me, but please confirm your situation. You mean this issue will occur, when we do the following? - Connect to the first switch and learn the connected hosts - Connect to the second switch and try to learn the

Re: [Ryu-devel] Rest_topology.py

2017-11-23 Thread Iwase Yusuke
Hi Mahmoud, When Ryu detects the new host connection, it only checks if the host is known not not at here. https://github.com/osrg/ryu/blob/ed2c6eca2227c9efb3c7e51cdd6db6bf578ec609/ryu/topology/switches.py#L867-L870 So, as your situation, when the host moves from a port to another, even if Ryu

Re: [Ryu-devel] simple_switch_13.py

2017-11-23 Thread Jerico Moeyersons
Hi Iwase, Thanks for your response! In attach I've added a figure of my setup and with that I will try to explain the problem: So, I have two switches, each connected (with a normal port = controller port) to the Ryu Controller. These switches are interconnected with each other with an OF-port