Re: [Ryu-devel] EventOFPFlowRemoved

2016-10-03 Thread Garegin Grigoryan
Thank you! I haven't set the flag. On Mon, Oct 3, 2016 at 4:10 AM, Michał Rzepka wrote: > Hello, > > At first glance your piece of code seems to be correct. Does your flow > have OFPFF_SEND_FLOW_REM flag set? Also, try to use logger provided by Ryu > application (self.logger... in simple_switch

Re: [Ryu-devel] EventOFPFlowRemoved

2016-10-03 Thread Michał Rzepka
Hello, At first glance your piece of code seems to be correct. Does your flow have OFPFF_SEND_FLOW_REM flag set? Also, try to use logger provided by Ryu application (self.logger... in simple_switch.py) to print out messages. Then make sure correct verbosity level is set for your logger. Regard

[Ryu-devel] EventOFPFlowRemoved

2016-10-02 Thread Garegin Grigoryan
Hi all, I'm working on simple_switch.py file, which uses OpenFlow 1.0 to communicate with OVS switch. I want to subscribe to FlowRemoved event. @set_ev_cls(ofp_event.EventOFPFlowRemoved, MAIN_DISPATCHER) def flow_removal_handler(self, ev): msg = ev.msg match = msg.match

Re: [Ryu-devel] EventOFPFlowRemoved and OFPSetAsync

2014-11-25 Thread Yusuke Iwase
Hi Pablo, On 2014年11月21日 18:01, Pablo Pousada Rial wrote: > Greetings. > > I am trying to handle the idle timeout of flows from OpenVSwitch with my ryu > controller, but since it didn't catch any EventOFPFlowRemoved, I used the > snoop tool, where i realized that the switch wasn't sending the n

[Ryu-devel] EventOFPFlowRemoved and OFPSetAsync

2014-11-21 Thread Pablo Pousada Rial
Greetings. I am trying to handle the idle timeout of flows from OpenVSwitch with my ryu controller, but since it didn't catch any EventOFPFlowRemoved, I used the snoop tool, where i realized that the switch wasn't sending the notification to the controller, or at least it wasn't being shown th