janani b | 05614f1 | 2016-10-04 12:55:43 +0530 | [diff] [blame] | 1 | module YtbIetfSchedule { |
| 2 | yang-version 1; |
| 3 | namespace "yms:test:ytb:module:with:leaf:ietfschedule"; |
| 4 | prefix "sch"; |
| 5 | revision "2016-08-26"; |
| 6 | leaf time { |
| 7 | type int8; |
| 8 | } |
| 9 | leaf enum1 { |
| 10 | type enumeration { |
| 11 | enum ten { value "10";} |
| 12 | enum hundred { value "100";} |
| 13 | enum thousand { value "1000"; } |
| 14 | } |
| 15 | } |
| 16 | leaf-list enum2 { |
| 17 | type enumeration { |
| 18 | enum ten-10 { value "10";} |
| 19 | enum hundred-100 { value "100";} |
| 20 | enum thousand-1000 { value "1000"; } |
| 21 | } |
| 22 | } |
| 23 | container monitor { |
| 24 | leaf check { |
| 25 | type uint8; |
| 26 | } |
| 27 | } |
| 28 | } |
| 29 | |