Fix YANG patch request for augmented element
[netconf.git] / restconf / restconf-nb-rfc8040 / src / test / resources / instanceidentifier / yang / test-model.yang
diff --git a/restconf/restconf-nb-rfc8040/src/test/resources/instanceidentifier/yang/test-model.yang b/restconf/restconf-nb-rfc8040/src/test/resources/instanceidentifier/yang/test-model.yang
new file mode 100644 (file)
index 0000000..39af1d1
--- /dev/null
@@ -0,0 +1,27 @@
+module test-m {\r
+  namespace "test-ns";\r
+  prefix test-m;\r
+\r
+  container container-root {\r
+    leaf leaf-lvl1 {\r
+      type string;\r
+    }\r
+\r
+    container container-lvl1 {\r
+      leaf leaf-lvl2 {\r
+        type string;\r
+      }\r
+\r
+      list list-lvl2 {\r
+        key list-lvl2-key;\r
+        leaf list-lvl2-key {\r
+          type string;\r
+        }\r
+\r
+        leaf leaf-lvl2 {\r
+          type string;\r
+        }\r
+      }\r
+    }\r
+  }\r
+}\r