Bug 8237 - BI to BA conversion not resolving nested nodes
[mdsal.git] / binding / mdsal-binding-test-model / src / main / yang / opendaylight-bug-6006.yang
1 module opendaylight-bug-6006 {
2     namespace "urn:opendaylight:params:xml:ns:yang:mdsal:test:bug:6006";
3     prefix bug-6006-test;
4
5     description
6         "This module contains test case for bug 6006.
7          https://bugs.opendaylight.org/show_bug.cgi?id=6006";
8
9     revision "2016-06-07" {
10         description
11         "Test model for testing union data types.";
12     }
13
14     identity ident-base;
15     identity ident-one {
16         base ident-base;
17     }
18     identity ident-two {
19         base ident-base;
20     }
21
22     typedef union-type {
23         type union {
24             type uint8;
25             type identityref {
26                 base ident-base;
27             }
28         }
29     }
30
31     container union-node {
32         leaf value {
33             type union-type;
34         }
35     }
36 }