Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
 .../json/of12/3-11-ofp_flow_stats_request.packet.json    |  4 +++-
 .../json/of12/3-12-ofp_flow_stats_reply.packet.json      | 16 ++++++++++++----
 .../unit/ofproto/json/of12/3-2-ofp_flow_mod.packet.json  |  4 +++-
 .../of12/3-25-ofp_aggregate_stats_request.packet.json    |  4 +++-
 .../unit/ofproto/json/of12/3-3-ofp_flow_mod.packet.json  |  4 +++-
 .../unit/ofproto/json/of12/3-4-ofp_packet_in.packet.json |  4 +++-
 .../ofproto/json/of12/3-40-ofp_flow_removed.packet.json  |  4 +++-
 7 files changed, 30 insertions(+), 10 deletions(-)

diff --git 
a/ryu/tests/unit/ofproto/json/of12/3-11-ofp_flow_stats_request.packet.json 
b/ryu/tests/unit/ofproto/json/of12/3-11-ofp_flow_stats_request.packet.json
index c723d76..d12cac7 100644
--- a/ryu/tests/unit/ofproto/json/of12/3-11-ofp_flow_stats_request.packet.json
+++ b/ryu/tests/unit/ofproto/json/of12/3-11-ofp_flow_stats_request.packet.json
@@ -5,7 +5,9 @@
       "flags": 0, 
       "match": {
          "OFPMatch": {
-            "oxm_fields": []
+            "length": 4, 
+            "oxm_fields": [], 
+            "type": 1
          }
       }, 
       "out_group": 4294967295, 
diff --git 
a/ryu/tests/unit/ofproto/json/of12/3-12-ofp_flow_stats_reply.packet.json 
b/ryu/tests/unit/ofproto/json/of12/3-12-ofp_flow_stats_reply.packet.json
index f2e382b..19cddf0 100644
--- a/ryu/tests/unit/ofproto/json/of12/3-12-ofp_flow_stats_reply.packet.json
+++ b/ryu/tests/unit/ofproto/json/of12/3-12-ofp_flow_stats_reply.packet.json
@@ -12,7 +12,9 @@
                "instructions": [], 
                "match": {
                   "OFPMatch": {
-                     "oxm_fields": []
+                     "length": 4, 
+                     "oxm_fields": [], 
+                     "type": 1
                   }
                }, 
                "packet_count": 0, 
@@ -48,6 +50,7 @@
                ], 
                "match": {
                   "OFPMatch": {
+                     "length": 10, 
                      "oxm_fields": [
                         {
                            "OXMTlv": {
@@ -56,7 +59,8 @@
                               "value": 2054
                            }
                         }
-                     ]
+                     ], 
+                     "type": 1
                   }
                }, 
                "packet_count": 0, 
@@ -83,6 +87,7 @@
                ], 
                "match": {
                   "OFPMatch": {
+                     "length": 22, 
                      "oxm_fields": [
                         {
                            "OXMTlv": {
@@ -98,7 +103,8 @@
                               "value": "f2:0b:a4:7d:f8:ea"
                            }
                         }
-                     ]
+                     ], 
+                     "type": 1
                   }
                }, 
                "packet_count": 3, 
@@ -134,7 +140,9 @@
                ], 
                "match": {
                   "OFPMatch": {
-                     "oxm_fields": []
+                     "length": 4, 
+                     "oxm_fields": [], 
+                     "type": 1
                   }
                }, 
                "packet_count": 1, 
diff --git a/ryu/tests/unit/ofproto/json/of12/3-2-ofp_flow_mod.packet.json 
b/ryu/tests/unit/ofproto/json/of12/3-2-ofp_flow_mod.packet.json
index 7fb726e..313190a 100644
--- a/ryu/tests/unit/ofproto/json/of12/3-2-ofp_flow_mod.packet.json
+++ b/ryu/tests/unit/ofproto/json/of12/3-2-ofp_flow_mod.packet.json
@@ -38,6 +38,7 @@
       ], 
       "match": {
          "OFPMatch": {
+            "length": 14, 
             "oxm_fields": [
                {
                   "OXMTlv": {
@@ -46,7 +47,8 @@
                      "value": "f2:0b:a4:7d:f8:ea"
                   }
                }
-            ]
+            ], 
+            "type": 1
          }
       }, 
       "out_group": 4294967295, 
