blob: 941b56b92ae296b5a06bd22695acb2a9330102c4 [file] [log] [blame]
janani be18b5342016-07-13 21:06:41 +05301module 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 leaf storage-value {
24 type leafref {
25 path "/speed/local-storage-limit";
26 }
27 }
28}