sonugupta-huawei | 51c41fa | 2017-09-21 15:58:10 +0530 | [diff] [blame] | 1 | module enumListKeyTest { |
| 2 | |
| 3 | yang-version 1; |
| 4 | |
| 5 | namespace "ydt.enumListKeyTest"; |
| 6 | |
| 7 | prefix "enumListKeyTest"; |
| 8 | |
| 9 | organization "ON-LAB"; |
| 10 | |
| 11 | description "This module defines for enumListKeyTest 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 | leaf enumleaf1 { |
| 27 | type enumeration { |
| 28 | enum ten { value "10";} |
| 29 | enum hundred { value "100";} |
| 30 | enum thousand { value "1000"; } |
| 31 | } |
| 32 | } |
| 33 | } |
| 34 | } |