Merge branch 'master' of ../controller
[yangtools.git] / yang / yang-data-jaxen / src / test / resources / yang-xpath-functions-test / derived-from-function / bar.yang
1 module bar {
2     namespace bar-ns;
3     prefix bar-prefix;
4     yang-version 1.1;
5
6     import foo {
7         prefix foo-prefix;
8         revision-date 2017-04-03;
9     }
10
11     revision 2017-04-03;
12
13     identity id-b3;
14     identity id-b4;
15
16     identity id-c2 {
17         base foo-prefix:id-b2;
18         base id-b3;
19         base id-b4;
20     }
21
22     container my-container {
23         list my-list {
24             key key-leaf;
25
26             leaf key-leaf {
27                 type string;
28             }
29
30             leaf idref-leaf {
31                 type identityref {
32                     base foo-prefix:id-a3;
33                 }
34             }
35         }
36     }
37 }