Mahesh Poojary Huawei | 2cd4433 | 2016-07-14 12:38:17 +0530 | [diff] [blame] | 1 | module Test { |
2 | yang-version 1; | ||||
3 | namespace http://huawei.com; | ||||
4 | prefix Ant; | ||||
5 | |||||
6 | typedef validDecimal { | ||||
7 | type decimal64 { | ||||
8 | fraction-digits 4; | ||||
9 | } | ||||
10 | } | ||||
11 | |||||
12 | leaf setFourDecimal { | ||||
13 | type validDecimal; | ||||
14 | } | ||||
15 | } |