Skip to content

Commit 2a0c0c4

Browse files
committed
fixed tab issues
1 parent 51c1370 commit 2a0c0c4

1 file changed

Lines changed: 24 additions & 24 deletions

File tree

src/sonic-yang-models/yang-models/sonic-ssh-server.yang

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,40 +7,40 @@ module sonic-ssh-server {
77

88
description "SSH SERVER CONFIG YANG Module for SONiC OS";
99

10-
revision 2022-08-29 {
10+
revision 2022-08-29 {
1111
description
1212
"First Revision";
1313
}
1414

1515
container sonic-ssh-server {
16-
container SSH_SERVER {
17-
description "SSH SERVER CONFIG part of config_db.json";
18-
container POLICIES {
19-
leaf authentication_retries {
20-
description "number of login attepmts";
21-
default 6;
22-
type uint32 {
23-
range 1..100;
24-
}
25-
}
26-
leaf login_timeout {
27-
description "login timeout (secs unit)";
28-
default 120;
29-
type uint32 {
30-
range 1..600;
31-
}
32-
}
33-
leaf ports {
34-
description "ssh port numbers";
35-
default "22";
16+
container SSH_SERVER {
17+
description "SSH SERVER CONFIG part of config_db.json";
18+
container POLICIES {
19+
leaf authentication_retries {
20+
description "number of login attepmts";
21+
default 6;
22+
type uint32 {
23+
range 1..100;
24+
}
25+
}
26+
leaf login_timeout {
27+
description "login timeout (secs unit)";
28+
default 120;
29+
type uint32 {
30+
range 1..600;
31+
}
32+
}
33+
leaf ports {
34+
description "ssh port numbers";
35+
default "22";
3636
type string {
3737
pattern '([1-9]|[1-9]\d{1,3}|[1-5]\d{4}|6[0-4]\d{3}|65[0-4]\d{2}|655[0-2]\d|6553[0-6])(,([1-9]|[1-9]\d{1,3}|[1-5]\d{4}|6[0-4]\d{3}|65[0-4]\d{2}|655[0-2]\d|6553[0-6]))*' {
3838
error-message "Invalid port numbers value";
3939
error-app-tag ssh-server-ports-invalid-value;
4040
}
4141
}
42-
}
43-
}/*container policies */
44-
} /* container SSH_SERVER */
42+
}
43+
}/*container policies */
44+
} /* container SSH_SERVER */
4545
}/* container sonic-ssh-server */
4646
}/* end of module sonic-ssh-server */

0 commit comments

Comments
 (0)