Vidyashree Rama | bc9611f | 2016-04-12 23:33:33 +0530 | [diff] [blame] | 1 | module Test { |
| 2 | yang-version 1; |
| 3 | namespace http://huawei.com; |
| 4 | prefix Ant; |
| 5 | typedef invalid-interval { |
| 6 | type string { |
janani b | ba5bacb | 2017-06-23 14:42:51 +0530 | [diff] [blame^] | 7 | length "1..100" { |
| 8 | description "length-description typedef"; |
| 9 | reference "reference typedef"; |
| 10 | } |
Vidyashree Rama | bc9611f | 2016-04-12 23:33:33 +0530 | [diff] [blame] | 11 | } |
| 12 | } |
| 13 | leaf xyz { |
| 14 | type invalid-interval { |
janani b | ba5bacb | 2017-06-23 14:42:51 +0530 | [diff] [blame^] | 15 | length "2..100"{ |
| 16 | description "length-description type"; |
| 17 | reference "reference type"; |
| 18 | } |
Vidyashree Rama | bc9611f | 2016-04-12 23:33:33 +0530 | [diff] [blame] | 19 | } |
| 20 | } |
| 21 | } |