Vidyashree Rama | 50b73a0 | 2016-02-13 22:22:12 +0530 | [diff] [blame] | 1 | module Test { |
| 2 | yang-version 1; |
| 3 | namespace http://huawei.com; |
| 4 | prefix Ant; |
| 5 | list valid { |
janani b | ebb143d | 2016-07-14 19:35:22 +0530 | [diff] [blame] | 6 | key "invalid"; |
Vidyashree Rama | 50b73a0 | 2016-02-13 22:22:12 +0530 | [diff] [blame] | 7 | max-elements 3; |
| 8 | leaf-list invalid-interval { |
| 9 | type "uint16"; |
| 10 | units "seconds"; |
| 11 | description "Interval before a route is declared invalid"; |
| 12 | } |
janani b | ebb143d | 2016-07-14 19:35:22 +0530 | [diff] [blame] | 13 | leaf invalid { |
| 14 | type "uint16"; |
| 15 | } |
Vidyashree Rama | 50b73a0 | 2016-02-13 22:22:12 +0530 | [diff] [blame] | 16 | } |
| 17 | } |