Bug 8237 - BI to BA conversion not resolving nested nodes
[mdsal.git] / binding / mdsal-binding-test-model / src / main / yang / opendaylight-bug-4798.yang
1 module opendaylight-bug-4798.yang {
2     namespace "urn:test:foo4798";
3     prefix foo;
4
5     revision 2016-01-01 {
6     }
7
8     container root {
9         choice bug4798-choice {
10             case case-a {
11                 list list-in-case {
12                     key "test-leaf";
13                     leaf test-leaf {
14                         type string;
15                         config true;
16                     }
17                 }
18             }
19             case case-b {
20                 container case-b-container {
21                     list list-in-case {
22                         key "test-leaf";
23                         leaf test-leaf {
24                             type string;
25                             config true;
26                         }
27                     }
28                 }
29             }
30         }
31         container outer-container {
32             leaf leaf-in-outer-container {
33                 type string;
34                 config true;
35             }
36         }
37     }
38 }