Bug 2444 - fix of several issues in yang-model-export
[yangtools.git] / yang / yang-model-export / src / test / resources / bugs / bug2444 / yang / action.yang
diff --git a/yang/yang-model-export/src/test/resources/bugs/bug2444/yang/action.yang b/yang/yang-model-export/src/test/resources/bugs/bug2444/yang/action.yang
new file mode 100644 (file)
index 0000000..92a8a92
--- /dev/null
@@ -0,0 +1,34 @@
+module action {
+    namespace action;
+    prefix ac;
+    yang-version 1.1;
+
+    container root {
+        action a {
+            if-feature "my-feature-1 or my-feature-2";
+            status deprecated;
+            description "decs";
+            reference "ref";
+            typedef my-type {
+                type string;
+            }
+            grouping my-grp {
+                container con-in-grp {
+                }
+            }
+            input {
+                container i {
+                }
+            }
+            output {
+                container o {
+                }
+            }
+            ac:my-ext "arg-val";
+        }
+    }
+    
+    extension my-ext {
+        argument my-arg;
+    }
+}