summaryrefslogtreecommitdiffhomepage
path: root/tests/unit/ofproto/json/of15/libofproto-OFP15-flow_stats_reply.packet.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/ofproto/json/of15/libofproto-OFP15-flow_stats_reply.packet.json')
-rw-r--r--tests/unit/ofproto/json/of15/libofproto-OFP15-flow_stats_reply.packet.json44
1 files changed, 44 insertions, 0 deletions
diff --git a/tests/unit/ofproto/json/of15/libofproto-OFP15-flow_stats_reply.packet.json b/tests/unit/ofproto/json/of15/libofproto-OFP15-flow_stats_reply.packet.json
new file mode 100644
index 00000000..e2713569
--- /dev/null
+++ b/tests/unit/ofproto/json/of15/libofproto-OFP15-flow_stats_reply.packet.json
@@ -0,0 +1,44 @@
+{
+ "OFPFlowStatsReply": {
+ "body": [
+ {
+ "OFPFlowStats": {
+ "length": 40,
+ "match": {
+ "OFPMatch": {
+ "length": 12,
+ "oxm_fields": [
+ {
+ "OXMTlv": {
+ "field": "in_port",
+ "mask": null,
+ "value": 1
+ }
+ }
+ ],
+ "type": 1
+ }
+ },
+ "priority": 1,
+ "reason": 0,
+ "stats": {
+ "OFPStats": {
+ "length": 12,
+ "oxs_fields": [
+ {
+ "OXSTlv": {
+ "field": "flow_count",
+ "value": 1
+ }
+ }
+ ]
+ }
+ },
+ "table_id": 1
+ }
+ }
+ ],
+ "flags": 0,
+ "type": 17
+ }
+}