I am trying to understand how packets can be sent to the controller in order to let the controller determine which flow should be installed on the switch. I set up a generic flow that sends any IP packets to the Controller. I can see this installed on the switch and it measures the bytes of packets arriving to it. So i can only assume this part works.
On the controller I have set up a flow that will forward packets normally if they belong to subnet 192.168.0.0/24 This flow is not installed on the switch. The problem is that when packets are sent to ODL from the switch, ODL does not forward this flow automatically to the switch.
How can I make it so that this flow is dynamically added to the switch when needed and times out when not used?