diff options
author | Simon Horman <horms@verge.net.au> | 2014-02-26 16:26:10 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-02-27 13:59:39 +0900 |
commit | 1c6b6e0bf3b039a539e44f49fb1c2e17599ae79f (patch) | |
tree | 2cdf38b652e47acc08345ef137cfb06e5b4bf171 | |
parent | d86c96c49beea7b1311361a6b83b22fefef4930e (diff) |
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 <horms@verge.net.au>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/ofproto/ofproto_v1_4_parser.py | 4 |
1 files 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) |