Skip to content

Commit 1764cbe

Browse files
authored
Upload of Cisco IOS XR 24.2.21 Yang Models (#1645)
1 parent 2fe3c8f commit 1764cbe

File tree

2,242 files changed

+1373583
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,242 files changed

+1373583
-1
lines changed
Lines changed: 285 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,285 @@
1+
submodule Cisco-IOS-XR-crypto-ssh-oper-sub1 {
2+
belongs-to Cisco-IOS-XR-crypto-ssh-oper {
3+
prefix Cisco-IOS-XR-crypto-ssh-oper;
4+
}
5+
6+
import cisco-semver {
7+
prefix semver;
8+
}
9+
10+
organization
11+
"Cisco Systems, Inc.";
12+
contact
13+
"Cisco Systems, Inc.
14+
Customer Service
15+
16+
Postal: 170 West Tasman Drive
17+
San Jose, CA 95134
18+
19+
Tel: +1 800 553-NETS
20+
21+
22+
description
23+
"This submodule contains a collection of YANG definitions
24+
for Cisco IOS-XR crypto-ssh package operational data.
25+
26+
Copyright (c) 2013-2023 by Cisco Systems, Inc.
27+
All rights reserved.";
28+
29+
revision 2023-05-12 {
30+
description
31+
"Added support for disabling scp and sftp services.
32+
2023-04-18
33+
Making yang files of xr-ssh and cisco-ssh similar
34+
2023-04-15
35+
Addition of HIBA authorization role
36+
2022-11-14
37+
Fixing inconsistencies between platforms.
38+
2022-09-05
39+
Authorized principals command support.
40+
2022-03-20
41+
OpenSSH certificate support.";
42+
semver:module-version "2.1.0";
43+
}
44+
revision 2021-06-04 {
45+
description
46+
"Default option for authentication.";
47+
semver:module-version "2.0.0";
48+
}
49+
revision 2020-01-21 {
50+
description
51+
"Yang support to import pubkey for user in config mode";
52+
semver:module-version "1.1.0";
53+
}
54+
revision 2019-07-08 {
55+
description
56+
"Introducing show ssh server CLI.";
57+
semver:module-version "1.0.1";
58+
}
59+
revision 2019-04-05 {
60+
description
61+
"Establish semantic version baseline.";
62+
}
63+
revision 2017-08-25 {
64+
description
65+
"Introducing show ssh history CLI.";
66+
}
67+
revision 2017-05-01 {
68+
description
69+
"Fixing backward compatibility error in module.";
70+
}
71+
revision 2015-06-02 {
72+
description
73+
"IOS XR 5.3.2 revision.";
74+
}
75+
revision 2015-01-07 {
76+
description
77+
"IOS XR 5.3.1 revision.";
78+
}
79+
80+
grouping SSH-SERVER-PARAMS {
81+
description
82+
"Information about ssh server running parameters";
83+
leaf version {
84+
type string {
85+
length "0..10";
86+
}
87+
description
88+
"Version";
89+
}
90+
leaf port {
91+
type uint32;
92+
description
93+
"SSH Port";
94+
}
95+
leaf vrf {
96+
type string {
97+
length "0..2000";
98+
}
99+
description
100+
"Vrfs and acls";
101+
}
102+
leaf netconfport {
103+
type uint32;
104+
description
105+
"Netconf Port";
106+
}
107+
leaf netconfvrf {
108+
type string {
109+
length "0..2000";
110+
}
111+
description
112+
"Netconf vrfs and acls";
113+
}
114+
leaf netconfver {
115+
type string {
116+
length "0..10";
117+
}
118+
description
119+
"Netconf Version";
120+
}
121+
leaf hostkeyalgo {
122+
type string {
123+
length "0..512";
124+
}
125+
description
126+
"Hostkey algorithms";
127+
}
128+
leaf kexalgo {
129+
type string {
130+
length "0..512";
131+
}
132+
description
133+
"Key exchange algorithms";
134+
}
135+
leaf cipheralgo {
136+
type string {
137+
length "0..512";
138+
}
139+
description
140+
"Encryption algorithms";
141+
}
142+
leaf macalgo {
143+
type string {
144+
length "0..512";
145+
}
146+
description
147+
"Mac algorithms";
148+
}
149+
leaf backupserver {
150+
type string {
151+
length "0..100";
152+
}
153+
description
154+
"Backup SSH server";
155+
}
156+
leaf trustpointhost {
157+
type string {
158+
length "0..128";
159+
}
160+
description
161+
"Trustpoint for host";
162+
}
163+
leaf trustpointuser {
164+
type string {
165+
length "0..1289";
166+
}
167+
description
168+
"Trustpoint for user";
169+
}
170+
leaf dscp {
171+
type uint32;
172+
description
173+
"Dscp";
174+
}
175+
leaf ratelimit {
176+
type uint32;
177+
description
178+
"ratelimit";
179+
}
180+
leaf sessionlimit {
181+
type uint32;
182+
description
183+
"session limit";
184+
}
185+
leaf rekeytime {
186+
type uint32;
187+
description
188+
"Rekey Time";
189+
}
190+
leaf rekeyvolume {
191+
type uint32;
192+
description
193+
"Rekey Volume";
194+
}
195+
leaf windowscalefactor {
196+
type uint32;
197+
description
198+
"Window scale factor";
199+
}
200+
leaf passwordauthen {
201+
type boolean;
202+
description
203+
"Password Authentication support";
204+
}
205+
leaf keyboardinteractiveauthen {
206+
type boolean;
207+
description
208+
"Pubkey Authentication support";
209+
}
210+
leaf pubkeyauthen {
211+
type boolean;
212+
description
213+
"Pubkey Authentication support";
214+
}
215+
leaf certificateauthen {
216+
type boolean;
217+
description
218+
"Certificate based Authentication support";
219+
}
220+
leaf portforwarding {
221+
type string {
222+
length "0..10";
223+
}
224+
description
225+
"port forwarding for ssh server";
226+
}
227+
leaf maxauthlimit {
228+
type uint32;
229+
description
230+
"Max Auth limit";
231+
}
232+
leaf certificate-username {
233+
type string {
234+
length "0..50";
235+
}
236+
description
237+
"SSHD certificate username";
238+
}
239+
leaf openssh-trustpointhost {
240+
type string {
241+
length "0..128";
242+
}
243+
description
244+
"Openssh Trustpoint for host";
245+
}
246+
leaf openssh-trustpointuser {
247+
type string {
248+
length "0..33023";
249+
}
250+
description
251+
"OpensshTrustpoint for user";
252+
}
253+
leaf hiba-authorization-enable {
254+
type boolean;
255+
description
256+
"Openssh HIBA enable";
257+
}
258+
leaf hiba-authorization-role {
259+
type string {
260+
length "0..450";
261+
}
262+
description
263+
"Openssh HIBA Authorization role";
264+
}
265+
leaf hiba-version {
266+
type int32;
267+
description
268+
"Openssh HIBA version";
269+
}
270+
leaf scp-enable {
271+
type string {
272+
length "0..10";
273+
}
274+
description
275+
"Enable scp";
276+
}
277+
leaf sftp-enable {
278+
type string {
279+
length "0..10";
280+
}
281+
description
282+
"Enable sftp";
283+
}
284+
}
285+
}

0 commit comments

Comments
 (0)