diff --git a/ryu/tests/unit/ofproto/json/of12/3-61-ofp_group_stats_request.packet.json b/ryu/tests/unit/ofproto/json/of12/3-61-ofp_group_stats_request.packet.json new file mode 100644 index 00000000..2d1afdc0 --- /dev/null +++ b/ryu/tests/unit/ofproto/json/of12/3-61-ofp_group_stats_request.packet.json @@ -0,0 +1,6 @@ +{ + "OFPGroupStatsRequest": { + "flags": 0, + "group_id": 4294967292 + } +} diff --git a/ryu/tests/unit/ofproto/json/of12/3-62-ofp_group_stats_reply.packet.json b/ryu/tests/unit/ofproto/json/of12/3-62-ofp_group_stats_reply.packet.json new file mode 100644 index 00000000..8cb8f8ce --- /dev/null +++ b/ryu/tests/unit/ofproto/json/of12/3-62-ofp_group_stats_reply.packet.json @@ -0,0 +1,25 @@ +{ + "OFPStatsReply": { + "body": [ + { + "OFPGroupStats": { + "bucket_counters": [ + { + "OFPBucketCounter": { + "byte_count": 2345, + "packet_count": 234 + } + } + ], + "byte_count": 12345, + "group_id": 1, + "length": 48, + "packet_count": 123, + "ref_count": 2 + } + } + ], + "flags": 0, + "type": 6 + } +}