Please check if def send_port_stats_request(self, datapath): ofp = datapath.ofproto<http://datapath.ofproto> ofp_parser = datapath.ofproto_parser req = ofp_parser.OFPPortStatsRequest<http://parser.OFPPortStatsRequest>(datapath, 0, ofp.OFPP_ANY) datapath.send_msg(req)
this works. With Best Regards moyeen Get Outlook for Android<https://aka.ms/ghei36> ________________________________ From: Jade Manapee <haf.ho...@gmail.com> Sent: Wednesday, January 16, 2019 7:18:27 AM To: Artem Gromov Cc: Ryu-devel Subject: Re: [Ryu-devel] Are there any way to easily get links capacity? Hi, Thanks for the reply. So there is no advantage using Sdn to find link capacity then? On Sat, Jan 12, 2019 at 5:02 AM Artem Gromov <artyomgro...@gmail.com> wrote: > > Hi, > you can also use scapy library. > > On Thu, Jan 10, 2019, 18:29 Jade Manapee <haf.ho...@gmail.com wrote: >> >> Is there any function in ryu like get_port_capacity something like that? >> >> Only way I can think is use iperf. >> >> Thanks >> >> >> _______________________________________________ >> Ryu-devel mailing list >> Ryu-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/ryu-devel _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel
_______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel