From 2a0c0c426f36193d3265cb84731a755ab3c896b9 Mon Sep 17 00:00:00 2001 From: Yona Cohen Date: Sun, 9 Jul 2023 15:19:23 +0300 Subject: [PATCH] fixed tab issues --- .../yang-models/sonic-ssh-server.yang | 48 +++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/src/sonic-yang-models/yang-models/sonic-ssh-server.yang b/src/sonic-yang-models/yang-models/sonic-ssh-server.yang index 7789e1a14643..a53fddac5bfc 100644 --- a/src/sonic-yang-models/yang-models/sonic-ssh-server.yang +++ b/src/sonic-yang-models/yang-models/sonic-ssh-server.yang @@ -7,40 +7,40 @@ module sonic-ssh-server { description "SSH SERVER CONFIG YANG Module for SONiC OS"; - revision 2022-08-29 { + revision 2022-08-29 { description "First Revision"; } container sonic-ssh-server { - container SSH_SERVER { - description "SSH SERVER CONFIG part of config_db.json"; - container POLICIES { - leaf authentication_retries { - description "number of login attepmts"; - default 6; - type uint32 { - range 1..100; - } - } - leaf login_timeout { - description "login timeout (secs unit)"; - default 120; - type uint32 { - range 1..600; - } - } - leaf ports { - description "ssh port numbers"; - default "22"; + container SSH_SERVER { + description "SSH SERVER CONFIG part of config_db.json"; + container POLICIES { + leaf authentication_retries { + description "number of login attepmts"; + default 6; + type uint32 { + range 1..100; + } + } + leaf login_timeout { + description "login timeout (secs unit)"; + default 120; + type uint32 { + range 1..600; + } + } + leaf ports { + description "ssh port numbers"; + default "22"; type string { 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]))*' { error-message "Invalid port numbers value"; error-app-tag ssh-server-ports-invalid-value; } } - } - }/*container policies */ - } /* container SSH_SERVER */ + } + }/*container policies */ + } /* container SSH_SERVER */ }/* container sonic-ssh-server */ }/* end of module sonic-ssh-server */