5d626a59f81e7da3281bfd717e427ab33b64065c
[yangtools.git] / yang / yang-parser-impl / src / test / resources / rfc7950 / bug6883 / foo.yang
1 module foo {
2     namespace "foo";
3     prefix foo;
4     yang-version 1.1;
5
6     include sub-foo;
7
8     anydata top {
9         description "top anydata";
10         status deprecated;
11         mandatory true;
12         must "1!=0";
13     }
14
15     container root {
16         anydata root-anydata;
17     }
18
19     list my-list {
20         anydata list-anydata;
21     }
22
23     rpc my-rpc {
24         input {
25             anydata input-anydata;
26         }
27         output {
28             anydata output-anydata;
29         }
30     }
31
32     notification my-notification {
33         anydata notification-anydata;
34     }
35
36     choice my-choice {
37         case one {
38             anydata case-anydata;
39         }
40         anydata case-shorthand-anydata;
41     }
42
43     grouping grp {
44         anydata grp-anydata;
45     }
46
47     augment "/root" {
48         uses grp;
49         anydata aug-anydata;
50     }
51 }