From 1c6b6e0bf3b039a539e44f49fb1c2e17599ae79f Mon Sep 17 00:00:00 2001 From: Simon Horman Date: Wed, 26 Feb 2014 16:26:10 +0900 Subject: of14: Rename QueueProp as QueueStatsProp 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 Signed-off-by: FUJITA Tomonori --- 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 d3cd20e5..91a2f091 100644 --- a/ryu/ofproto/ofproto_v1_4_parser.py +++ b/ryu/ofproto/ofproto_v1_4_parser.py @@ -2637,7 +2637,7 @@ class OFPQueueDescStatsReply(OFPMultipartReply): super(OFPQueueDescStatsReply, self).__init__(datapath, **kwargs) -class OFPQueueProp(OFPPropBase): +class OFPQueueStatsProp(OFPPropBase): _TYPES = {} @@ -2664,7 +2664,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) -- cgit v1.2.3