Bug 8307: Add the option for activating deviation statements
[yangtools.git] / yang / yang-parser-impl / src / test / resources / deviation-resolution-test / deviation-add / bar.yang
1 module bar {
2     namespace bar;
3     prefix bar;
4     yang-version 1.1;
5
6     revision 2017-01-20;
7
8     leaf-list my-leaf-list {
9         type int32;
10         default 50;
11     }
12
13     list my-list {
14         key key-leaf;
15
16         leaf key-leaf {
17             type string;
18         }
19
20         leaf my-leaf-a {
21             type string;
22         }
23
24         leaf my-leaf-b {
25             type string;
26         }
27
28         leaf my-leaf-c {
29             type string;
30         }
31
32         leaf my-leaf-d {
33             type string;
34         }
35     }
36
37     choice my-choice {
38         case c1 {
39             leaf c1-leaf {
40                 type string;
41                 default "heaven";
42             }
43         }
44
45         case c2 {
46             leaf c2-leaf {
47                 type string;
48                 default "hell";
49             }
50         }
51     }
52
53     rpc my-rpc {
54         input {
55             leaf my-rpc-input-leaf {
56                 type string;
57             }
58         }
59
60         output {
61             leaf my-rpc-output-leaf {
62                 type string;
63             }
64         }
65     }
66
67     notification my-notification {
68
69     }
70
71     anyxml my-anyxml {
72
73     }
74 }