Added support for source code generation from identity statement, grouping statement...
[controller.git] / opendaylight / sal / yang-prototype / code-generator / binding-java-api-generator / src / test / resources / yang / abstract-topology@2013-02-08.yang
index 7ed1f9950383076e01dd7eda51e468ba2e7d1798..8bdf32706bef854692088ea601e2a3c2afe15e86 100644 (file)
@@ -138,4 +138,34 @@ module abstract-topology {
             }
         }
     }
-}
\ No newline at end of file
+    
+    identity crypto-base {
+        description "crypto-base description";
+    }
+    
+    identity crypto-alg {
+        base crypto-base;
+        description "crypto-alg description";
+    }
+    
+    grouping target {
+        container nodes {
+            leaf source {
+                type int8;
+            }
+            leaf target {
+                type int16;
+            }
+        }
+        leaf id {
+            type string;
+        }
+    }
+    
+    leaf idreftest {
+        type identityref {
+            base crypto-alg;
+        }
+    }
+    
+}