Binding generator v2 - uses statement - uses inner type #2
[mdsal.git] / binding2 / mdsal-binding2-generator-impl / src / test / resources / uses-statement / test-uses-leaf-innertype2-base.yang
1 module test-uses-leaf-innertype2-base {
2     namespace "urn:test:uses:leaf:innertype2:base";
3     prefix uses-leaf;
4     revision 2017-08-09;
5
6     grouping my-grp {
7       leaf leaf-decimal64 {
8         description
9           "Minimum LSP Bandwidth. Units in bytes per second";
10         type decimal64 {
11           fraction-digits 2;
12         }
13       }
14
15       leaf leaf-union {
16         type union {
17           type int32;
18           type string;
19         }
20       }
21
22       leaf leaf-bits {
23         type bits {
24           bit path-computation-with-gmpls-link-constraints {
25             position 0;
26           }
27           bit bidirectional-path-computation {
28             position 1;
29           }
30           bit diverse-path-computation {
31             position 2;
32           }
33           bit load-balanced-path-computation {
34             position 3;
35           }
36           bit synchronized-path-computation {
37             position 4;
38           }
39           bit support-for-multiple-objective-functions {
40             position 5;
41           }
42           bit support-for-additive-path-constraints {
43             position 6;
44           }
45           bit support-for-request-prioritization {
46             position 7;
47           }
48           bit support-for-multiple-requests-per-message {
49             position 8;
50           }
51         }
52       }
53     }
54
55     container my-cont {
56       uses my-grp;
57     }
58 }