diff --git 
a/ryu/tests/unit/ofproto/json/of12/3-25-ofp_aggregate_stats_request.packet.json 
b/ryu/tests/unit/ofproto/json/of12/3-25-ofp_aggregate_stats_request.packet.json
index d09f532..cc3d76f 100644
--- 
a/ryu/tests/unit/ofproto/json/of12/3-25-ofp_aggregate_stats_request.packet.json
+++ 
b/ryu/tests/unit/ofproto/json/of12/3-25-ofp_aggregate_stats_request.packet.json
@@ -5,7 +5,9 @@
       "flags": 0, 
       "match": {
          "OFPMatch": {
-            "oxm_fields": []
+            "length": 4, 
+            "oxm_fields": [], 
+            "type": 1
          }
       }, 
       "out_group": 4294967295, 
diff --git a/ryu/tests/unit/ofproto/json/of12/3-3-ofp_flow_mod.packet.json 
b/ryu/tests/unit/ofproto/json/of12/3-3-ofp_flow_mod.packet.json
index 012f650..cd68b51 100644
--- a/ryu/tests/unit/ofproto/json/of12/3-3-ofp_flow_mod.packet.json
+++ b/ryu/tests/unit/ofproto/json/of12/3-3-ofp_flow_mod.packet.json
@@ -18,6 +18,7 @@
       ], 
       "match": {
          "OFPMatch": {
+            "length": 22, 
             "oxm_fields": [
                {
                   "OXMTlv": {
@@ -33,7 +34,8 @@
                      "value": "f2:0b:a4:7d:f8:ea"
                   }
                }
-            ]
+            ], 
+            "type": 1
          }
       }, 
       "out_group": 4294967295, 
diff --git a/ryu/tests/unit/ofproto/json/of12/3-4-ofp_packet_in.packet.json 
b/ryu/tests/unit/ofproto/json/of12/3-4-ofp_packet_in.packet.json
index 3f60b48..b211934 100644
--- a/ryu/tests/unit/ofproto/json/of12/3-4-ofp_packet_in.packet.json
+++ b/ryu/tests/unit/ofproto/json/of12/3-4-ofp_packet_in.packet.json
@@ -4,6 +4,7 @@
       "data": "////////8gukffjqCAYAAQgABgQAAfILpH346goAAAEAAAAAAAAKAAAD", 
       "match": {
          "OFPMatch": {
+            "length": 80, 
             "oxm_fields": [
                {
                   "OXMTlv": {
@@ -68,7 +69,8 @@
                      "value": "00:00:00:00:00:00"
                   }
                }
-            ]
+            ], 
+            "type": 1
          }
       }, 
       "reason": 1, 
diff --git a/ryu/tests/unit/ofproto/json/of12/3-40-ofp_flow_removed.packet.json 
b/ryu/tests/unit/ofproto/json/of12/3-40-ofp_flow_removed.packet.json
index 3edd739..994953e 100644
--- a/ryu/tests/unit/ofproto/json/of12/3-40-ofp_flow_removed.packet.json
+++ b/ryu/tests/unit/ofproto/json/of12/3-40-ofp_flow_removed.packet.json
@@ -8,6 +8,7 @@
       "idle_timeout": 3, 
       "match": {
          "OFPMatch": {
+            "length": 14, 
             "oxm_fields": [
                {
                   "OXMTlv": {
@@ -16,7 +17,8 @@
                      "value": "f2:0b:a4:7d:f8:ea"
                   }
                }
-            ]
+            ], 
+            "type": 1
          }
       }, 
       "packet_count": 1, 
-- 
1.8.3.1


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to