Thanks Iwamoto, you are very helpful. Yes, i need number of outstanding
packet-in events.

I didnt understand one thing, is that queue structure built-in already or
do i need to implement it?

Thank you so much.


11 Eki 2018 Per 05:05 tarihinde IWAMOTO Toshihiro <iwam...@valinux.co.jp>
şunu yazdı:

> 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