Signed-off-by: IWASE Yusuke <[email protected]>
---
 ryu/tests/unit/ofproto/test_parser_ofpmatch.py | 29 ++++++++++++++++++++------
 1 file changed, 23 insertions(+), 6 deletions(-)

diff --git a/ryu/tests/unit/ofproto/test_parser_ofpmatch.py 
b/ryu/tests/unit/ofproto/test_parser_ofpmatch.py
index 48ed05b..5beaa67 100644
--- a/ryu/tests/unit/ofproto/test_parser_ofpmatch.py
+++ b/ryu/tests/unit/ofproto/test_parser_ofpmatch.py
@@ -185,6 +185,28 @@ def _add_tests():
         ('ipv6_nd_tll', Mac),
         ('mpls_label', Int4),
         ('mpls_tc', Int1),
+        # Old ONF Experimenter --> OpenFlow Basic (OF1.4+)
+        ('pbb_uca', Int1),
+        # ONF Experimenter --> OpenFlow Basic (OF1.5+)
+        ('tcp_flags', Int2),
+        ('actset_output', Int4),
+        # Nicira Experimenter
+        ('eth_dst_nxm', Mac),
+        ('eth_src_nxm', Mac),
+        ('tunnel_id_nxm', Int8),
+        ('tun_ipv4_src', IPv4),
+        ('tun_ipv4_dst', IPv4),
+        ('pkt_mark', Int4),
+        ('conj_id', Int4),
+        ('_dp_hash', Int4),
+        ('reg0', Int4),
+        ('reg1', Int4),
+        ('reg2', Int4),
+        ('reg3', Int4),
+        ('reg4', Int4),
+        ('reg5', Int4),
+        ('reg6', Int4),
+        ('reg7', Int4),
         # Common Experimenter
         ('field_100', B64),
     ]
@@ -203,14 +225,9 @@ def _add_tests():
         ('tunnel_id', Int8),
         ('ipv6_exthdr', Int2),
     ]
-    L[ofproto_v1_4_parser] = L[ofproto_v1_3_parser] + [
-        # OpenFlow Basic (OF1.4+)
-        ('pbb_uca', Int1),
-    ]
+    L[ofproto_v1_4_parser] = L[ofproto_v1_3_parser]
     L[ofproto_v1_5_parser] = L[ofproto_v1_4_parser] + [
         # OpenFlow Basic (OF1.5+)
-        ('tcp_flags', Int2),
-        ('actset_output', Int4),
         ('packet_type', Int4),
     ]
 
-- 
1.9.1


------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to