blob: 966b38744df2c919a3f34d99ec5413b4546bc7f1 [file] [log] [blame]
Mahesh Poojary Huawei30c116a2016-07-14 17:49:50 +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 range 4..11;
10 }
11 }
12
13 typedef midDecimal {
14 type topDecimal;
15 }
16
17 leaf lowerDecimal {
18 type midDecimal {
19 range 1..12;
20 }
21 }
22}