I am using an Ryu controller (3.22) to monitor switches (Open vSwitch 2.0.2, supporting Open Flow 1.3), which are a part of virtual network created using mininet (2.1.0). It is a tree topology with depth = 2 and fanout = 5. I am using switch_monitor.py
With the help of the controller, I can get port statistics using the
EventOFPPortStatsReply decorator. I can get values of
tx_dropped etc., but the values of
tx_dropped always come out to be zero, even when the switches are actually dropping packets, as reported by qdisc (linux command).
How do I get packet loss statistics from an Open Flow switch?
- How to get a non zero value?
- Is there any alternate way?