I want to build an Opendaylight Boron application which needs to field notifications from MDSAL when a flow miss event is encountered and the packet is sent up to the controller for processing. How can I solicit such events?
If it were possible to register for ALL openflow notifications, that would suffice.
Any pointers or code snippets to do this?
Thank you,
Ranga
Packets that are sent from the switch to the controller are called PacketIn packets.
You need to create a Java class that listens for PacketIn by implementing the OpenDaylight PacketProcessingListener interface.
Here's an example tutorial.
And here is an example of a class I wrote in the SFC project that handles PacketIn packets sent to the controller from OVS: