For the learning purpose, I am using Hydrogen release of ODL and mininet. I observed that when I ping host1 to host2 ODL does install flow based of target IP address to the switch, but if I try to read the flows using the REST apis I receive empty list in the response.
If I add the flow from the application or from ODL dashboard, then I correctly receive back the flows in REST response message.
EDIT: I used the rest call : http://localhost:8080/controller/nb/v2/flowprogrammer/default/node/OF/00:00:00:00:00:00:00:01
Please let me know, if I am missing anything.