Thank you very much Mr. Fujimoto.
 Yes you were right, the problem was with my switches. I have updated OVS
to the latest version, now everything works impeccably.

On Wed, Aug 16, 2017 at 6:12 AM, Fujimoto Satoshi <
satoshi.fujimo...@gmail.com> wrote:

> Hi,
>
> Umm, I couldn't reproduce your situation.
>
> I use OpenVSwitch, and with it, I could get different duration_sec and
> duration_nsec values like this:
>
>     OFPPortStats(port_no=4294967294,rx_packets=0,tx_
> packets=0,rx_bytes=0,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=739,duration_nsec=140000000*)
>
> What switch do you use?
> I guess the problem is in your switch, not in Ryu.
> Please ask the development team of your switch.
>
> Thanks,
> Fujimoto
>
>
>
> On 2017年08月15日 20:07, Moh'd Reza Abbasi wrote:
>
> 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 
> listRyu-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/ryu-devel
>
>
>
------------------------------------------------------------------------------
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