Pick up byte-buddy from yangtools
[mdsal.git] / binding / mdsal-binding-generator / src / test / resources / leafref-valid.yang
1 module leafref-valid {
2     namespace "urn:xml:ns:yang:lrv";
3     prefix lrv;
4     revision "2015-02-25";
5
6     list neighbor {
7         description "List of neighbors.";
8         leaf neighbor-id {
9             type leafref {
10                 path "../../neighbor/mystring";
11             }
12             description "Neighbor.";
13         }
14
15         leaf neighbor2-id {
16             type leafref {
17                 path "/lrv:neighbor/lrv:mystring";
18             }
19         }
20
21         leaf mystring {
22             type string;
23         }
24     }
25 }