6cb9f6940dfda366287bb23c85ca6a81d2c39140
[yangtools.git] / yang / yang-parser-impl / src / test / resources / added-by-uses-leaf-test / import-module.yang
1 module import-module {
2     prefix imp;
3     namespace "import-module";
4
5     revision 1970-01-02 {
6         description "Initial revision.";
7     }
8
9     typedef imp-type {
10         type string {
11             length "0..100";
12         }
13     }
14
15     grouping imp_grp {
16         
17         typedef grp-type {
18             type string {
19                 length "20..30";
20             }
21         }
22
23         leaf my-leaf2 {
24             type grp-type;
25         }
26         
27         leaf union-leaf {
28             type union {
29                 type int16;
30                 type string;
31             }
32         }
33     }
34 }
35