Bug 4145: Issue augmenting choice inside a list
[mdsal.git] / binding / mdsal-binding-generator-impl / src / test / resources / bug-4145 / foo.yang
1 module foo {
2     namespace "foo";
3     prefix foo;
4
5     container root-container {
6         uses grouping-with-node-and-choice {
7             augment "node/choice-in-grouping" {
8                 case two {
9                     leaf two {
10                         type string;
11                     }
12                 }
13             }
14         }
15     }
16
17     grouping grouping-with-node-and-choice {
18         container node {
19             uses grouping-with-choice;
20         }
21     }
22
23     grouping grouping-with-choice {
24         choice choice-in-grouping {
25             case one {
26                 leaf one {
27                     type string;
28                 }
29             }
30         }
31     }
32 }