sonu gupta | 1bb37b8 | 2016-11-11 16:51:18 +0530 | [diff] [blame] | 1 | module enumtest { |
2 | |||||
3 | yang-version 1; | ||||
4 | |||||
5 | namespace "ydt.enumtest"; | ||||
6 | |||||
7 | prefix "enumtest"; | ||||
8 | |||||
9 | organization "ON-LAB"; | ||||
10 | |||||
11 | description "This module defines for enumtest classifier."; | ||||
12 | |||||
13 | revision "2016-05-24" { | ||||
14 | description "Initial revision."; | ||||
15 | } | ||||
16 | |||||
17 | list enumList { | ||||
18 | key enumleaf; | ||||
19 | leaf enumleaf { | ||||
20 | type enumeration { | ||||
21 | enum ten { value "10";} | ||||
22 | enum hundred { value "100";} | ||||
23 | enum thousand { value "1000"; } | ||||
24 | } | ||||
25 | } | ||||
26 | } | ||||
27 | } |