Fix leafref-to-enum encoding
[mdsal.git] / binding / mdsal-binding-generator-impl / src / test / resources / mdsal552.yang
1 module mdsal552 {
2   prefix mdsal552;
3   namespace mdsal552;
4
5   leaf foo {
6     type enumeration {
7       enum one;
8     }
9   }
10
11   container baz {
12     leaf ref {
13       type leafref {
14         path /foo;
15       }
16     }
17   }
18
19   rpc bar {
20     input {
21       leaf ref {
22         type leafref {
23           path /foo;
24         }
25       }
26     }
27   }
28 }