Mahesh Poojary S | 2ff5217 | 2016-07-27 15:36:42 +0530 | [diff] [blame] | 1 | module Test { |
2 | namespace "urn:ietf:params:xml:ns:yang:yt3"; | ||||
3 | prefix "yt3"; | ||||
4 | |||||
5 | organization | ||||
6 | "YANG Language Design Team"; | ||||
7 | |||||
8 | contact | ||||
9 | "Andy Bierman"; | ||||
10 | |||||
11 | description | ||||
12 | "YANG test module 3."; | ||||
13 | |||||
14 | revision 2007-12-04 { | ||||
15 | description "Initial revision."; | ||||
16 | } | ||||
17 | |||||
18 | typedef Num3 { | ||||
19 | units seconds; | ||||
20 | type int16 { | ||||
21 | range "-32000 .. 4 | max"; | ||||
22 | } | ||||
23 | description "test 3"; | ||||
24 | } | ||||
25 | |||||
26 | typedef Num6 { | ||||
27 | description "test 6"; | ||||
28 | type Num3 { | ||||
29 | range "-3 | -2 .. +2 | 3"; | ||||
30 | } | ||||
31 | default 0; | ||||
32 | } | ||||
33 | } |