I dont think the flow table entries expire quickly, because I find out only initially the new packet is sent to the controller. Later packets already have entries.
It seems I dont have priority to use dpctl dump-flows command. I can telnet to the switches and run showflow command, which shows the flows are correct, with increasing size. Even if I use wildcards=0xffffffff to get all flow entries and use a short interval to query flow statistics (500 ms), the returned sizes are still always 0. Now, even reading port statistics doesnt work. Returned value is 0. The code is already posted to this email. > How frequent are the pings and how are the flows being installed. One > possibility here is that the flows are being installed with a timeout > shorter than the interval between pings. If that is the scenario, the > behavior could be: > > 1. ping arrives at switch > 2. switch does not find a matching flow, forwards to controller for > decision. > 3. controller installs flow in switch to match future pings with a > soft timeout. The controller may not count the stats from the > initial ping packet received in step 2 as being part of this new > flow. > 4. nothing matches flow for the soft timeout. flow is removed from > switch. > 5. goto step 1 > > Might this be what is happening? > > --- Keith > > > > > _______________________________________________ nox-dev mailing list [email protected] http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
