Gaurav Agrawal | ce74980 | 2016-05-03 00:47:40 +0530 | [diff] [blame] | 1 | module Test { |
2 | yang-version 1; | ||||
3 | namespace http://huawei.com; | ||||
4 | prefix Ant; | ||||
5 | leaf invalid-interval { | ||||
6 | type hello { | ||||
7 | length "min..20 | 200..max"; | ||||
8 | } | ||||
9 | } | ||||
10 | typedef hello { | ||||
11 | type string { | ||||
12 | length "0..100 | 101..200 | 201..300"; | ||||
13 | } | ||||
14 | } | ||||
15 | } |