Hi

I am writing a Ryu application in which I have if else statement for
packet_in. If a *condition* *satisfies for the first time*, then it *should
start the timer* till 10 seconds, within these 10 seconds there will be
other packets arriving as well, matching the same condition *but I don't
want to start the timer every time a condition is satisfied(within these 10
seconds)*. In short, the timer should run in parallel.

I have used a thread for this but it is not working fine. A new thread
starts every time a new packet arrives but I want only 1 thread to start
till 10 seconds or any no. of seconds without starting a new thread when a
new packet arrives.

I am attaching the code. Also, I attach a screenshot of running
scapy traffic generator with the commands I am using.

Please help me.

Thank You

Attachment: iot_aggregation_copy.py
Description: Binary data

------------------------------------------------------------------------------
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

Reply via email to