blob: 8682aac8cfb461b09e3973fcc3bce8df97dfd27a [file] [log] [blame]
Mahesh Poojary Huawei46fb4db2016-07-14 12:38:17 +05301module Test {
2 yang-version 1;
3 namespace http://huawei.com;
4 prefix Ant;
5
6 typedef topDecimal {
7 type decimal64 {
8 fraction-digits 4;
9 }
10 }
11
Mahesh Poojary Huawei30c116a2016-07-14 17:49:50 +053012 typedef midDecimal {
Mahesh Poojary Huawei46fb4db2016-07-14 12:38:17 +053013 type topDecimal;
14 }
15
Mahesh Poojary Huawei30c116a2016-07-14 17:49:50 +053016 leaf lowerDecimal {
17 type midDecimal;
Mahesh Poojary Huawei46fb4db2016-07-14 12:38:17 +053018 }
19}