Added check for mandatory nodes if augment target is in another module.
[yangtools.git] / yang / yang-parser-impl / src / test / resources / negative-scenario / testfile8.yang
diff --git a/yang/yang-parser-impl/src/test/resources/negative-scenario/testfile8.yang b/yang/yang-parser-impl/src/test/resources/negative-scenario/testfile8.yang
new file mode 100644 (file)
index 0000000..baf3557
--- /dev/null
@@ -0,0 +1,27 @@
+module testfile8 {
+    yang-version 1;
+    namespace "urn:simple.test8.demo";
+    prefix "t8";
+
+    organization "opendaylight";
+    contact "http://www.opendaylight.org/";
+    description "This is types-data test description";
+
+    revision "2013-08-03" {
+        reference " WILL BE DEFINED LATER";
+    }
+
+    container interfaces {
+        grouping ifEntry {
+            container augment-holder;
+        }
+        list ifEntry {
+            key "ifIndex";
+            leaf ifIndex {
+                type uint32;
+                units minutes;
+            }
+        }
+    }
+
+}