-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'YangModels:main' into main
- Loading branch information
Showing
2,240 changed files
with
1,390,319 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
285 changes: 285 additions & 0 deletions
285
vendor/cisco/xr/2441/8000/Cisco-IOS-XR-crypto-ssh-oper-sub1.yang
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,285 @@ | ||
submodule Cisco-IOS-XR-crypto-ssh-oper-sub1 { | ||
belongs-to Cisco-IOS-XR-crypto-ssh-oper { | ||
prefix Cisco-IOS-XR-crypto-ssh-oper; | ||
} | ||
|
||
import cisco-semver { | ||
prefix semver; | ||
} | ||
|
||
organization | ||
"Cisco Systems, Inc."; | ||
contact | ||
"Cisco Systems, Inc. | ||
Customer Service | ||
Postal: 170 West Tasman Drive | ||
San Jose, CA 95134 | ||
Tel: +1 800 553-NETS | ||
E-mail: cs-yang@cisco.com"; | ||
description | ||
"This submodule contains a collection of YANG definitions | ||
for Cisco IOS-XR crypto-ssh package operational data. | ||
Copyright (c) 2013-2023 by Cisco Systems, Inc. | ||
All rights reserved."; | ||
|
||
revision 2023-05-12 { | ||
description | ||
"Added support for disabling scp and sftp services. | ||
2023-04-18 | ||
Making yang files of xr-ssh and cisco-ssh similar | ||
2023-04-15 | ||
Addition of HIBA authorization role | ||
2022-11-14 | ||
Fixing inconsistencies between platforms. | ||
2022-09-05 | ||
Authorized principals command support. | ||
2022-03-20 | ||
OpenSSH certificate support."; | ||
semver:module-version "2.1.0"; | ||
} | ||
revision 2021-06-04 { | ||
description | ||
"Default option for authentication."; | ||
semver:module-version "2.0.0"; | ||
} | ||
revision 2020-01-21 { | ||
description | ||
"Yang support to import pubkey for user in config mode"; | ||
semver:module-version "1.1.0"; | ||
} | ||
revision 2019-07-08 { | ||
description | ||
"Introducing show ssh server CLI."; | ||
semver:module-version "1.0.1"; | ||
} | ||
revision 2019-04-05 { | ||
description | ||
"Establish semantic version baseline."; | ||
} | ||
revision 2017-08-25 { | ||
description | ||
"Introducing show ssh history CLI."; | ||
} | ||
revision 2017-05-01 { | ||
description | ||
"Fixing backward compatibility error in module."; | ||
} | ||
revision 2015-06-02 { | ||
description | ||
"IOS XR 5.3.2 revision."; | ||
} | ||
revision 2015-01-07 { | ||
description | ||
"IOS XR 5.3.1 revision."; | ||
} | ||
|
||
grouping SSH-SERVER-PARAMS { | ||
description | ||
"Information about ssh server running parameters"; | ||
leaf version { | ||
type string { | ||
length "0..10"; | ||
} | ||
description | ||
"Version"; | ||
} | ||
leaf port { | ||
type uint32; | ||
description | ||
"SSH Port"; | ||
} | ||
leaf vrf { | ||
type string { | ||
length "0..2000"; | ||
} | ||
description | ||
"Vrfs and acls"; | ||
} | ||
leaf netconfport { | ||
type uint32; | ||
description | ||
"Netconf Port"; | ||
} | ||
leaf netconfvrf { | ||
type string { | ||
length "0..2000"; | ||
} | ||
description | ||
"Netconf vrfs and acls"; | ||
} | ||
leaf netconfver { | ||
type string { | ||
length "0..10"; | ||
} | ||
description | ||
"Netconf Version"; | ||
} | ||
leaf hostkeyalgo { | ||
type string { | ||
length "0..512"; | ||
} | ||
description | ||
"Hostkey algorithms"; | ||
} | ||
leaf kexalgo { | ||
type string { | ||
length "0..512"; | ||
} | ||
description | ||
"Key exchange algorithms"; | ||
} | ||
leaf cipheralgo { | ||
type string { | ||
length "0..512"; | ||
} | ||
description | ||
"Encryption algorithms"; | ||
} | ||
leaf macalgo { | ||
type string { | ||
length "0..512"; | ||
} | ||
description | ||
"Mac algorithms"; | ||
} | ||
leaf backupserver { | ||
type string { | ||
length "0..100"; | ||
} | ||
description | ||
"Backup SSH server"; | ||
} | ||
leaf trustpointhost { | ||
type string { | ||
length "0..128"; | ||
} | ||
description | ||
"Trustpoint for host"; | ||
} | ||
leaf trustpointuser { | ||
type string { | ||
length "0..1289"; | ||
} | ||
description | ||
"Trustpoint for user"; | ||
} | ||
leaf dscp { | ||
type uint32; | ||
description | ||
"Dscp"; | ||
} | ||
leaf ratelimit { | ||
type uint32; | ||
description | ||
"ratelimit"; | ||
} | ||
leaf sessionlimit { | ||
type uint32; | ||
description | ||
"session limit"; | ||
} | ||
leaf rekeytime { | ||
type uint32; | ||
description | ||
"Rekey Time"; | ||
} | ||
leaf rekeyvolume { | ||
type uint32; | ||
description | ||
"Rekey Volume"; | ||
} | ||
leaf windowscalefactor { | ||
type uint32; | ||
description | ||
"Window scale factor"; | ||
} | ||
leaf passwordauthen { | ||
type boolean; | ||
description | ||
"Password Authentication support"; | ||
} | ||
leaf keyboardinteractiveauthen { | ||
type boolean; | ||
description | ||
"Pubkey Authentication support"; | ||
} | ||
leaf pubkeyauthen { | ||
type boolean; | ||
description | ||
"Pubkey Authentication support"; | ||
} | ||
leaf certificateauthen { | ||
type boolean; | ||
description | ||
"Certificate based Authentication support"; | ||
} | ||
leaf portforwarding { | ||
type string { | ||
length "0..10"; | ||
} | ||
description | ||
"port forwarding for ssh server"; | ||
} | ||
leaf maxauthlimit { | ||
type uint32; | ||
description | ||
"Max Auth limit"; | ||
} | ||
leaf certificate-username { | ||
type string { | ||
length "0..50"; | ||
} | ||
description | ||
"SSHD certificate username"; | ||
} | ||
leaf openssh-trustpointhost { | ||
type string { | ||
length "0..128"; | ||
} | ||
description | ||
"Openssh Trustpoint for host"; | ||
} | ||
leaf openssh-trustpointuser { | ||
type string { | ||
length "0..33023"; | ||
} | ||
description | ||
"OpensshTrustpoint for user"; | ||
} | ||
leaf hiba-authorization-enable { | ||
type boolean; | ||
description | ||
"Openssh HIBA enable"; | ||
} | ||
leaf hiba-authorization-role { | ||
type string { | ||
length "0..450"; | ||
} | ||
description | ||
"Openssh HIBA Authorization role"; | ||
} | ||
leaf hiba-version { | ||
type int32; | ||
description | ||
"Openssh HIBA version"; | ||
} | ||
leaf scp-enable { | ||
type string { | ||
length "0..10"; | ||
} | ||
description | ||
"Enable scp"; | ||
} | ||
leaf sftp-enable { | ||
type string { | ||
length "0..10"; | ||
} | ||
description | ||
"Enable sftp"; | ||
} | ||
} | ||
} |
Oops, something went wrong.