I work with real switches (Zodiac FX). Depending on the Events, wether is Packet_In or other Events, I want to take different kinds of actions. Some of these actions, require contacting a different system component, outside of the Ryu scope. What I want, is to have a way to suspend the greenlet execution and continue with the following Events processing, while the outside system does its thing. Once the outside system returns with the required data, the greenlet will resume the processing.
Carlos On 14 December 2017 at 20:37, <marcosab...@inf.ufg.br> wrote: > When you subscribe an event (with @override) while switch is connect you > receive this event. You can ignore these events implementing a logic > according your application. But when you ignore an event, for exemple > Packet_IN, you loss the packets that enter in switch. > > Can you explain more your problem? You work with real switch or OVS? > > Citando Carlos Ferreira <carlosmf...@gmail.com>: > >> Hello to all! >> >> Is it possible to suspend a Ryu Coroutine event? For example, suspend >> the execution of the Packet_IN handler, while waiting for an event, >> signal or condition? >> >> I need to know how can I do this, because I need to execute some >> algorithms, which may take some time and depend upon resources outside >> of the application. I wanted for the coroutine to wait until it gets a >> result, but I didn't want to stall the entire event pipeline. >> >> Thank you! >> Carlos Ferreira >> >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> Ryu-devel mailing list >> Ryu-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/ryu-devel > > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ryu-devel ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel