blob: 405d08cd4be3d80cf20075b4b11bd307ec56991c [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 1..12;
10 }
11 }
12
13 typedef midDecimal {
14 type topDecimal;
15 }
16
17 leaf lowerDecimal {
18 type midDecimal {
19 range 4..max;
20 }
21 }
22}