Added validation of range and length constraints.
[controller.git] / opendaylight / sal / yang-prototype / code-generator / yang-model-parser-impl / src / test / resources / model / testfile3.yang
index 7aadc9a54fa36451f9b360ede8669e6a41cfa014..495653c96a744aa95442a9c154aeaba15c31e406 100644 (file)
@@ -39,6 +39,13 @@ module types3 {
             description "Description for augment holder";
         }
     }
+    
+    augment "/data:interfaces/data:ifEntry/t3:augment-holder/t1:schemas" {
+        when "if:leafType='ds1'";
+        leaf linkleaf {
+            type binary;
+        }
+    }
 
     container network {
         mnt:mountpoint point {