9c003fef211d9028adfb5e75b7fd7f3eebdd19f4
[yangtools.git] / yang / yang-parser-impl / src / test / resources / semantic-statement-parser / model / subfoo.yang
1 submodule subfoo {
2     yang-version 1;
3
4     belongs-to foo {
5         prefix f;
6     }
7
8     import bar {
9         prefix "br";
10         revision-date 2013-07-03;
11     }
12
13     import baz {
14         prefix "bz";
15         revision-date 2013-02-27;
16     }
17
18     revision "2013-02-27" {
19     }
20
21     leaf id {
22         type br:int32-ext2 {
23             range "12..max";
24         }
25     }
26
27     leaf foo-id {
28         type f:identifier;
29     }
30
31     container sub-ext {
32         bz:c-define "MY_INTERFACES";
33     }
34
35     container sub-transfer {
36         choice how {
37             default input;
38             container input {
39             }
40             list output {
41                 leaf id {
42                     type string;
43                 }
44             }
45             case manual {
46                 leaf manual {
47                     type empty;
48                 }
49             }
50         }
51     }
52
53     anyxml sub-datas {
54         status obsolete;
55     }
56
57     extension sub-mountpoint {
58         argument "name" {
59             yin-element "true";
60         }
61     }
62
63     f:mountpoint "aaa";
64
65 }