diff --git a/ryu/tests/packet_data/of15/libofproto-OFP15-table_features_request.packet b/ryu/tests/packet_data/of15/libofproto-OFP15-table_features_request.packet new file mode 100644 index 00000000..706d8756 Binary files /dev/null and b/ryu/tests/packet_data/of15/libofproto-OFP15-table_features_request.packet differ diff --git a/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-table_features_request.packet.json b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-table_features_request.packet.json new file mode 100644 index 00000000..986e1439 --- /dev/null +++ b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-table_features_request.packet.json @@ -0,0 +1,38 @@ +{ + "OFPTableFeaturesStatsRequest": { + "body": [ + { + "OFPTableFeaturesStats": { + "capabilities": 4, + "command": 1, + "features": 1, + "length": 80, + "max_entries": 255, + "metadata_match": 18446744073709551615, + "metadata_write": 18446744073709551615, + "name": "table1", + "properties": [ + { + "OFPTableFeaturePropOxmValues": { + "length": 14, + "oxm_values": [ + { + "OXMTlv": { + "field": "eth_src", + "mask": null, + "value": "aa:bb:cc:dd:ee:ff" + } + } + ], + "type": 22 + } + } + ], + "table_id": 1 + } + } + ], + "flags": 0, + "type": 12 + } +}