Fix wrong leafref path
[mdsal.git] / binding / mdsal-binding-test-model / src / main / yang / mdsal-182.yang
1 module mdsal-182 {
2     namespace "mdsal-182";
3     prefix "mdsal182";
4
5     grouping foo {
6         leaf foo {
7             type leafref {
8                 path "../bar";
9             }
10         }
11     }
12
13     container one {
14         leaf bar {
15             type string;
16         }
17         uses foo;
18     }
19
20     container two {
21         leaf bar {
22             type uint16;
23         }
24         uses foo;
25     }
26 }
27