Vidyashree Rama | deac28b | 2016-06-20 15:12:43 +0530 | [diff] [blame] | 1 | module syslog { |
| 2 | yang-version 1; |
| 3 | namespace http://huawei.com; |
| 4 | prefix "sys"; |
| 5 | feature local-storage { |
| 6 | description |
| 7 | "This feature means the device supports local |
| 8 | storage (memory, flash or disk) that can be used to |
| 9 | store syslog messages."; |
| 10 | } |
| 11 | |
| 12 | container speed { |
| 13 | leaf local-storage-limit { |
| 14 | if-feature local-storage; |
| 15 | type uint64; |
| 16 | units "kilobyte"; |
| 17 | config false; |
| 18 | description |
| 19 | "The amount of local storage that can be |
| 20 | used to hold syslog messages."; |
| 21 | } |
| 22 | } |
| 23 | } |