Bug 7759 - TEST - Getter of BA object fails to construct class instance
[mdsal.git] / binding / mdsal-binding-dom-adapter / src / test / resources / test.yang
diff --git a/binding/mdsal-binding-dom-adapter/src/test/resources/test.yang b/binding/mdsal-binding-dom-adapter/src/test/resources/test.yang
new file mode 100644 (file)
index 0000000..fec593d
--- /dev/null
@@ -0,0 +1,26 @@
+module test{
+    namespace "urn:test";
+    prefix tst;
+
+    revision 2017-01-01;
+
+    typedef id {
+        type uint16 {
+          range "1..4094";
+        }
+    }
+
+    container cont{
+        leaf vlan-id {
+            type union {
+              type id;
+              type enumeration {
+                enum "any" {
+                  value 4096;
+                }
+              }
+            }
+            mandatory true;
+          }
+    }
+}
\ No newline at end of file