Hide binding.model.api.DefaultType
[mdsal.git] / binding / mdsal-binding-generator / src / test / resources / bug4621.yang
1 module foo {
2     namespace "foo";
3     prefix foo;
4     revision "2015-11-11";
5
6     list neighbor {
7         description
8            "List of neighbors.";
9         leaf neighbor-id {
10             type leafref {
11                 path "../../neighbor/mystring";
12             }
13             description "Neighbor.";
14         }
15
16         leaf neighbor2-id {
17             type leafref {
18                 path "/foo:neighbor/foo:mystring1";
19             }
20         }
21
22         leaf mystring {
23             type string;
24         }
25     }
26 }