Hi,
I was experimenting with ryu, openflow stats request/reply, and mininet. I
noticed that duration_sec and duration_nsec are always the same for each
reply and they have same values i.e duration_sec = duration_nsec.

Is it the right behavior? shouldn't the values be different?
Because  openflow specification says : "The duration_sec and duration_nsec
fields indicate the elapsed time the  port has been configured into the
OpenFlow pipeline. "

here is a sample of the port_stats_reply:

port stats reply body content [
OFPPortStats(port_no=1,rx_packets=22,tx_packets=0,rx_bytes=1056,tx_bytes=0,rx_dropped=0,tx_dropped=0,rx_errors=0,
tx_errors=0,rx_frame_err=0,rx_over_err=0,rx_crc_err=0,collisions=0,
*duration_sec=4294967295,duration_nsec=4294967295*),
OFPPortStats(port_no=2,rx_packets=22,tx_packets=0,rx_bytes=1056,tx_bytes=0,rx_dropped=0,tx_dropped=0,rx_errors=0,
tx_errors=0,rx_frame_err=0,rx_over_err=0,rx_crc_err=0,collisions=0,
*duration_sec=4294967295,duration_nsec=4294967295*), ]

Thank you.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to