Merge "1. Corrected Ip Protocol match field. 2. Added mask for Ipv6 Extension header...
authorEd Warnicke <eaw@cisco.com>
Fri, 6 Dec 2013 17:46:06 +0000 (17:46 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Fri, 6 Dec 2013 17:46:06 +0000 (17:46 +0000)
opendaylight/md-sal/model/model-flow-base/src/main/yang/match-types.yang

index f58f6a4..5ba92ab 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;
+            }
         }
     }