Adjust test suite parser update to conform with API changes
[yangtools.git] / yang / yang-parser-rfc7950 / src / test / resources / rfc7950 / model / subfoo.yang
1 submodule subfoo {
2     yang-version 1.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     augment "/br:interfaces/br:ifEntry/bz:augment-holder" {
58         when "if:ifType='ds0'";
59         leaf subleaf {
60             type string;
61         }
62     }
63
64     extension sub-mountpoint {
65         argument "name" {
66             yin-element "true";
67         }
68     }
69
70 }