diff options
-rw-r--r-- | ryu/tests/packet_data/of15/libofproto-OFP15-group_desc_reply.packet | bin | 0 -> 64 bytes | |||
-rw-r--r-- | ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-group_desc_reply.packet.json | 45 |
2 files changed, 45 insertions, 0 deletions
diff --git a/ryu/tests/packet_data/of15/libofproto-OFP15-group_desc_reply.packet b/ryu/tests/packet_data/of15/libofproto-OFP15-group_desc_reply.packet Binary files differnew file mode 100644 index 00000000..6420c149 --- /dev/null +++ b/ryu/tests/packet_data/of15/libofproto-OFP15-group_desc_reply.packet diff --git a/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-group_desc_reply.packet.json b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-group_desc_reply.packet.json new file mode 100644 index 00000000..03c136d7 --- /dev/null +++ b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-group_desc_reply.packet.json @@ -0,0 +1,45 @@ +{ + "OFPGroupDescStatsReply": { + "body": [ + { + "OFPGroupDescStats": { + "bucket_array_len": 32, + "buckets": [ + { + "OFPBucket": { + "action_array_len": 16, + "actions": [ + { + "OFPActionOutput": { + "len": 16, + "max_len": 65509, + "port": 1, + "type": 0 + } + } + ], + "bucket_id": 65535, + "len": 32, + "properties": [ + { + "OFPGroupBucketPropWeight": { + "length": 8, + "type": 0, + "weight": 65535 + } + } + ] + } + } + ], + "group_id": 1, + "length": 48, + "properties": [], + "type": 1 + } + } + ], + "flags": 0, + "type": 7 + } +} |