Split Restconf implementations (draft02 and RFC) - Prepare modules
[netconf.git] / restconf / restconf-nb-bierman02 / src / test / resources / json-to-nn / leafref / leafref-module.yang
diff --git a/restconf/restconf-nb-bierman02/src/test/resources/json-to-nn/leafref/leafref-module.yang b/restconf/restconf-nb-bierman02/src/test/resources/json-to-nn/leafref/leafref-module.yang
new file mode 100644 (file)
index 0000000..9b124a0
--- /dev/null
@@ -0,0 +1,24 @@
+module leafref-module {
+  namespace "leafref:module";  
+
+  prefix "lfrfmo";
+  
+  import augment-leafref-module {prefix augleafref; revision-date 2014-12-16;}
+  revision 2013-11-18 {    
+  }
+
+    container cont {
+        leaf lf1 {
+            type int32;
+        }
+        leaf lf2 {
+            type leafref {
+                path "/cont/lf1"; 
+            }
+        }
+        leaf lf4 {
+            type augleafref:leafreftype;
+        }
+    }
+  
+}
\ No newline at end of file