Added getParent() method to DataSchemaNode and DataNodeContainer. Fixed Bugs.
[yangtools.git] / yang / yang-parser-impl / src / test / resources / model / foo.yang
index 126a97728136857265e0e9d10ce617530093e2a0..0769f4231c0a9eb3971b8045f2ef201fb138fa0c 100644 (file)
@@ -173,6 +173,7 @@ module foo {
                             "(ifType = 'ethernet' and ifMTU = 1500)" {
                         error-message "An ethernet MTU must be 1500";
                     }
+                    mountpoint "mnt-extension";
                 }
                 refine port {
                     description "description of port defined by refine";
@@ -194,4 +195,11 @@ module foo {
         }
     }
 
+    extension mountpoint {
+        description "enter point";
+        argument "name" {
+            yin-element "true";
+        }
+    }
+
 }