Adjust test suite parser update to conform with API changes
[yangtools.git] / yang / yang-parser-rfc7950 / src / test / resources / semantic-statement-parser / ext-use.yang
1 module ext-use {
2     yang-version 1;
3     namespace "urn:simple.extension.use";
4     prefix "ext-use";
5
6     import ext-typedef {
7         prefix "ext";
8     }
9
10     organization "opendaylight";
11     contact "http://www.opendaylight.org/";
12
13     description "Model for testing of used extensions across model.";
14
15     revision "2015-03-30" {
16         reference "Initial revision.";
17     }
18
19     leaf value {
20       ext:simple-ext-w-arg "key:value";
21       type uint32;
22       description "value";
23     }
24
25     grouping inner-ext {
26         ext:simple-ext-w-arg "value:test";
27
28         leaf inner-value {
29           ext:simple-ext-w-arg "key:inner-value";
30           type uint32;
31           description "value";
32         }
33     }
34
35     container cont-ext {
36         ext:simple-ext-w-arg "value:test";
37
38         leaf inner-value {
39             ext:simple-ext-w-arg "value:test";
40             type string;
41         }
42     }
43 }