1. Corrected Ip Protocol match field. 30/3530/1
authorDeepthi V V <deepthi.v.v@ericsson.com>
Fri, 6 Dec 2013 12:40:50 +0000 (18:10 +0530)
committerDeepthi V V <deepthi.v.v@ericsson.com>
Fri, 6 Dec 2013 12:42:19 +0000 (18:12 +0530)
2. Added mask for Ipv6 Extension header match field

Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com>
Change-Id: Ib3f6636475f228ad7bb53f02ad0883bc6bc2d9e3

opendaylight/md-sal/model/model-flow-base/src/main/yang/match-types.yang

index f58f6a459741e569578c5133b8e6d118e953d2a6..5ba92aba9d2f242be04e05b11e18892872d53c3f 100644 (file)
@@ -91,11 +91,6 @@ module opendaylight-match-types {
             description "IP ECN (2 bits in ToS field).";
             type uint8; 
         }
-        
-        leaf ip-proto {
-            description "IP Proto (IPv4 or IPv6 Protocol Number).";
-            type inet:ip-version; 
-        }
     } 
     
     grouping "ipv4-match-fields" {
@@ -146,10 +141,16 @@ module opendaylight-match-types {
             description "Link layer target address for neighbour discovery message";
             type yang:mac-address;
         }
-            
-        leaf ipv6-exthdr {
-            description "IPv6 Extension Header field";
-            type uint16;
+        
+        container "ipv6-ext-header" {    
+            leaf ipv6-exthdr {
+                description "IPv6 Extension Header field";
+                type uint16;
+            }
+
+            leaf ipv6-exthdr-mask {
+                type binary;
+            }
         }
     }