Modified construction of built-in yang types.
[controller.git] / opendaylight / sal / yang-prototype / code-generator / yang-model-parser-impl / src / test / resources / model / testfile2.yang
index 8860e06622fee0d1128649f3386a392138d35aa2..904c8e66fd2c3d8dd8ad9dc2f32588604ffc867f 100644 (file)
@@ -114,6 +114,12 @@ module types2 {
     leaf name {
         type string;
     }
+    
+    leaf count {
+        type int8 {
+            range "1..10";
+        }
+    }
      
     leaf nested-type-leaf {
         type my-type1;