On Thu, 11 Oct 2018 06:15:50 +0900,
nail göksel wrote:
> 
> [1  <multipart/alternative (7bit)>]
> [1.1  <text/plain; UTF-8 (quoted-printable)>]
> Hi all,
> 
> As i understand, each packet_in event queued and delivered one by one to
> the handler. In my application, i need the current size of the packet_in
> events waiting to be processed. I would be glad with your help.

Do you want to know the number of outstanding packet-in events?

You can have two eventlet threads. The first thread reads packet-ins
and store them into eventlet.queue. The second thread reads from the
queue and process events. You can use the queue length.

--
IWAMOTO Toshihiro


_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to