Binding generator v2 - uses statement - support list
[mdsal.git] / binding2 / mdsal-binding2-generator-impl / src / test / resources / uses-statement / test-typeref2.yang
1 module test-typeref2 {
2     yang-version 1.1;
3
4     namespace "urn:test:typeref2";
5     prefix test-typeref2;
6
7     typedef lsp-flag {
8         type enumeration {
9             enum unprotected {
10                 value 0;
11             }
12             enum full-rerouting {
13                 value 1;
14             }
15         }
16     }
17
18     grouping protection-subobject {
19         container protection-subobject {
20             leaf lsp-flag {
21                 type lsp-flag;
22                 mandatory true;
23             }
24         }
25     }
26
27     container my-cont {
28         uses protection-subobject;
29     }
30 }