Bug 1411: Design Binding specification v2
[mdsal.git] / binding2 / prototype / src / main / yang / mainYangTestImporting.yang
1 module mainYangTestImporting {
2     namespace "urn:test:mainYangTestImporting";
3     prefix myti;
4
5     revision 2016-01-01 {
6         description "imported yang for testing spec v2";
7     }
8
9     import mainYangTest {
10         prefix imp;
11         revision-date 2016-01-01;
12     }
13
14     augment "imp:main-cont" {
15         leaf imported-augmented-leaf-1 {
16             type string;
17         }
18     }
19
20     augment "imp:main-cont" {
21         leaf imported-augmented-leaf-2 {
22             type string;
23         }
24     }
25
26     container importing-container {
27         uses imp:main-group;
28     }
29
30     augment "importing-container/main-group-cont" {
31         leaf imported-augmented-leaf-3 {
32             type string;
33         }
34     }
35 }