Binding generator v2 - uses statement - support choice
[mdsal.git] / binding2 / mdsal-binding2-generator-impl / src / test / resources / uses-statement / test-uses-choice.yang
1 module test-uses-choice {
2     yang-version 1.1;
3
4     namespace "urn:test:uses:choice";
5     prefix test-uses-choice;
6     organization "test.type.org";
7     revision "2017-06-30";
8
9     grouping my-grouping {
10         choice my-choice {
11             case my-case {
12                 leaf my-leaf {
13                     type string;
14                 }
15             }
16         }
17     }
18
19     container my-cont {
20         uses my-grouping;
21     }
22 }