File tree Expand file tree Collapse file tree 1 file changed +18
-15
lines changed
src/sonic-yang-models/yang-models Expand file tree Collapse file tree 1 file changed +18
-15
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ module sonic-serial-console {
3
3
yang-version 1.1 ;
4
4
namespace "http://github.com/Azure/sonic-serial-console" ;
5
5
prefix cli-sessions;
6
+ import sonic-types {
7
+ prefix stypes;
8
+ }
6
9
description "SERIAL_CONSOLE YANG Module for SONiC-based OS" ;
7
10
revision 2023 -06 -07 {
8
11
description "First Revision" ;
@@ -11,21 +14,21 @@ module sonic-serial-console {
11
14
container SERIAL_CONSOLE {
12
15
description "SERIAL_CONSOLE part of config_db.json" ;
13
16
container POLICIES {
14
- leaf inactivity_timeout {
15
- description "serial-console inactivity-timeout timer value in minutes" ;
16
- type int32 {
17
- range "0..35000" ;
18
- }
19
- default 15 ;
20
- }
21
-
22
- leaf sysrq_capabilities {
23
- description "managing SysRq capabilities" ;
24
- type stypes:admin_mode ;
25
- default disabled;
26
- }
27
- }
28
- /* end of container POLICIES */
17
+ leaf inactivity_timeout {
18
+ description "serial-console inactivity-timeout timer value in minutes" ;
19
+ type int32 {
20
+ range "0..35000" ;
21
+ }
22
+ default 15 ;
23
+ }
24
+
25
+ leaf sysrq_capabilities {
26
+ type stypes:admin_mode ;
27
+ description "managing SysRq capabilities" ;
28
+ default disabled;
29
+ }
30
+ }
31
+ /* end of container POLICIES */
29
32
}
30
33
/* end of container SERIAL_CONSOLE */
31
34
}
You can’t perform that action at this time.
0 commit comments