Skip to content

Commit 7a93de7

Browse files
committed
Upload of Cisco IOS XR 25.2.1 Yang Models
1 parent 4a4c77f commit 7a93de7

File tree

2,288 files changed

+1450315
-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,288 files changed

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

0 commit comments

Comments
 (0)