Populate parser/ hierarchy
[yangtools.git] / parser / yang-parser-impl / src / test / resources / no-revision / module-without-revision.yang
diff --git a/parser/yang-parser-impl/src/test/resources/no-revision/module-without-revision.yang b/parser/yang-parser-impl/src/test/resources/no-revision/module-without-revision.yang
new file mode 100644 (file)
index 0000000..d4046d2
--- /dev/null
@@ -0,0 +1,27 @@
+module module-without-revision {
+
+    yang-version 1;
+    namespace "urn:simple.demo.test1";
+    prefix "mwr";
+
+    import ietf-inet-types {
+        prefix "inet";
+        revision-date 2010-09-24;
+    }
+
+    organization "opendaylight";
+    contact "WILL-BE-DEFINED-LATER";
+
+    typedef dscp-ext {
+        type inet:dscp {
+            range "min..max";
+        }
+    }
+
+    leaf id {
+        type inet:port-number {
+            range "0..65535";
+        }
+    }
+
+}