I'm trying to send the first K packets of each newly arrival flow to the SDN controller, e.g. pox or ryu. Currently, the packet-in method seems to be triggered at the moment of a new flow arrives to an OpenFlow switch, however, it can only send the first packet to the controller.
Is there any solution that makes the packet-in able to send the first K packets from each new flow to the network controller?
Any suggestion will be highly appreciated.
I ignore if there is any way of programming this into the switch. However, if you are willing to program applications for the controller you could do the following thing.
I can imagine that this can be done better but this is the first idea that comes to mind.
Cheers,