Hi all,
I'm trying some first steps with Ryu and a Pica8 openflow switch (running
open vswitch). I run the testing application simple_switch_13.py that comes
with Ryu package. I see packet_in msgs and I'm able to alter the timeouts
of flow entries in the switch by simply changing values in the default code
of simple_switch_13.py.
On setting a very small timeout, such as 2s, I see packet_in msgs coming
roughly every 2s, which means that it seems to be working fine.
On the timeout expiration I expect to see a flow_removed msg from the
switch to the controller. I added this to the simple_switch_13.py:
@set_ev_cls(ofp_event.EventOFPFlowRemoved, MAIN_DISPATCHER)
def flow_removed_handler(self, ev):
self.logger.info("flow removed received")
However, I never see a "flow removed received" in between two packet_in
msgs, being the second of them due to the expiration of the previous flow
entry.
Any ideas of something basic that I'm missing here?
Many thanks,
Ricardo
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel