Bug 1411: Design Binding specification v2
[mdsal.git] / binding2 / prototype / src / main / yang / mainYangTestImporting.yang
diff --git a/binding2/prototype/src/main/yang/mainYangTestImporting.yang b/binding2/prototype/src/main/yang/mainYangTestImporting.yang
new file mode 100644 (file)
index 0000000..4a56191
--- /dev/null
@@ -0,0 +1,35 @@
+module mainYangTestImporting {
+    namespace "urn:test:mainYangTestImporting";
+    prefix myti;
+
+    revision 2016-01-01 {
+        description "imported yang for testing spec v2";
+    }
+
+    import mainYangTest {
+        prefix imp;
+        revision-date 2016-01-01;
+    }
+
+    augment "imp:main-cont" {
+        leaf imported-augmented-leaf-1 {
+            type string;
+        }
+    }
+
+    augment "imp:main-cont" {
+        leaf imported-augmented-leaf-2 {
+            type string;
+        }
+    }
+
+    container importing-container {
+        uses imp:main-group;
+    }
+
+    augment "importing-container/main-group-cont" {
+        leaf imported-augmented-leaf-3 {
+            type string;
+        }
+    }
+}
\ No newline at end of file