Bug 5335: augmenting a mandatory node on a presence container
[yangtools.git] / yang / yang-parser-impl / src / test / resources / bugs / bug5335 / correct / case-4 / foo.yang
1 module foo {
2     namespace "foo";
3     prefix foo;
4     yang-version 1;
5
6     revision "2016-03-04" {
7         description "test";
8     }
9
10     container root {
11     }
12
13     augment "/root" {
14         container non-presence-container {
15         }
16     }
17
18     augment "/root/non-presence-container" {
19         leaf mandatory-leaf {
20             type string;
21             mandatory true;
22         }
23     }
24 }