Adjust test suite parser update to conform with API changes
[yangtools.git] / yang / yang-parser-impl / src / test / resources / semantic-statement-parser / effective-module / root.yang
1 module root {
2     namespace root-ns;
3     prefix root-pref;
4
5     yang-version 1;
6     
7     import imported { prefix imp-pref; revision-date "2000-01-01"; }
8     include submod;
9     
10     organization "cisco";
11     contact "cisco email";
12
13     container cont-helper {
14         choice cont-choice {
15             case c1 {
16             }
17             case c2 {
18             }
19         }
20     }
21
22     container cont {
23         must "../cont-helper" {
24             error-message "this is an error if helper not present";
25         }
26     }
27
28     augment "/cont" {
29         container cont-aug {
30         }
31     }
32
33     notification notif1 {
34     }
35
36     rpc rpc1 {
37     }
38
39     deviation /imp-pref:cont {
40         deviate add {
41         }
42         reference "deviate reference";
43     }
44
45     identity identity1 {
46     }
47
48     feature feature1 {
49         description "feature1 description";
50         reference "feature1 reference";
51         status "current";
52     }
53
54     extension ext1 {
55     }
56 }