YANGTOOLS-706: Split out yang-parser-rfc7950
[yangtools.git] / yang / yang-parser-rfc7950 / src / test / resources / bugs / bug5335 / correct / case-3 / bar.yang
1 module bar {
2     namespace "bar";
3     prefix bar;
4     yang-version 1;
5
6     import foo { prefix foo; revision-date 2016-03-04; }
7
8     revision "2016-03-04" {
9         description "test";
10     }
11
12     augment "/foo:root" {
13         container presence-container {
14             presence "presence-container";
15         }
16     }
17
18     augment "/foo:root/bar:presence-container" {
19         container non-presence-container {
20         }
21     }
22
23     augment "/foo:root/bar:presence-container/bar:non-presence-container" {
24         leaf mandatory-leaf {
25             type string;
26             mandatory true;
27         }
28     }
29 }