Added support to generate interfaces from Choices and Cases.
[controller.git] / opendaylight / sal / yang-prototype / code-generator / yang-model-parser-impl / src / test / resources / model / testfile3.yang
index b203124a9fb50c8c54d2df14fed8e4b3f82fe8a1..495653c96a744aa95442a9c154aeaba15c31e406 100644 (file)
@@ -39,17 +39,24 @@ 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 {
-               mnt:target-ref target;
+            mnt:target-ref target;
         }
         
-           description "network-description";
-           reference "network-reference";
-           status obsolete;
-           config true;
-           presence "some presence text";
+        description "network-description";
+        reference "network-reference";
+        status obsolete;
+        config true;
+        presence "some presence text";
     }
 
     feature local-storage {