This is more in keeping with the names used for other properties as the property is ofp_queue_stats_prop in the OF1.4 specification.
Signed-off-by: Simon Horman <[email protected]> --- v3 * First post --- ryu/ofproto/ofproto_v1_4_parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ryu/ofproto/ofproto_v1_4_parser.py b/ryu/ofproto/ofproto_v1_4_parser.py index 36dd17a..c79853d 100644 --- a/ryu/ofproto/ofproto_v1_4_parser.py +++ b/ryu/ofproto/ofproto_v1_4_parser.py @@ -2638,7 +2638,7 @@ class OFPQueueDescStatsReply(OFPMultipartReply): super(OFPQueueDescStatsReply, self).__init__(datapath, **kwargs) -class OFPQueueProp(OFPPropBase): +class OFPQueueStatsProp(OFPPropBase): _TYPES = {} @@ -2665,7 +2665,7 @@ class OFPQueueStats(StringifyMixin): props = [] rest = buf[offset + ofproto.OFP_QUEUE_STATS_SIZE:offset + length] while rest: - p, rest = OFPQueueProp.parse(rest) + p, rest = OFPQueueStatsProp.parse(rest) props.append(p) stats = cls(length, port_no, queue_id, tx_bytes, tx_packets, tx_errors, duration_sec, duration_nsec, props) -- 1.8.5.2 ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
