Bug 5550 - Omit the check of mandatory nodes in uses-augment
[yangtools.git] / yang / yang-parser-impl / src / test / resources / bugs / bug5550 / foo.yang
1 module foo {
2     namespace "foo";
3     prefix foo;
4     yang-version 1;
5
6     revision "2016-03-18" {
7         description "test";
8     }
9
10     grouping grouping-1 {
11         container container-in-grouping {
12         }
13     }
14
15     container root {
16     }
17
18     augment "/root" {
19         uses grouping-1 {
20             augment "container-in-grouping" {
21                 leaf leaf-1 {
22                     type string;
23                     mandatory true;
24                 }
25             }
26         }
27     }
28 }