6e448640a0971b8b9e8b791070659b3c0152d7ac
[yangtools.git] / yang / yang-parser-impl / src / test / resources / deviation-resolution-test / deviation-not-supported / root.yang
1 module root {
2     namespace root;
3     prefix root;
4
5     import imported {
6         prefix imp;
7         revision-date 2017-01-20;
8     }
9
10     revision 2017-01-20;
11
12     deviation "/my-cont-a/my-leaf-a1" {
13         deviate not-supported;
14     }
15
16     deviation "/my-cont-a/my-leaf-a2" {
17         deviate not-supported;
18     }
19
20     deviation "/my-cont-b" {
21         deviate not-supported;
22     }
23
24     deviation "/imp:my-cont-c/imp:my-leaf-c3" {
25         deviate not-supported;
26     }
27
28     container my-cont-a {
29         leaf my-leaf-a1 {
30             type int8;
31         }
32
33         leaf my-leaf-a2 {
34             type int16;
35         }
36
37         leaf my-leaf-a3 {
38             type int32;
39         }
40     }
41
42     container my-cont-b {
43         leaf my-leaf-b1 {
44             type int8;
45         }
46
47         leaf my-leaf-b2 {
48             type int16;
49         }
50
51         leaf my-leaf-b3 {
52             type int32;
53         }
54     }
55 }