076ce7952ede31922f295b9ecf3bce7bd7d3de2e
[yangtools.git] / yang / yang-parser-impl / src / test / resources / bugs / bug9244 / foo.yang
1 module foo {
2     namespace foo;
3     prefix foo;
4
5     import bar {
6         prefix bar;
7     }
8
9     revision 2017-10-13;
10
11     deviation "/bar:bar-cont" {
12         deviate replace {
13             config false;
14         }
15     }
16
17     deviation "/bar:bar-leaf-list" {
18         deviate replace {
19             min-elements 5;
20             max-elements 10;
21         }
22     }
23
24     deviation "/bar:bar-leaf" {
25         deviate replace {
26             mandatory true;
27         }
28     }
29 }