diff --git a/.github/workflows/sdo_check.yml b/.github/workflows/sdo_check.yml index c976c0fa6..31171d697 100644 --- a/.github/workflows/sdo_check.yml +++ b/.github/workflows/sdo_check.yml @@ -26,7 +26,6 @@ jobs: - name: Run check scripts run: | ./standard/ietf/check.sh - ./standard/bbf/check.sh ./experimental/ieee/check.sh ./standard/ieee/check.sh ./standard/iana/check.sh diff --git a/vendor/cisco/xr/2441/8000/Cisco-IOS-XR-crypto-ssh-oper-sub1.yang b/vendor/cisco/xr/2441/8000/Cisco-IOS-XR-crypto-ssh-oper-sub1.yang new file mode 100755 index 000000000..b3c2e17bb --- /dev/null +++ b/vendor/cisco/xr/2441/8000/Cisco-IOS-XR-crypto-ssh-oper-sub1.yang @@ -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"; + } + } +} diff --git a/vendor/cisco/xr/2441/8000/Cisco-IOS-XR-crypto-ssh-oper-sub1.yang.html b/vendor/cisco/xr/2441/8000/Cisco-IOS-XR-crypto-ssh-oper-sub1.yang.html new file mode 100755 index 000000000..b09994906 --- /dev/null +++ b/vendor/cisco/xr/2441/8000/Cisco-IOS-XR-crypto-ssh-oper-sub1.yang.html @@ -0,0 +1,334 @@ + + + + + +
+ +f | 1 | submodule Cisco-IOS-XR-crypto-ssh-oper-sub1 { | f | 1 | submodule Cisco-IOS-XR-crypto-ssh-oper-sub1 { |
2 | belongs-to Cisco-IOS-XR-crypto-ssh-oper { | 2 | belongs-to Cisco-IOS-XR-crypto-ssh-oper { | ||
3 | prefix Cisco-IOS-XR-crypto-ssh-oper; | 3 | prefix Cisco-IOS-XR-crypto-ssh-oper; | ||
4 | } | 4 | } | ||
5 | 5 | ||||
6 | import cisco-semver { | 6 | import cisco-semver { | ||
7 | prefix semver; | 7 | prefix semver; | ||
8 | } | 8 | } | ||
9 | 9 | ||||
10 | organization | 10 | organization | ||
11 | "Cisco Systems, Inc."; | 11 | "Cisco Systems, Inc."; | ||
12 | contact | 12 | contact | ||
13 | "Cisco Systems, Inc. | 13 | "Cisco Systems, Inc. | ||
14 | Customer Service | 14 | Customer Service | ||
15 | 15 | ||||
16 | Postal: 170 West Tasman Drive | 16 | Postal: 170 West Tasman Drive | ||
17 | San Jose, CA 95134 | 17 | San Jose, CA 95134 | ||
18 | 18 | ||||
19 | Tel: +1 800 553-NETS | 19 | Tel: +1 800 553-NETS | ||
20 | 20 | ||||
21 | E-mail: cs-yang@cisco.com"; | 21 | E-mail: cs-yang@cisco.com"; | ||
22 | description | 22 | description | ||
23 | "This submodule contains a collection of YANG definitions | 23 | "This submodule contains a collection of YANG definitions | ||
24 | for Cisco IOS-XR crypto-ssh package operational data. | 24 | for Cisco IOS-XR crypto-ssh package operational data. | ||
25 | 25 | ||||
26 | Copyright (c) 2013-2023 by Cisco Systems, Inc. | 26 | Copyright (c) 2013-2023 by Cisco Systems, Inc. | ||
27 | All rights reserved."; | 27 | All rights reserved."; | ||
28 | 28 | ||||
29 | revision 2023-05-12 { | 29 | revision 2023-05-12 { | ||
30 | description | 30 | description | ||
31 | "Added support for disabling scp and sftp services. | 31 | "Added support for disabling scp and sftp services. | ||
32 | 2023-04-18 | 32 | 2023-04-18 | ||
33 | Making yang files of xr-ssh and cisco-ssh similar | 33 | Making yang files of xr-ssh and cisco-ssh similar | ||
34 | 2023-04-15 | 34 | 2023-04-15 | ||
35 | Addition of HIBA authorization role | 35 | Addition of HIBA authorization role | ||
36 | 2022-11-14 | 36 | 2022-11-14 | ||
37 | Fixing inconsistencies between platforms. | 37 | Fixing inconsistencies between platforms. | ||
38 | 2022-09-05 | 38 | 2022-09-05 | ||
39 | Authorized principals command support. | 39 | Authorized principals command support. | ||
40 | 2022-03-20 | 40 | 2022-03-20 | ||
41 | OpenSSH certificate support."; | 41 | OpenSSH certificate support."; | ||
42 | semver:module-version "2.1.0"; | 42 | semver:module-version "2.1.0"; | ||
43 | } | 43 | } | ||
44 | revision 2021-06-04 { | 44 | revision 2021-06-04 { | ||
45 | description | 45 | description | ||
46 | "Default option for authentication."; | 46 | "Default option for authentication."; | ||
47 | semver:module-version "2.0.0"; | 47 | semver:module-version "2.0.0"; | ||
48 | } | 48 | } | ||
49 | revision 2020-01-21 { | 49 | revision 2020-01-21 { | ||
50 | description | 50 | description | ||
51 | "Yang support to import pubkey for user in config mode"; | 51 | "Yang support to import pubkey for user in config mode"; | ||
52 | semver:module-version "1.1.0"; | 52 | semver:module-version "1.1.0"; | ||
53 | } | 53 | } | ||
54 | revision 2019-07-08 { | 54 | revision 2019-07-08 { | ||
55 | description | 55 | description | ||
56 | "Introducing show ssh server CLI."; | 56 | "Introducing show ssh server CLI."; | ||
57 | semver:module-version "1.0.1"; | 57 | semver:module-version "1.0.1"; | ||
58 | } | 58 | } | ||
59 | revision 2019-04-05 { | 59 | revision 2019-04-05 { | ||
60 | description | 60 | description | ||
61 | "Establish semantic version baseline."; | 61 | "Establish semantic version baseline."; | ||
62 | } | 62 | } | ||
63 | revision 2017-08-25 { | 63 | revision 2017-08-25 { | ||
64 | description | 64 | description | ||
65 | "Introducing show ssh history CLI."; | 65 | "Introducing show ssh history CLI."; | ||
66 | } | 66 | } | ||
67 | revision 2017-05-01 { | 67 | revision 2017-05-01 { | ||
68 | description | 68 | description | ||
69 | "Fixing backward compatibility error in module."; | 69 | "Fixing backward compatibility error in module."; | ||
70 | } | 70 | } | ||
71 | revision 2015-06-02 { | 71 | revision 2015-06-02 { | ||
72 | description | 72 | description | ||
73 | "IOS XR 5.3.2 revision."; | 73 | "IOS XR 5.3.2 revision."; | ||
74 | } | 74 | } | ||
75 | revision 2015-01-07 { | 75 | revision 2015-01-07 { | ||
76 | description | 76 | description | ||
77 | "IOS XR 5.3.1 revision."; | 77 | "IOS XR 5.3.1 revision."; | ||
78 | } | 78 | } | ||
79 | 79 | ||||
80 | grouping SSH-SERVER-PARAMS { | 80 | grouping SSH-SERVER-PARAMS { | ||
81 | description | 81 | description | ||
82 | "Information about ssh server running parameters"; | 82 | "Information about ssh server running parameters"; | ||
83 | leaf version { | 83 | leaf version { | ||
84 | type string { | 84 | type string { | ||
85 | length "0..10"; | 85 | length "0..10"; | ||
86 | } | 86 | } | ||
87 | description | 87 | description | ||
88 | "Version"; | 88 | "Version"; | ||
89 | } | 89 | } | ||
90 | leaf port { | 90 | leaf port { | ||
91 | type uint32; | 91 | type uint32; | ||
92 | description | 92 | description | ||
93 | "SSH Port"; | 93 | "SSH Port"; | ||
94 | } | 94 | } | ||
95 | leaf vrf { | 95 | leaf vrf { | ||
96 | type string { | 96 | type string { | ||
97 | length "0..2000"; | 97 | length "0..2000"; | ||
98 | } | 98 | } | ||
99 | description | 99 | description | ||
100 | "Vrfs and acls"; | 100 | "Vrfs and acls"; | ||
101 | } | 101 | } | ||
102 | leaf netconfport { | 102 | leaf netconfport { | ||
103 | type uint32; | 103 | type uint32; | ||
104 | description | 104 | description | ||
105 | "Netconf Port"; | 105 | "Netconf Port"; | ||
106 | } | 106 | } | ||
107 | leaf netconfvrf { | 107 | leaf netconfvrf { | ||
108 | type string { | 108 | type string { | ||
109 | length "0..2000"; | 109 | length "0..2000"; | ||
110 | } | 110 | } | ||
111 | description | 111 | description | ||
112 | "Netconf vrfs and acls"; | 112 | "Netconf vrfs and acls"; | ||
113 | } | 113 | } | ||
114 | leaf netconfver { | 114 | leaf netconfver { | ||
115 | type string { | 115 | type string { | ||
116 | length "0..10"; | 116 | length "0..10"; | ||
117 | } | 117 | } | ||
118 | description | 118 | description | ||
119 | "Netconf Version"; | 119 | "Netconf Version"; | ||
120 | } | 120 | } | ||
121 | leaf hostkeyalgo { | 121 | leaf hostkeyalgo { | ||
122 | type string { | 122 | type string { | ||
n | 123 | length "0..230"; | n | 123 | length "0..512"; |
124 | } | 124 | } | ||
125 | description | 125 | description | ||
126 | "Hostkey algorithms"; | 126 | "Hostkey algorithms"; | ||
127 | } | 127 | } | ||
128 | leaf kexalgo { | 128 | leaf kexalgo { | ||
129 | type string { | 129 | type string { | ||
n | 130 | length "0..230"; | n | 130 | length "0..512"; |
131 | } | 131 | } | ||
132 | description | 132 | description | ||
133 | "Key exchange algorithms"; | 133 | "Key exchange algorithms"; | ||
134 | } | 134 | } | ||
135 | leaf cipheralgo { | 135 | leaf cipheralgo { | ||
136 | type string { | 136 | type string { | ||
n | 137 | length "0..230"; | n | 137 | length "0..512"; |
138 | } | 138 | } | ||
139 | description | 139 | description | ||
140 | "Encryption algorithms"; | 140 | "Encryption algorithms"; | ||
141 | } | 141 | } | ||
142 | leaf macalgo { | 142 | leaf macalgo { | ||
143 | type string { | 143 | type string { | ||
t | 144 | length "0..230"; | t | 144 | length "0..512"; |
145 | } | 145 | } | ||
146 | description | 146 | description | ||
147 | "Mac algorithms"; | 147 | "Mac algorithms"; | ||
148 | } | 148 | } | ||
149 | leaf backupserver { | 149 | leaf backupserver { | ||
150 | type string { | 150 | type string { | ||
151 | length "0..100"; | 151 | length "0..100"; | ||
152 | } | 152 | } | ||
153 | description | 153 | description | ||
154 | "Backup SSH server"; | 154 | "Backup SSH server"; | ||
155 | } | 155 | } | ||
156 | leaf trustpointhost { | 156 | leaf trustpointhost { | ||
157 | type string { | 157 | type string { | ||
158 | length "0..128"; | 158 | length "0..128"; | ||
159 | } | 159 | } | ||
160 | description | 160 | description | ||
161 | "Trustpoint for host"; | 161 | "Trustpoint for host"; | ||
162 | } | 162 | } | ||
163 | leaf trustpointuser { | 163 | leaf trustpointuser { | ||
164 | type string { | 164 | type string { | ||
165 | length "0..1289"; | 165 | length "0..1289"; | ||
166 | } | 166 | } | ||
167 | description | 167 | description | ||
168 | "Trustpoint for user"; | 168 | "Trustpoint for user"; | ||
169 | } | 169 | } | ||
170 | leaf dscp { | 170 | leaf dscp { | ||
171 | type uint32; | 171 | type uint32; | ||
172 | description | 172 | description | ||
173 | "Dscp"; | 173 | "Dscp"; | ||
174 | } | 174 | } | ||
175 | leaf ratelimit { | 175 | leaf ratelimit { | ||
176 | type uint32; | 176 | type uint32; | ||
177 | description | 177 | description | ||
178 | "ratelimit"; | 178 | "ratelimit"; | ||
179 | } | 179 | } | ||
180 | leaf sessionlimit { | 180 | leaf sessionlimit { | ||
181 | type uint32; | 181 | type uint32; | ||
182 | description | 182 | description | ||
183 | "session limit"; | 183 | "session limit"; | ||
184 | } | 184 | } | ||
185 | leaf rekeytime { | 185 | leaf rekeytime { | ||
186 | type uint32; | 186 | type uint32; | ||
187 | description | 187 | description | ||
188 | "Rekey Time"; | 188 | "Rekey Time"; | ||
189 | } | 189 | } | ||
190 | leaf rekeyvolume { | 190 | leaf rekeyvolume { | ||
191 | type uint32; | 191 | type uint32; | ||
192 | description | 192 | description | ||
193 | "Rekey Volume"; | 193 | "Rekey Volume"; | ||
194 | } | 194 | } | ||
195 | leaf windowscalefactor { | 195 | leaf windowscalefactor { | ||
196 | type uint32; | 196 | type uint32; | ||
197 | description | 197 | description | ||
198 | "Window scale factor"; | 198 | "Window scale factor"; | ||
199 | } | 199 | } | ||
200 | leaf passwordauthen { | 200 | leaf passwordauthen { | ||
201 | type boolean; | 201 | type boolean; | ||
202 | description | 202 | description | ||
203 | "Password Authentication support"; | 203 | "Password Authentication support"; | ||
204 | } | 204 | } | ||
205 | leaf keyboardinteractiveauthen { | 205 | leaf keyboardinteractiveauthen { | ||
206 | type boolean; | 206 | type boolean; | ||
207 | description | 207 | description | ||
208 | "Pubkey Authentication support"; | 208 | "Pubkey Authentication support"; | ||
209 | } | 209 | } | ||
210 | leaf pubkeyauthen { | 210 | leaf pubkeyauthen { | ||
211 | type boolean; | 211 | type boolean; | ||
212 | description | 212 | description | ||
213 | "Pubkey Authentication support"; | 213 | "Pubkey Authentication support"; | ||
214 | } | 214 | } | ||
215 | leaf certificateauthen { | 215 | leaf certificateauthen { | ||
216 | type boolean; | 216 | type boolean; | ||
217 | description | 217 | description | ||
218 | "Certificate based Authentication support"; | 218 | "Certificate based Authentication support"; | ||
219 | } | 219 | } | ||
220 | leaf portforwarding { | 220 | leaf portforwarding { | ||
221 | type string { | 221 | type string { | ||
222 | length "0..10"; | 222 | length "0..10"; | ||
223 | } | 223 | } | ||
224 | description | 224 | description | ||
225 | "port forwarding for ssh server"; | 225 | "port forwarding for ssh server"; | ||
226 | } | 226 | } | ||
227 | leaf maxauthlimit { | 227 | leaf maxauthlimit { | ||
228 | type uint32; | 228 | type uint32; | ||
229 | description | 229 | description | ||
230 | "Max Auth limit"; | 230 | "Max Auth limit"; | ||
231 | } | 231 | } | ||
232 | leaf certificate-username { | 232 | leaf certificate-username { | ||
233 | type string { | 233 | type string { | ||
234 | length "0..50"; | 234 | length "0..50"; | ||
235 | } | 235 | } | ||
236 | description | 236 | description | ||
237 | "SSHD certificate username"; | 237 | "SSHD certificate username"; | ||
238 | } | 238 | } | ||
239 | leaf openssh-trustpointhost { | 239 | leaf openssh-trustpointhost { | ||
240 | type string { | 240 | type string { | ||
241 | length "0..128"; | 241 | length "0..128"; | ||
242 | } | 242 | } | ||
243 | description | 243 | description | ||
244 | "Openssh Trustpoint for host"; | 244 | "Openssh Trustpoint for host"; | ||
245 | } | 245 | } | ||
246 | leaf openssh-trustpointuser { | 246 | leaf openssh-trustpointuser { | ||
247 | type string { | 247 | type string { | ||
248 | length "0..33023"; | 248 | length "0..33023"; | ||
249 | } | 249 | } | ||
250 | description | 250 | description | ||
251 | "OpensshTrustpoint for user"; | 251 | "OpensshTrustpoint for user"; | ||
252 | } | 252 | } | ||
253 | leaf hiba-authorization-enable { | 253 | leaf hiba-authorization-enable { | ||
254 | type boolean; | 254 | type boolean; | ||
255 | description | 255 | description | ||
256 | "Openssh HIBA enable"; | 256 | "Openssh HIBA enable"; | ||
257 | } | 257 | } | ||
258 | leaf hiba-authorization-role { | 258 | leaf hiba-authorization-role { | ||
259 | type string { | 259 | type string { | ||
260 | length "0..450"; | 260 | length "0..450"; | ||
261 | } | 261 | } | ||
262 | description | 262 | description | ||
263 | "Openssh HIBA Authorization role"; | 263 | "Openssh HIBA Authorization role"; | ||
264 | } | 264 | } | ||
265 | leaf hiba-version { | 265 | leaf hiba-version { | ||
266 | type int32; | 266 | type int32; | ||
267 | description | 267 | description | ||
268 | "Openssh HIBA version"; | 268 | "Openssh HIBA version"; | ||
269 | } | 269 | } | ||
270 | leaf scp-enable { | 270 | leaf scp-enable { | ||
271 | type string { | 271 | type string { | ||
272 | length "0..10"; | 272 | length "0..10"; | ||
273 | } | 273 | } | ||
274 | description | 274 | description | ||
275 | "Enable scp"; | 275 | "Enable scp"; | ||
276 | } | 276 | } | ||
277 | leaf sftp-enable { | 277 | leaf sftp-enable { | ||
278 | type string { | 278 | type string { | ||
279 | length "0..10"; | 279 | length "0..10"; | ||
280 | } | 280 | } | ||
281 | description | 281 | description | ||
282 | "Enable sftp"; | 282 | "Enable sftp"; | ||
283 | } | 283 | } | ||
284 | } | 284 | } | ||
285 | } | 285 | } |
Legends | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
+
|
f | 1 | module Cisco-IOS-XR-fpd-infra-cfg { | f | 1 | module Cisco-IOS-XR-fpd-infra-cfg { |
2 | namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-fpd-infra-cfg"; | 2 | namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-fpd-infra-cfg"; | ||
3 | prefix fpd-infra-cfg; | 3 | prefix fpd-infra-cfg; | ||
4 | 4 | ||||
5 | import cisco-semver { | 5 | import cisco-semver { | ||
6 | prefix semver; | 6 | prefix semver; | ||
7 | } | 7 | } | ||
8 | 8 | ||||
9 | organization | 9 | organization | ||
10 | "Cisco Systems, Inc."; | 10 | "Cisco Systems, Inc."; | ||
11 | contact | 11 | contact | ||
12 | "Cisco Systems, Inc. | 12 | "Cisco Systems, Inc. | ||
13 | Customer Service | 13 | Customer Service | ||
14 | 14 | ||||
15 | Postal: 170 West Tasman Drive | 15 | Postal: 170 West Tasman Drive | ||
16 | San Jose, CA 95134 | 16 | San Jose, CA 95134 | ||
17 | 17 | ||||
18 | Tel: +1 800 553-NETS | 18 | Tel: +1 800 553-NETS | ||
19 | 19 | ||||
20 | E-mail: cs-yang@cisco.com"; | 20 | E-mail: cs-yang@cisco.com"; | ||
21 | description | 21 | description | ||
22 | "This module contains a collection of YANG definitions | 22 | "This module contains a collection of YANG definitions | ||
23 | for Cisco IOS-XR fpd-infra package configuration. | 23 | for Cisco IOS-XR fpd-infra package configuration. | ||
24 | 24 | ||||
25 | This model is deprecated and is replaced by | 25 | This model is deprecated and is replaced by | ||
26 | Cisco-IOS-XR-um-fpd-cfg.yang which will provide the | 26 | Cisco-IOS-XR-um-fpd-cfg.yang which will provide the | ||
27 | compatible functionalities. | 27 | compatible functionalities. | ||
28 | 28 | ||||
29 | This module contains definitions | 29 | This module contains definitions | ||
30 | for the following management objects: | 30 | for the following management objects: | ||
31 | fpd: FPD Configuration | 31 | fpd: FPD Configuration | ||
32 | 32 | ||||
33 | Copyright (c) 2013-2022 by Cisco Systems, Inc. | 33 | Copyright (c) 2013-2022 by Cisco Systems, Inc. | ||
34 | All rights reserved."; | 34 | All rights reserved."; | ||
35 | 35 | ||||
36 | revision 2022-01-05 { | 36 | revision 2022-01-05 { | ||
37 | description | 37 | description | ||
38 | "Deprecated the native model, replaced by UM model in Exr."; | 38 | "Deprecated the native model, replaced by UM model in Exr."; | ||
39 | semver:module-version "1.1.0"; | 39 | semver:module-version "1.1.0"; | ||
40 | } | 40 | } | ||
41 | revision 2020-07-06 { | 41 | revision 2020-07-06 { | ||
42 | description | 42 | description | ||
43 | "Added auto-upgrade config in display"; | 43 | "Added auto-upgrade config in display"; | ||
44 | semver:module-version "1.0.0"; | 44 | semver:module-version "1.0.0"; | ||
45 | } | 45 | } | ||
46 | revision 2020-05-21 { | 46 | revision 2020-05-21 { | ||
47 | description | 47 | description | ||
48 | "Separating eXR and LNT versions for module"; | 48 | "Separating eXR and LNT versions for module"; | ||
49 | semver:module-version "1.0.0"; | 49 | semver:module-version "1.0.0"; | ||
50 | } | 50 | } | ||
51 | revision 2019-04-05 { | 51 | revision 2019-04-05 { | ||
52 | description | 52 | description | ||
53 | "Establish semantic version baseline."; | 53 | "Establish semantic version baseline."; | ||
54 | semver:module-version "1.0.0"; | 54 | semver:module-version "1.0.0"; | ||
55 | } | 55 | } | ||
56 | revision 2015-11-09 { | 56 | revision 2015-11-09 { | ||
57 | description | 57 | description | ||
58 | "IOS XR 6.0 revision."; | 58 | "IOS XR 6.0 revision."; | ||
59 | } | 59 | } | ||
60 | 60 | ||||
61 | typedef Auto-reload { | 61 | typedef Auto-reload { | ||
62 | type enumeration { | 62 | type enumeration { | ||
63 | enum "disable" { | 63 | enum "disable" { | ||
64 | value 0; | 64 | value 0; | ||
65 | description | 65 | description | ||
66 | "fpd auto-reload disable"; | 66 | "fpd auto-reload disable"; | ||
67 | } | 67 | } | ||
68 | enum "enable" { | 68 | enum "enable" { | ||
69 | value 1; | 69 | value 1; | ||
70 | description | 70 | description | ||
71 | "fpd auto-reload enable"; | 71 | "fpd auto-reload enable"; | ||
72 | } | 72 | } | ||
73 | } | 73 | } | ||
74 | description | 74 | description | ||
75 | "Auto reload"; | 75 | "Auto reload"; | ||
76 | } | 76 | } | ||
77 | 77 | ||||
n | n | 78 | typedef Exclude { | ||
79 | type enumeration { | ||||
80 | enum "pm" { | ||||
81 | value 1; | ||||
82 | description | ||||
83 | "fpd auto-upgrade exclude power module"; | ||||
84 | } | ||||
85 | } | ||||
86 | description | ||||
87 | "Exclude"; | ||||
88 | } | ||||
89 | |||||
78 | typedef Auto-upgrade { | 90 | typedef Auto-upgrade { | ||
79 | type enumeration { | 91 | type enumeration { | ||
80 | enum "disable" { | 92 | enum "disable" { | ||
81 | value 0; | 93 | value 0; | ||
82 | description | 94 | description | ||
83 | "fpd auto-upgrade disable"; | 95 | "fpd auto-upgrade disable"; | ||
84 | } | 96 | } | ||
85 | enum "enable" { | 97 | enum "enable" { | ||
86 | value 1; | 98 | value 1; | ||
87 | description | 99 | description | ||
88 | "fpd auto-upgrade enable"; | 100 | "fpd auto-upgrade enable"; | ||
89 | } | 101 | } | ||
90 | } | 102 | } | ||
91 | description | 103 | description | ||
92 | "Auto upgrade"; | 104 | "Auto upgrade"; | ||
93 | } | 105 | } | ||
94 | 106 | ||||
95 | container fpd { | 107 | container fpd { | ||
96 | status deprecated; | 108 | status deprecated; | ||
97 | description | 109 | description | ||
98 | "This model is deprecated and is replaced by | 110 | "This model is deprecated and is replaced by | ||
99 | Cisco-IOS-XR-um-fpd-cfg.yang which will provide | 111 | Cisco-IOS-XR-um-fpd-cfg.yang which will provide | ||
100 | the compatible functionalities. FPD | 112 | the compatible functionalities. FPD | ||
101 | Configuration"; | 113 | Configuration"; | ||
102 | leaf auto-reload { | 114 | leaf auto-reload { | ||
103 | type Auto-reload; | 115 | type Auto-reload; | ||
104 | description | 116 | description | ||
105 | "Enable or disable fpd auto-reload"; | 117 | "Enable or disable fpd auto-reload"; | ||
106 | } | 118 | } | ||
t | t | 119 | leaf exclude { | ||
120 | type Exclude; | ||||
121 | description | ||||
122 | "Exclude entity for fpd auto-upgrade"; | ||||
123 | } | ||||
107 | leaf auto-upgrade { | 124 | leaf auto-upgrade { | ||
108 | type Auto-upgrade; | 125 | type Auto-upgrade; | ||
109 | description | 126 | description | ||
110 | "Enable or disable fpd auto-upgrade"; | 127 | "Enable or disable fpd auto-upgrade"; | ||
111 | } | 128 | } | ||
112 | } | 129 | } | ||
113 | } | 130 | } |
Legends | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
+
|
f | 1 | submodule Cisco-IOS-XR-invmgr-oper-sub1 { | f | 1 | submodule Cisco-IOS-XR-invmgr-oper-sub1 { |
2 | belongs-to Cisco-IOS-XR-invmgr-oper { | 2 | belongs-to Cisco-IOS-XR-invmgr-oper { | ||
3 | prefix Cisco-IOS-XR-invmgr-oper; | 3 | prefix Cisco-IOS-XR-invmgr-oper; | ||
4 | } | 4 | } | ||
5 | 5 | ||||
n | n | 6 | import ietf-yang-types { | ||
7 | prefix yang; | ||||
8 | } | ||||
6 | import cisco-semver { | 9 | import cisco-semver { | ||
7 | prefix semver; | 10 | prefix semver; | ||
8 | } | 11 | } | ||
9 | 12 | ||||
10 | organization | 13 | organization | ||
11 | "Cisco Systems, Inc."; | 14 | "Cisco Systems, Inc."; | ||
12 | contact | 15 | contact | ||
13 | "Cisco Systems, Inc. | 16 | "Cisco Systems, Inc. | ||
14 | Customer Service | 17 | Customer Service | ||
15 | 18 | ||||
16 | Postal: 170 West Tasman Drive | 19 | Postal: 170 West Tasman Drive | ||
17 | San Jose, CA 95134 | 20 | San Jose, CA 95134 | ||
18 | 21 | ||||
19 | Tel: +1 800 553-NETS | 22 | Tel: +1 800 553-NETS | ||
20 | 23 | ||||
21 | E-mail: cs-yang@cisco.com"; | 24 | E-mail: cs-yang@cisco.com"; | ||
22 | description | 25 | description | ||
23 | "This submodule contains a collection of YANG definitions | 26 | "This submodule contains a collection of YANG definitions | ||
24 | for Cisco IOS-XR invmgr package operational data. | 27 | for Cisco IOS-XR invmgr package operational data. | ||
25 | 28 | ||||
26 | Copyright (c) 2013-2024 by Cisco Systems, Inc. | 29 | Copyright (c) 2013-2024 by Cisco Systems, Inc. | ||
27 | All rights reserved."; | 30 | All rights reserved."; | ||
28 | 31 | ||||
29 | revision 2024-05-14 { | 32 | revision 2024-05-14 { | ||
30 | description | 33 | description | ||
31 | "Added inactive-firmware-revision and build num leaves to inv-basic-bag | 34 | "Added inactive-firmware-revision and build num leaves to inv-basic-bag | ||
32 | 2023-04-16 | 35 | 2023-04-16 | ||
33 | Fixing backward compatibility error"; | 36 | Fixing backward compatibility error"; | ||
n | 34 | semver:module-version "4.0.0"; | n | 37 | semver:module-version "3.1.0"; |
35 | } | 38 | } | ||
36 | revision 2020-11-09 { | 39 | revision 2020-11-09 { | ||
37 | description | 40 | description | ||
38 | "Deprecated pluggable-info container | 41 | "Deprecated pluggable-info container | ||
39 | 2020-07-24 | 42 | 2020-07-24 | ||
40 | IOS XR 7.0.14 revision. Modified eeprom_bag to match eXR | 43 | IOS XR 7.0.14 revision. Modified eeprom_bag to match eXR | ||
41 | 2020-07-24 | 44 | 2020-07-24 | ||
42 | Addition of revision to match LNT."; | 45 | Addition of revision to match LNT."; | ||
43 | semver:module-version "3.0.0"; | 46 | semver:module-version "3.0.0"; | ||
44 | } | 47 | } | ||
45 | revision 2020-05-08 { | 48 | revision 2020-05-08 { | ||
46 | description | 49 | description | ||
47 | "Deprecated Inventory:Rack container. | 50 | "Deprecated Inventory:Rack container. | ||
48 | 2020-03-30 | 51 | 2020-03-30 | ||
49 | Changed threshold-value type to int32. | 52 | Changed threshold-value type to int32. | ||
50 | 2019-10-07 | 53 | 2019-10-07 | ||
51 | Added pluggable-info bag. | 54 | Added pluggable-info bag. | ||
52 | 2019-10-04 | 55 | 2019-10-04 | ||
53 | Removed slot-info, vm-done bags."; | 56 | Removed slot-info, vm-done bags."; | ||
54 | semver:module-version "2.0.0"; | 57 | semver:module-version "2.0.0"; | ||
55 | } | 58 | } | ||
56 | revision 2019-04-05 { | 59 | revision 2019-04-05 { | ||
57 | description | 60 | description | ||
58 | "Establish semantic version baseline."; | 61 | "Establish semantic version baseline."; | ||
59 | semver:module-version "1.0.0"; | 62 | semver:module-version "1.0.0"; | ||
60 | } | 63 | } | ||
61 | revision 2019-03-21 { | 64 | revision 2019-03-21 { | ||
62 | description | 65 | description | ||
63 | "Resolved string constraints issue."; | 66 | "Resolved string constraints issue."; | ||
64 | } | 67 | } | ||
65 | revision 2018-08-03 { | 68 | revision 2018-08-03 { | ||
66 | description | 69 | description | ||
67 | "Added slot-info and parent-info bags."; | 70 | "Added slot-info and parent-info bags."; | ||
68 | } | 71 | } | ||
69 | revision 2018-04-19 { | 72 | revision 2018-04-19 { | ||
70 | description | 73 | description | ||
71 | "Added additional bags"; | 74 | "Added additional bags"; | ||
72 | } | 75 | } | ||
73 | revision 2017-09-07 { | 76 | revision 2017-09-07 { | ||
74 | description | 77 | description | ||
75 | "Fixed type translation error."; | 78 | "Fixed type translation error."; | ||
76 | } | 79 | } | ||
77 | revision 2017-05-01 { | 80 | revision 2017-05-01 { | ||
78 | description | 81 | description | ||
79 | "Fixing backward compatibility error in module."; | 82 | "Fixing backward compatibility error in module."; | ||
80 | } | 83 | } | ||
81 | revision 2015-11-09 { | 84 | revision 2015-11-09 { | ||
82 | description | 85 | description | ||
83 | "IOS XR 6.0 revision."; | 86 | "IOS XR 6.0 revision."; | ||
84 | } | 87 | } | ||
85 | 88 | ||||
n | 86 | typedef Threshold-relation { | n | 89 | grouping VM-NODEID-INFO { |
87 | type enumeration { | ||||
88 | enum "less-than" { | ||||
89 | value 1; | ||||
90 | description | ||||
91 | "Sensor value is less than threshold"; | ||||
92 | } | ||||
93 | enum "less-or-equal" { | ||||
94 | value 2; | ||||
95 | description | ||||
96 | "Sensor value is lesser than or equal to | ||||
97 | threshold"; | ||||
98 | } | ||||
99 | enum "greater-than" { | ||||
100 | value 3; | ||||
101 | description | ||||
102 | "Sensor value is greater than threshold"; | ||||
103 | } | ||||
104 | enum "greater-or-equal" { | ||||
105 | value 4; | ||||
106 | description | ||||
107 | "Sensor value is greater than or equal to | ||||
108 | threshold"; | ||||
109 | } | ||||
110 | enum "equal" { | ||||
111 | value 5; | ||||
112 | description | ||||
113 | "Sensor value is equal to threshold"; | ||||
114 | } | ||||
115 | enum "not-equal" { | ||||
116 | value 6; | ||||
117 | description | ||||
118 | "Sensor value is not equal to threshold"; | ||||
119 | } | ||||
120 | } | ||||
121 | description | ||||
122 | "Threshold relation"; | ||||
123 | } | ||||
124 | |||||
125 | typedef Threshold-severity { | ||||
126 | type enumeration { | ||||
127 | enum "other" { | ||||
128 | value 1; | ||||
129 | description | ||||
130 | "Other"; | ||||
131 | } | ||||
132 | enum "minor" { | ||||
133 | value 10; | ||||
134 | description | ||||
135 | "Minor"; | ||||
136 | } | ||||
137 | enum "major" { | ||||
138 | value 20; | ||||
139 | description | ||||
140 | "Major"; | ||||
141 | } | ||||
142 | enum "critical" { | ||||
143 | value 30; | ||||
144 | description | ||||
145 | "Critical"; | ||||
146 | } | ||||
147 | } | ||||
148 | description | ||||
149 | "Threshold severity"; | ||||
150 | } | ||||
151 | |||||
152 | typedef Sensor-status { | ||||
153 | type enumeration { | ||||
154 | enum "ok" { | ||||
155 | value 1; | ||||
156 | description | ||||
157 | "State ok"; | ||||
158 | } | ||||
159 | enum "unavailable" { | ||||
160 | value 2; | ||||
161 | description | ||||
162 | "State Unavailable"; | ||||
163 | } | ||||
164 | enum "non-operational" { | ||||
165 | value 3; | ||||
166 | description | ||||
167 | "State no operational"; | ||||
168 | } | ||||
169 | } | ||||
170 | description | ||||
171 | "Sensor status"; | ||||
172 | } | ||||
173 | |||||
174 | typedef Sensor-data { | ||||
175 | type enumeration { | ||||
176 | enum "unknown" { | ||||
177 | value 2; | ||||
178 | description | ||||
179 | "Datatype unknown"; | ||||
180 | } | ||||
181 | enum "ac-volts" { | ||||
182 | value 3; | ||||
183 | description | ||||
184 | "AC volts"; | ||||
185 | } | ||||
186 | enum "dc-volts" { | ||||
187 | value 4; | ||||
188 | description | ||||
189 | "DC volts"; | ||||
190 | } | ||||
191 | enum "amperes" { | ||||
192 | value 5; | ||||
193 | description | ||||
194 | "Amperes"; | ||||
195 | } | ||||
196 | enum "watts" { | ||||
197 | value 6; | ||||
198 | description | ||||
199 | "Power in watts"; | ||||
200 | } | ||||
201 | enum "hertz" { | ||||
202 | value 7; | ||||
203 | description | ||||
204 | "Frequency in hertz"; | ||||
205 | } | ||||
206 | enum "celsius" { | ||||
207 | value 8; | ||||
208 | description | ||||
209 | "Celsius"; | ||||
210 | } | ||||
211 | enum "rpm" { | ||||
212 | value 10; | ||||
213 | description | ||||
214 | "Rotations per minute"; | ||||
215 | } | ||||
216 | enum "dbm" { | ||||
217 | value 14; | ||||
218 | description | ||||
219 | "Power in dBm"; | ||||
220 | } | ||||
221 | enum "db" { | ||||
222 | value 15; | ||||
223 | description | ||||
224 | "Power in dB"; | ||||
225 | } | ||||
226 | } | ||||
227 | description | ||||
228 | "Sensor measurement data types"; | ||||
229 | } | ||||
230 | |||||
231 | typedef Unit { | ||||
232 | type enumeration { | ||||
233 | enum "celsius" { | ||||
234 | description | ||||
235 | "Degree in celsius"; | ||||
236 | } | ||||
237 | enum "milli-volts" { | ||||
238 | description | ||||
239 | "Milli volts"; | ||||
240 | } | ||||
241 | enum "milli-amperes" { | ||||
242 | description | ||||
243 | "Milli amperes"; | ||||
244 | } | ||||
245 | enum "rpm" { | ||||
246 | description | ||||
247 | "Rotations per minute"; | ||||
248 | } | ||||
249 | enum "watts" { | ||||
250 | description | ||||
251 | "Watts"; | ||||
252 | } | ||||
253 | enum "dbm" { | ||||
254 | description | ||||
255 | "dBm"; | ||||
256 | } | ||||
257 | enum "db" { | ||||
258 | description | ||||
259 | "dB"; | ||||
260 | } | ||||
261 | } | ||||
262 | description | ||||
263 | "Unit information"; | ||||
264 | } | ||||
265 | |||||
266 | grouping ENVMON-THRESHOLD-TYPE { | ||||
267 | description | ||||
268 | "Threshold information of a specific type"; | ||||
269 | leaf threshold-severity { | ||||
270 | type Threshold-severity; | ||||
271 | description | 90 | description | ||
272 | "Indicates minor, major, critical severities"; | 91 | "VM Node ID Information"; | ||
273 | } | 92 | leaf vm-node-id { | ||
274 | leaf threshold-relation { | ||||
275 | type Threshold-relation; | ||||
276 | description | ||||
277 | "Indicates relation between sensor value and | ||||
278 | threshold"; | ||||
279 | } | ||||
280 | leaf threshold-value { | ||||
281 | type int32; | 93 | type uint32; | ||
282 | description | ||||
283 | "Value of the configured threshold"; | ||||
284 | } | ||||
285 | leaf threshold-name { | ||||
286 | type string { | ||||
287 | length "0..50"; | ||||
288 | } | ||||
289 | description | ||||
290 | "Indicates the Threshold name"; | ||||
291 | } | ||||
292 | } | ||||
293 | |||||
294 | grouping ENVMON-THRESHOLD-INFO-XML { | ||||
295 | description | 94 | description | ||
296 | "Threshold information"; | 95 | "VM Node Id Tuple"; | ||
297 | list threshold-array { | 96 | } | ||
97 | } | ||||
98 | |||||
99 | grouping NODEID-INFO { | ||||
298 | description | 100 | description | ||
299 | "Array of threshold"; | 101 | "Node ID Information"; | ||
300 | uses ENVMON-THRESHOLD-TYPE; | 102 | leaf node-id { | ||
301 | } | 103 | type uint32; | ||
302 | } | ||||
303 | |||||
304 | grouping ENVMON-SENSOR-INFO-XML { | ||||
305 | description | 104 | description | ||
306 | "Environment monitoring sensor information"; | 105 | "Node Id Tuple"; | ||
307 | container threshold { | 106 | } | ||
107 | } | ||||
108 | |||||
109 | grouping SUPPORTED-INTERFACES-INFO { | ||||
308 | description | 110 | description | ||
309 | "Threshold information"; | 111 | "Interface Capability"; | ||
310 | uses ENVMON-THRESHOLD-INFO-XML; | 112 | leaf name { | ||
113 | type string { | ||||
114 | length "0..255"; | ||||
115 | } | ||||
116 | description | ||||
117 | "Name of the interface capability"; | ||||
118 | } | ||||
119 | } | ||||
120 | |||||
121 | grouping PLUGGABLE-TYPE { | ||||
122 | description | ||||
123 | "Supported Interfaces for pluggable"; | ||||
124 | leaf name { | ||||
125 | type string { | ||||
126 | length "0..255"; | ||||
127 | } | ||||
128 | description | ||||
129 | "Name of the pluggable"; | ||||
311 | } | 130 | } | ||
312 | leaf description { | 131 | leaf description { | ||
313 | type string { | 132 | type string { | ||
n | 314 | length "0..50"; | n | 133 | length "0..255"; |
134 | } | ||||
135 | description | ||||
136 | "Description for the pluggable"; | ||||
315 | } | 137 | } | ||
138 | list supported-interface { | ||||
139 | description | ||||
140 | "List of supported interfaces for the pluggable"; | ||||
141 | uses SUPPORTED-INTERFACES-INFO; | ||||
142 | } | ||||
143 | } | ||||
144 | |||||
145 | grouping PLUGGABLE-INFO { | ||||
316 | description | 146 | description | ||
317 | "Device Name"; | 147 | "Bag to store the available pluggable types for a | ||
148 | container"; | ||||
149 | list pluggable-type { | ||||
150 | description | ||||
151 | "List of the Pluggables for the container"; | ||||
152 | uses PLUGGABLE-TYPE; | ||||
153 | } | ||||
318 | } | 154 | } | ||
319 | leaf units { | 155 | |||
320 | type Unit; | 156 | grouping INV-PARENT-INFO { | ||
321 | description | 157 | description | ||
322 | "Units of variable being read"; | 158 | "Bag to indicate the name of the parent entity"; | ||
323 | } | ||||
324 | leaf value { | 159 | leaf name { | ||
325 | type string { | 160 | type string { | ||
t | 326 | length "0..50"; | t | 161 | length "0..255"; |
162 | } | ||||
163 | description | ||||
164 | "Parent entity name"; | ||||
327 | } | 165 | } | ||
166 | } | ||||
167 | |||||
168 | grouping SUBENTITY-INFO { | ||||
328 | description | 169 | description | ||
329 | "Current reading of sensor Displays in decimal(ex | 170 | "Subentity Information"; | ||
330 | 1.234) for powersupply sensor type"; | 171 | leaf subentity-name { | ||
172 | type string { | ||||
173 | length "0..255"; | ||||
331 | } | 174 | } | ||
332 | leaf data-type { | 175 | description | ||
333 | type Sensor-data; | 176 | "Describe the Subentity Name"; | ||
177 | } | ||||
178 | } | ||||
179 | |||||
180 | grouping RMA-DETAIL { | ||||
334 | description | 181 | description | ||
335 | "Sensor data type"; | 182 | "EEPROM RMA data content"; | ||
183 | leaf test-history { | ||||
184 | type string { | ||||
185 | length "0..255"; | ||||
336 | } | 186 | } | ||
337 | leaf status { | 187 | description | ||
338 | type Sensor-status; | 188 | "RMA detail Test history innformation"; | ||
189 | } | ||||
190 | leaf rma-number { | ||||
191 | type string { | ||||
192 | length "0..255"; | ||||
193 | } | ||||
194 | description | ||||
195 | "RMA tracking number format is N-N-N"; | ||||
196 | } | ||||
197 | leaf rma-history { | ||||
198 | type string { | ||||
199 | length "0..255"; | ||||
200 | } | ||||
201 | description | ||||
202 | "RMA history infromation"; | ||||
203 | } | ||||
204 | } | ||||
205 | |||||
206 | grouping DIAG-EEPROM { | ||||
339 | description | 207 | description | ||
340 | "Sensor operation state"; | 208 | "Diag EEPROM data content"; | ||
209 | container rma { | ||||
210 | description | ||||
211 | "Description of Entity RMA Data"; | ||||
212 | uses RMA-DETAIL; | ||||
213 | } | ||||
214 | leaf description { | ||||
215 | type string { | ||||
216 | length "0..255"; | ||||
341 | } | 217 | } | ||
342 | leaf update-rate { | 218 | description | ||
343 | type uint32; | 219 | "A textual description of physical entity"; | ||
220 | } | ||||
221 | leaf idprom-format-rev { | ||||
222 | type string { | ||||
223 | length "0..255"; | ||||
224 | } | ||||
225 | description | ||||
226 | "Description of Entity IDPROM Format Revision"; | ||||
227 | } | ||||
228 | leaf controller-family { | ||||
229 | type string { | ||||
230 | length "0..255"; | ||||
231 | } | ||||
232 | description | ||||
233 | "Description of Entity Controller family"; | ||||
234 | } | ||||
235 | leaf controller-type { | ||||
236 | type string { | ||||
237 | length "0..255"; | ||||
238 | } | ||||
239 | description | ||||
240 | "Description of Entity Controller type"; | ||||
241 | } | ||||
242 | leaf vid { | ||||
243 | type string { | ||||
244 | length "0..255"; | ||||
245 | } | ||||
246 | description | ||||
247 | "Description of Entity Version ID"; | ||||
248 | } | ||||
249 | leaf hwid { | ||||
250 | type string { | ||||
251 | length "0..255"; | ||||
252 | } | ||||
253 | description | ||||
254 | "Description of Entity Hardware Revision"; | ||||
255 | } | ||||
256 | leaf pid { | ||||
257 | type string { | ||||
258 | length "0..255"; | ||||
259 | } | ||||
260 | description | ||||
261 | "Description of Entity Product ID"; | ||||
262 | } | ||||
263 | leaf udi-description { | ||||
264 | type string { | ||||
265 | length "0..255"; | ||||
266 | } | ||||
267 | description | ||||
268 | "Description of Entity UDI"; | ||||
269 | } | ||||
270 | leaf udi-name { | ||||
271 | type string { | ||||
272 | length "0..255"; | ||||
273 | } | ||||
274 | description | ||||
275 | "Description of Entity UDI name"; | ||||
276 | } | ||||
277 | leaf clei { | ||||
278 | type string { | ||||
279 | length "0..255"; | ||||
280 | } | ||||
281 | description | ||||
282 | "Common Language Equipment Identifier (CLEI) code"; | ||||
283 | } | ||||
284 | leaf eci { | ||||
285 | type string { | ||||
286 | length "0..255"; | ||||
287 | } | ||||
288 | description | ||||
289 | "Equipment Catalog Item (ECI) number"; | ||||
290 | } | ||||
291 | leaf top-assem-part-num { | ||||
292 | type string { | ||||
293 | length "0..255"; | ||||
294 | } | ||||
295 | description | ||||
296 | "Description of Top assembly part number"; | ||||
297 | } | ||||
298 | leaf top-assem-vid { | ||||
299 | type string { | ||||
300 | length "0..255"; | ||||
301 | } | ||||
302 | description | ||||
303 | "Description of Top assembly revision number"; | ||||
304 | } | ||||
305 | leaf pca-num { | ||||
306 | type string { | ||||
307 | length "0..255"; | ||||
308 | } | ||||
309 | description | ||||
310 | "Description of Entity PCA number"; | ||||
311 | } | ||||
312 | leaf pcavid { | ||||
313 | type string { | ||||
314 | length "0..255"; | ||||
315 | } | ||||
316 | description | ||||
317 | "Description of Entity PCA revision ID"; | ||||
318 | } | ||||
319 | leaf chassis-sid { | ||||
320 | type string { | ||||
321 | length "0..255"; | ||||
322 | } | ||||
323 | description | ||||
324 | "Description of Entity Chassis serial number"; | ||||
325 | } | ||||
326 | leaf dev-num1 { | ||||
327 | type string { | ||||
328 | length "0..255"; | ||||
329 | } | ||||
330 | description | ||||
331 | "Deviation Number # 1"; | ||||
332 | } | ||||
333 | leaf dev-num2 { | ||||
334 | type string { | ||||
335 | length "0..255"; | ||||
336 | } | ||||
337 | description | ||||
338 | "Deviation Number # 2"; | ||||
339 | } | ||||
340 | leaf dev-num3 { | ||||
341 | type string { | ||||
342 | length "0..255"; | ||||
343 | } | ||||
344 | description | ||||
345 | "Deviation Number # 3"; | ||||
346 | } | ||||
347 | leaf dev-num4 { | ||||
348 | type string { | ||||
349 | length "0..255"; | ||||
350 | } | ||||
351 | description | ||||
352 | "Deviation Number # 4"; | ||||
353 | } | ||||
354 | leaf dev-num5 { | ||||
355 | type string { | ||||
356 | length "0..255"; | ||||
357 | } | ||||
358 | description | ||||
359 | "Deviation Number # 5"; | ||||
360 | } | ||||
361 | leaf dev-num6 { | ||||
362 | type string { | ||||
363 | length "0..255"; | ||||
364 | } | ||||
365 | description | ||||
366 | "Deviation Number # 6"; | ||||
367 | } | ||||
368 | leaf dev-num7 { | ||||
369 | type string { | ||||
370 | length "0..255"; | ||||
371 | } | ||||
372 | description | ||||
373 | "Deviation Number # 7"; | ||||
374 | } | ||||
375 | leaf manu-test-data { | ||||
376 | type string { | ||||
377 | length "0..255"; | ||||
378 | } | ||||
379 | description | ||||
380 | "Manufacturing Test Data"; | ||||
381 | } | ||||
382 | leaf asset-id { | ||||
383 | type string { | ||||
384 | length "0..255"; | ||||
385 | } | ||||
386 | description | ||||
387 | "Description of Entity Asset ID"; | ||||
388 | } | ||||
389 | leaf asset-alias { | ||||
390 | type string { | ||||
391 | length "0..255"; | ||||
392 | } | ||||
393 | description | ||||
394 | "Description of Entity Asset Alias"; | ||||
395 | } | ||||
396 | leaf base-mac-address1 { | ||||
397 | type string { | ||||
398 | length "0..255"; | ||||
399 | } | ||||
400 | description | ||||
401 | "Base Mac Address #1"; | ||||
402 | } | ||||
403 | leaf mac-add-blk-size1 { | ||||
404 | type string { | ||||
405 | length "0..255"; | ||||
406 | } | ||||
407 | description | ||||
408 | "Mac Address Block Size #1"; | ||||
409 | } | ||||
410 | leaf base-mac-address2 { | ||||
411 | type string { | ||||
412 | length "0..255"; | ||||
413 | } | ||||
414 | description | ||||
415 | "Base Mac Address #2"; | ||||
416 | } | ||||
417 | leaf mac-add-blk-size2 { | ||||
418 | type string { | ||||
419 | length "0..255"; | ||||
420 | } | ||||
421 | description | ||||
422 | "Mac Address Block Size #2"; | ||||
423 | } | ||||
424 | leaf base-mac-address3 { | ||||
425 | type string { | ||||
426 | length "0..255"; | ||||
427 | } | ||||
428 | description | ||||
429 | "Base Mac Address #3"; | ||||
430 | } | ||||
431 | leaf mac-add-blk-size3 { | ||||
432 | type string { | ||||
433 | length "0..255"; | ||||
434 | } | ||||
435 | description | ||||
436 | "Mac Address Block Size #3"; | ||||
437 | } | ||||
438 | leaf base-mac-address4 { | ||||
439 | type string { | ||||
440 | length "0..255"; | ||||
441 | } | ||||
442 | description | ||||
443 | "Base Mac Address #4"; | ||||
444 | } | ||||
445 | leaf mac-add-blk-size4 { | ||||
446 | type string { | ||||
447 | length "0..255"; | ||||
448 | } | ||||
449 | description | ||||
450 | "Mac Address Block Size #4"; | ||||
451 | } | ||||
452 | leaf pcb-serial-num { | ||||
453 | type string { | ||||
454 | length "0..255"; | ||||
455 | } | ||||
456 | description | ||||
457 | "Description of Entity PCB Serial Number"; | ||||
458 | } | ||||
459 | leaf power-supply-type { | ||||
460 | type string { | ||||
461 | length "0..255"; | ||||
462 | } | ||||
463 | description | ||||
464 | "Description of Entity Power Supply Type"; | ||||
465 | } | ||||
466 | leaf power-consumption { | ||||
467 | type string { | ||||
468 | length "0..255"; | ||||
469 | } | ||||
470 | description | ||||
471 | "Description of Entity Power Consumption"; | ||||
472 | } | ||||
473 | leaf block-signature { | ||||
474 | type string { | ||||
475 | length "0..255"; | ||||
476 | } | ||||
477 | description | ||||
478 | "Description of Entity Block Signature"; | ||||
479 | } | ||||
480 | leaf block-version { | ||||
481 | type string { | ||||
482 | length "0..255"; | ||||
483 | } | ||||
484 | description | ||||
485 | "Description of Entity Block Version"; | ||||
486 | } | ||||
487 | leaf block-length { | ||||
488 | type string { | ||||
489 | length "0..255"; | ||||
490 | } | ||||
491 | description | ||||
492 | "Description of Entity Block Length"; | ||||
493 | } | ||||
494 | leaf block-checksum { | ||||
495 | type string { | ||||
496 | length "0..255"; | ||||
497 | } | ||||
498 | description | ||||
499 | "Description of Entity Block Checksum"; | ||||
500 | } | ||||
501 | leaf eeprom-size { | ||||
502 | type string { | ||||
503 | length "0..255"; | ||||
504 | } | ||||
505 | description | ||||
506 | "Description of Entity EEPROM Size"; | ||||
507 | } | ||||
508 | leaf block-count { | ||||
509 | type string { | ||||
510 | length "0..255"; | ||||
511 | } | ||||
512 | description | ||||
513 | "Description of Entity Block Count"; | ||||
514 | } | ||||
515 | leaf fru-major-type { | ||||
516 | type string { | ||||
517 | length "0..255"; | ||||
518 | } | ||||
519 | description | ||||
520 | "Description of Entity FRU Major Type"; | ||||
521 | } | ||||
522 | leaf fru-minor-type { | ||||
523 | type string { | ||||
524 | length "0..255"; | ||||
525 | } | ||||
526 | description | ||||
527 | "Description of Entity FRU Minor Type"; | ||||
528 | } | ||||
529 | leaf oem-string { | ||||
530 | type string { | ||||
531 | length "0..255"; | ||||
532 | } | ||||
533 | description | ||||
534 | "Description of Entity OEM String"; | ||||
535 | } | ||||
536 | leaf product-id { | ||||
537 | type string { | ||||
538 | length "0..255"; | ||||
539 | } | ||||
540 | description | ||||
541 | "Description of Entity Product ID"; | ||||
542 | } | ||||
543 | leaf serial-number { | ||||
544 | type string { | ||||
545 | length "0..255"; | ||||
546 | } | ||||
547 | description | ||||
548 | "Description of Entity Serial Number"; | ||||
549 | } | ||||
550 | leaf part-number { | ||||
551 | type string { | ||||
552 | length "0..255"; | ||||
553 | } | ||||
554 | description | ||||
555 | "Description of Entity Part Number"; | ||||
556 | } | ||||
557 | leaf part-revision { | ||||
558 | type string { | ||||
559 | length "0..255"; | ||||
560 | } | ||||
561 | description | ||||
562 | "Description of Entity Part Revision"; | ||||
563 | } | ||||
564 | leaf mfg-deviation { | ||||
565 | type string { | ||||
566 | length "0..255"; | ||||
567 | } | ||||
568 | description | ||||
569 | "Description of Entity MFG Deviation"; | ||||
570 | } | ||||
571 | leaf hw-version { | ||||
572 | type string { | ||||
573 | length "0..255"; | ||||
574 | } | ||||
575 | description | ||||
576 | "Description of Entity Hardware Version"; | ||||
577 | } | ||||
578 | leaf mfg-bits { | ||||
579 | type string { | ||||
580 | length "0..255"; | ||||
581 | } | ||||
582 | description | ||||
583 | "Description of Entity MFG Bits"; | ||||
584 | } | ||||
585 | leaf engineer-use { | ||||
586 | type string { | ||||
587 | length "0..255"; | ||||
588 | } | ||||
589 | description | ||||
590 | "Description of Entity Engineer Use"; | ||||
591 | } | ||||
592 | leaf snmpoid { | ||||
593 | type string { | ||||
594 | length "0..255"; | ||||
595 | } | ||||
596 | description | ||||
597 | "Description of Entity SNMP OID"; | ||||
598 | } | ||||
599 | leaf rma-code { | ||||
600 | type string { | ||||
601 | length "0..255"; | ||||
602 | } | ||||
603 | description | ||||
604 | "Description of Entity RMA Code"; | ||||
605 | } | ||||
606 | leaf eci-alpha-number { | ||||
607 | type string { | ||||
608 | length "0..255"; | ||||
609 | } | ||||
610 | description | ||||
611 | "AlphaNumeric Equipment Catalog Item (ECI) number"; | ||||
612 | } | ||||
613 | } | ||||
614 | |||||
615 | grouping INVMGR-EEPROM-OPAQUE-DATA { | ||||
344 | description | 616 | description | ||
345 | "Sensor value update rate; set to 0 if sensor | 617 | "invmgr eeprom opaque data"; | ||
346 | value is updated and evaluated immediately"; | 618 | container eeprom { | ||
619 | description | ||||
620 | "EEPROM data not from hex data"; | ||||
621 | uses DIAG-EEPROM; | ||||
622 | } | ||||
623 | leaf inv-card-type { | ||||
624 | type uint8; | ||||
625 | description | ||||
626 | "Inventory card type"; | ||||
627 | } | ||||
628 | leaf opaque-data { | ||||
629 | type yang:hex-string; | ||||
630 | description | ||||
631 | "EEPROM hex data"; | ||||
632 | } | ||||
633 | leaf opaque-data-size { | ||||
634 | type uint32; | ||||
635 | description | ||||
636 | "size of the EEPROM hex data"; | ||||
637 | } | ||||
638 | leaf has-eeprom { | ||||
639 | type uint32; | ||||
640 | description | ||||
641 | "use eeprom instead of opaque data"; | ||||
642 | } | ||||
643 | leaf has-eeprom-format { | ||||
644 | type uint32; | ||||
645 | description | ||||
646 | "has eeprom format "; | ||||
647 | } | ||||
648 | leaf eeprom-format { | ||||
649 | type uint32; | ||||
650 | description | ||||
651 | "eeprom format"; | ||||
652 | } | ||||
653 | leaf name { | ||||
654 | type string { | ||||
655 | length "0..255"; | ||||
656 | } | ||||
657 | description | ||||
658 | "A textual description of physical entity"; | ||||
659 | } | ||||
660 | leaf description { | ||||
661 | type string { | ||||
662 | length "0..255"; | ||||
663 | } | ||||
664 | description | ||||
665 | "A textual description of physical entity"; | ||||
666 | } | ||||
667 | leaf form-factor { | ||||
668 | type uint32; | ||||
669 | description | ||||
670 | "Optics form factor"; | ||||
671 | } | ||||
672 | leaf connector-type { | ||||
673 | type uint32; | ||||
674 | description | ||||
675 | "Describes the Entity Connector type"; | ||||
676 | } | ||||
677 | leaf otn-application-code { | ||||
678 | type uint32; | ||||
679 | description | ||||
680 | "Describes the Entity Otn Application Code"; | ||||
681 | } | ||||
682 | leaf sonet-application-code { | ||||
683 | type uint32; | ||||
684 | description | ||||
685 | "Describes the Entity Sonet Application Code"; | ||||
686 | } | ||||
687 | leaf ethernet-compliance-code { | ||||
688 | type uint32; | ||||
689 | description | ||||
690 | "Describes the Entity Ethernet Compliance Code"; | ||||
691 | } | ||||
692 | leaf date-string { | ||||
693 | type string { | ||||
694 | length "0..255"; | ||||
695 | } | ||||
696 | description | ||||
697 | "Describes the Entity Date string in IDPROM"; | ||||
698 | } | ||||
699 | leaf vendor-revision { | ||||
700 | type string { | ||||
701 | length "0..255"; | ||||
702 | } | ||||
703 | description | ||||
704 | "Vendor rev string in IDPROM"; | ||||
347 | } | 705 | } | ||
348 | } | 706 | } | ||
349 | } | 707 | } |
Legends | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
+
|
f | 1 | submodule Cisco-IOS-XR-invmgr-oper-sub2 { | f | 1 | submodule Cisco-IOS-XR-invmgr-oper-sub2 { |
2 | belongs-to Cisco-IOS-XR-invmgr-oper { | 2 | belongs-to Cisco-IOS-XR-invmgr-oper { | ||
3 | prefix Cisco-IOS-XR-invmgr-oper; | 3 | prefix Cisco-IOS-XR-invmgr-oper; | ||
4 | } | 4 | } | ||
5 | 5 | ||||
6 | import cisco-semver { | 6 | import cisco-semver { | ||
7 | prefix semver; | 7 | prefix semver; | ||
8 | } | 8 | } | ||
9 | 9 | ||||
10 | organization | 10 | organization | ||
11 | "Cisco Systems, Inc."; | 11 | "Cisco Systems, Inc."; | ||
12 | contact | 12 | contact | ||
13 | "Cisco Systems, Inc. | 13 | "Cisco Systems, Inc. | ||
14 | Customer Service | 14 | Customer Service | ||
15 | 15 | ||||
16 | Postal: 170 West Tasman Drive | 16 | Postal: 170 West Tasman Drive | ||
17 | San Jose, CA 95134 | 17 | San Jose, CA 95134 | ||
18 | 18 | ||||
19 | Tel: +1 800 553-NETS | 19 | Tel: +1 800 553-NETS | ||
20 | 20 | ||||
21 | E-mail: cs-yang@cisco.com"; | 21 | E-mail: cs-yang@cisco.com"; | ||
22 | description | 22 | description | ||
23 | "This submodule contains a collection of YANG definitions | 23 | "This submodule contains a collection of YANG definitions | ||
24 | for Cisco IOS-XR invmgr package operational data. | 24 | for Cisco IOS-XR invmgr package operational data. | ||
25 | 25 | ||||
26 | Copyright (c) 2013-2024 by Cisco Systems, Inc. | 26 | Copyright (c) 2013-2024 by Cisco Systems, Inc. | ||
27 | All rights reserved."; | 27 | All rights reserved."; | ||
28 | 28 | ||||
29 | revision 2024-05-14 { | 29 | revision 2024-05-14 { | ||
30 | description | 30 | description | ||
31 | "Added inactive-firmware-revision and build num leaves to inv-basic-bag | 31 | "Added inactive-firmware-revision and build num leaves to inv-basic-bag | ||
32 | 2023-04-16 | 32 | 2023-04-16 | ||
33 | Fixing backward compatibility error"; | 33 | Fixing backward compatibility error"; | ||
n | 34 | semver:module-version "4.0.0"; | n | 34 | semver:module-version "3.1.0"; |
35 | } | 35 | } | ||
36 | revision 2020-11-09 { | 36 | revision 2020-11-09 { | ||
37 | description | 37 | description | ||
38 | "Deprecated pluggable-info container | 38 | "Deprecated pluggable-info container | ||
39 | 2020-07-24 | 39 | 2020-07-24 | ||
40 | IOS XR 7.0.14 revision. Modified eeprom_bag to match eXR | 40 | IOS XR 7.0.14 revision. Modified eeprom_bag to match eXR | ||
41 | 2020-07-24 | 41 | 2020-07-24 | ||
42 | Addition of revision to match LNT."; | 42 | Addition of revision to match LNT."; | ||
43 | semver:module-version "3.0.0"; | 43 | semver:module-version "3.0.0"; | ||
44 | } | 44 | } | ||
45 | revision 2020-05-08 { | 45 | revision 2020-05-08 { | ||
46 | description | 46 | description | ||
47 | "Deprecated Inventory:Rack container. | 47 | "Deprecated Inventory:Rack container. | ||
48 | 2020-03-30 | 48 | 2020-03-30 | ||
49 | Changed threshold-value type to int32. | 49 | Changed threshold-value type to int32. | ||
50 | 2019-10-07 | 50 | 2019-10-07 | ||
51 | Added pluggable-info bag. | 51 | Added pluggable-info bag. | ||
52 | 2019-10-04 | 52 | 2019-10-04 | ||
53 | Removed slot-info, vm-done bags."; | 53 | Removed slot-info, vm-done bags."; | ||
54 | semver:module-version "2.0.0"; | 54 | semver:module-version "2.0.0"; | ||
55 | } | 55 | } | ||
56 | revision 2019-04-05 { | 56 | revision 2019-04-05 { | ||
57 | description | 57 | description | ||
58 | "Establish semantic version baseline."; | 58 | "Establish semantic version baseline."; | ||
59 | semver:module-version "1.0.0"; | 59 | semver:module-version "1.0.0"; | ||
60 | } | 60 | } | ||
61 | revision 2019-03-21 { | 61 | revision 2019-03-21 { | ||
62 | description | 62 | description | ||
63 | "Resolved string constraints issue."; | 63 | "Resolved string constraints issue."; | ||
64 | } | 64 | } | ||
65 | revision 2018-08-03 { | 65 | revision 2018-08-03 { | ||
66 | description | 66 | description | ||
67 | "Added slot-info and parent-info bags."; | 67 | "Added slot-info and parent-info bags."; | ||
68 | } | 68 | } | ||
69 | revision 2018-04-19 { | 69 | revision 2018-04-19 { | ||
70 | description | 70 | description | ||
71 | "Added additional bags"; | 71 | "Added additional bags"; | ||
72 | } | 72 | } | ||
73 | revision 2017-09-07 { | 73 | revision 2017-09-07 { | ||
74 | description | 74 | description | ||
75 | "Fixed type translation error."; | 75 | "Fixed type translation error."; | ||
76 | } | 76 | } | ||
77 | revision 2017-05-01 { | 77 | revision 2017-05-01 { | ||
78 | description | 78 | description | ||
79 | "Fixing backward compatibility error in module."; | 79 | "Fixing backward compatibility error in module."; | ||
80 | } | 80 | } | ||
81 | revision 2015-11-09 { | 81 | revision 2015-11-09 { | ||
82 | description | 82 | description | ||
83 | "IOS XR 6.0 revision."; | 83 | "IOS XR 6.0 revision."; | ||
84 | } | 84 | } | ||
85 | 85 | ||||
n | 86 | typedef Card-reset-reason { | n | 86 | typedef Threshold-relation { |
87 | type enumeration { | 87 | type enumeration { | ||
n | 88 | enum "reset-unknown" { | n | 88 | enum "less-than" { |
89 | value 1; | 89 | value 1; | ||
90 | description | 90 | description | ||
n | 91 | "reset unknown"; | n | 91 | "Sensor value is less than threshold"; |
92 | } | 92 | } | ||
n | 93 | enum "power-up" { | n | 93 | enum "less-or-equal" { |
94 | value 2; | 94 | value 2; | ||
95 | description | 95 | description | ||
n | 96 | "power up"; | n | 96 | "Sensor value is lesser than or equal to |
97 | threshold"; | ||||
97 | } | 98 | } | ||
n | 98 | enum "parity-error" { | n | 99 | enum "greater-than" { |
99 | value 3; | 100 | value 3; | ||
100 | description | 101 | description | ||
n | 101 | "parity error"; | n | 102 | "Sensor value is greater than threshold"; |
102 | } | 103 | } | ||
n | 103 | enum "clear-config-reset" { | n | 104 | enum "greater-or-equal" { |
104 | value 4; | 105 | value 4; | ||
105 | description | 106 | description | ||
n | 106 | "clear config reset"; | n | 107 | "Sensor value is greater than or equal to |
108 | threshold"; | ||||
107 | } | 109 | } | ||
n | 108 | enum "manual-reset" { | n | 110 | enum "equal" { |
109 | value 5; | 111 | value 5; | ||
110 | description | 112 | description | ||
n | 111 | "manual reset"; | n | 113 | "Sensor value is equal to threshold"; |
112 | } | 114 | } | ||
n | 113 | enum "watch-dog-timeout-reset" { | n | 115 | enum "not-equal" { |
114 | value 6; | 116 | value 6; | ||
115 | description | 117 | description | ||
n | 116 | "watch dog timeout reset"; | n | 118 | "Sensor value is not equal to threshold"; |
119 | } | ||||
117 | } | 120 | } | ||
118 | enum "resource-overflow-reset" { | 121 | description | ||
122 | "Threshold relation"; | ||||
123 | } | ||||
124 | |||||
125 | typedef Threshold-severity { | ||||
126 | type enumeration { | ||||
127 | enum "other" { | ||||
128 | value 1; | ||||
129 | description | ||||
130 | "Other"; | ||||
131 | } | ||||
132 | enum "minor" { | ||||
133 | value 10; | ||||
134 | description | ||||
135 | "Minor"; | ||||
136 | } | ||||
137 | enum "major" { | ||||
138 | value 20; | ||||
139 | description | ||||
140 | "Major"; | ||||
141 | } | ||||
142 | enum "critical" { | ||||
143 | value 30; | ||||
144 | description | ||||
145 | "Critical"; | ||||
146 | } | ||||
147 | } | ||||
148 | description | ||||
149 | "Threshold severity"; | ||||
150 | } | ||||
151 | |||||
152 | typedef Sensor-status { | ||||
153 | type enumeration { | ||||
154 | enum "ok" { | ||||
155 | value 1; | ||||
156 | description | ||||
157 | "State ok"; | ||||
158 | } | ||||
159 | enum "unavailable" { | ||||
160 | value 2; | ||||
161 | description | ||||
162 | "State Unavailable"; | ||||
163 | } | ||||
164 | enum "non-operational" { | ||||
165 | value 3; | ||||
166 | description | ||||
167 | "State no operational"; | ||||
168 | } | ||||
169 | } | ||||
170 | description | ||||
171 | "Sensor status"; | ||||
172 | } | ||||
173 | |||||
174 | typedef Sensor-data { | ||||
175 | type enumeration { | ||||
176 | enum "unknown" { | ||||
177 | value 2; | ||||
178 | description | ||||
179 | "Datatype unknown"; | ||||
180 | } | ||||
181 | enum "ac-volts" { | ||||
182 | value 3; | ||||
183 | description | ||||
184 | "AC volts"; | ||||
185 | } | ||||
186 | enum "dc-volts" { | ||||
187 | value 4; | ||||
188 | description | ||||
189 | "DC volts"; | ||||
190 | } | ||||
191 | enum "amperes" { | ||||
192 | value 5; | ||||
193 | description | ||||
194 | "Amperes"; | ||||
195 | } | ||||
196 | enum "watts" { | ||||
197 | value 6; | ||||
198 | description | ||||
199 | "Power in watts"; | ||||
200 | } | ||||
201 | enum "hertz" { | ||||
119 | value 7; | 202 | value 7; | ||
120 | description | 203 | description | ||
n | 121 | "resource overflow reset"; | n | 204 | "Frequency in hertz"; |
122 | } | 205 | } | ||
n | 123 | enum "missing-task-reset" { | n | 206 | enum "celsius" { |
124 | value 8; | 207 | value 8; | ||
125 | description | 208 | description | ||
n | 126 | "missing task reset"; | n | 209 | "Celsius"; |
127 | } | 210 | } | ||
n | 128 | enum "low-voltage-reset" { | n | 211 | enum "rpm" { |
129 | value 9; | ||||
130 | description | ||||
131 | "low voltage reset"; | ||||
132 | } | ||||
133 | enum "controller-reset" { | ||||
134 | value 10; | 212 | value 10; | ||
135 | description | 213 | description | ||
n | 136 | "controller reset"; | n | 214 | "Rotations per minute"; |
137 | } | 215 | } | ||
n | 138 | enum "system-reset" { | n | 216 | enum "dbm" { |
139 | value 11; | ||||
140 | description | ||||
141 | "system reset"; | ||||
142 | } | ||||
143 | enum "switchover-reset" { | ||||
144 | value 12; | ||||
145 | description | ||||
146 | "switchover reset"; | ||||
147 | } | ||||
148 | enum "upgrade-reset" { | ||||
149 | value 13; | ||||
150 | description | ||||
151 | "upgrade reset"; | ||||
152 | } | ||||
153 | enum "downgrade-reset" { | ||||
154 | value 14; | 217 | value 14; | ||
155 | description | 218 | description | ||
n | 156 | "downgrade reset"; | n | 219 | "Power in dBm"; |
157 | } | 220 | } | ||
n | 158 | enum "cache-error-reset" { | n | 221 | enum "db" { |
159 | value 15; | 222 | value 15; | ||
160 | description | 223 | description | ||
n | 161 | "cache error reset"; | n | 224 | "Power in dB"; |
225 | } | ||||
162 | } | 226 | } | ||
163 | enum "device-driver-reset" { | 227 | description | ||
164 | value 16; | 228 | "Sensor measurement data types"; | ||
229 | } | ||||
230 | |||||
231 | typedef Unit { | ||||
232 | type enumeration { | ||||
233 | enum "celsius" { | ||||
234 | description | ||||
235 | "Degree in celsius"; | ||||
236 | } | ||||
237 | enum "milli-volts" { | ||||
238 | description | ||||
239 | "Milli volts"; | ||||
240 | } | ||||
241 | enum "milli-amperes" { | ||||
242 | description | ||||
243 | "Milli amperes"; | ||||
244 | } | ||||
245 | enum "rpm" { | ||||
246 | description | ||||
247 | "Rotations per minute"; | ||||
248 | } | ||||
249 | enum "watts" { | ||||
250 | description | ||||
251 | "Watts"; | ||||
252 | } | ||||
253 | enum "dbm" { | ||||
254 | description | ||||
255 | "dBm"; | ||||
256 | } | ||||
257 | enum "db" { | ||||
258 | description | ||||
259 | "dB"; | ||||
260 | } | ||||
261 | } | ||||
262 | description | ||||
263 | "Unit information"; | ||||
264 | } | ||||
265 | |||||
266 | grouping ENVMON-THRESHOLD-TYPE { | ||||
267 | description | ||||
268 | "Threshold information of a specific type"; | ||||
269 | leaf threshold-severity { | ||||
270 | type Threshold-severity; | ||||
165 | description | 271 | description | ||
166 | "device driver reset"; | 272 | "Indicates minor, major, critical severities"; | ||
167 | } | 273 | } | ||
168 | enum "software-exception-reset" { | 274 | leaf threshold-relation { | ||
169 | value 17; | 275 | type Threshold-relation; | ||
170 | description | 276 | description | ||
171 | "software exception reset"; | 277 | "Indicates relation between sensor value and | ||
278 | threshold"; | ||||
172 | } | 279 | } | ||
173 | enum "restore-config-reset" { | 280 | leaf threshold-value { | ||
174 | value 18; | ||||
175 | description | ||||
176 | "restore config reset"; | ||||
177 | } | ||||
178 | enum "abort-rev-reset" { | ||||
179 | value 19; | ||||
180 | description | ||||
181 | "abort rev reset"; | ||||
182 | } | ||||
183 | enum "burn-boot-reset" { | ||||
184 | value 20; | ||||
185 | description | ||||
186 | "burn boot reset"; | ||||
187 | } | ||||
188 | enum "standby-cd-healthier-reset" { | ||||
189 | value 21; | ||||
190 | description | ||||
191 | "standby cd healthier reset"; | ||||
192 | } | ||||
193 | enum "non-native-config-clear-reset" { | ||||
194 | value 22; | ||||
195 | description | ||||
196 | "non native config clear reset"; | ||||
197 | } | ||||
198 | enum "memory-protection-error-reset" { | ||||
199 | value 23; | ||||
200 | description | ||||
201 | "memory protection error reset"; | ||||
202 | } | ||||
203 | enum "card-reset-reason-max" { | ||||
204 | value 24; | ||||
205 | description | ||||
206 | "card reset reason max"; | ||||
207 | } | ||||
208 | } | ||||
209 | description | ||||
210 | "Card reset reason"; | ||||
211 | } | ||||
212 | |||||
213 | grouping INV-PWG-INFO { | ||||
214 | description | ||||
215 | "Power supply group bag"; | ||||
216 | leaf power-group-redundancy-mode { | ||||
217 | type int32; | 281 | type int32; | ||
218 | description | 282 | description | ||
n | 219 | "redundancy mode"; | n | 283 | "Value of the configured threshold"; |
220 | } | ||||
221 | leaf power-group-power-units { | ||||
222 | type string; | ||||
223 | description | ||||
224 | "power units"; | ||||
225 | } | ||||
226 | leaf power-group-available-current { | ||||
227 | type int32; | ||||
228 | description | ||||
229 | "available current"; | ||||
230 | } | ||||
231 | leaf power-group-drawn-current { | ||||
232 | type int32; | ||||
233 | description | ||||
234 | "drawn current"; | ||||
235 | } | ||||
236 | } | 284 | } | ||
237 | 285 | leaf threshold-name { | |||
238 | grouping INV-PHY-ENTITY-ASSET-INFO { | ||||
239 | description | ||||
240 | "The physical entity detaled asset attribute bag"; | ||||
241 | leaf part-number { | ||||
242 | type string { | 286 | type string { | ||
n | 243 | length "0..255"; | n | 287 | length "0..50"; |
244 | } | ||||
245 | description | ||||
246 | "Describes the Entity Part Number"; | ||||
247 | } | 288 | } | ||
248 | leaf manufacturer-assembly-number { | ||||
249 | type string { | ||||
250 | length "0..255"; | ||||
251 | } | ||||
252 | description | ||||
253 | "Describes the Entity Manufacture Assembly number | ||||
254 | string"; | ||||
255 | } | ||||
256 | leaf manufacturer-assembly-revision { | ||||
257 | type string { | ||||
258 | length "0..255"; | ||||
259 | } | ||||
260 | description | ||||
261 | "Describes the Entity Manufacture assembly | ||||
262 | revision string"; | ||||
263 | } | ||||
264 | leaf manufacturer-firmware-identifier { | ||||
265 | type string { | ||||
266 | length "0..255"; | ||||
267 | } | ||||
268 | description | ||||
269 | "Describes the Entity Manufacturer Firmware | ||||
270 | Identifier string"; | ||||
271 | } | ||||
272 | leaf manufacturer-software-identifier { | ||||
273 | type string { | ||||
274 | length "0..255"; | ||||
275 | } | ||||
276 | description | ||||
277 | "Describes the Entity Manufacturer Software | ||||
278 | Identifier string"; | ||||
279 | } | ||||
280 | leaf manufacturer-common-language-equipment-identifier { | ||||
281 | type string { | ||||
282 | length "0..255"; | ||||
283 | } | ||||
284 | description | ||||
285 | "Describes the Entity Common LanguageEquipment | ||||
286 | Identifier number"; | ||||
287 | } | ||||
288 | leaf original-equipment-manufacturer-string { | ||||
289 | type string { | ||||
290 | length "0..255"; | ||||
291 | } | ||||
292 | description | ||||
293 | "Describes the Entity String containingOEM | ||||
294 | information if applicable"; | ||||
295 | } | ||||
296 | } | ||||
297 | |||||
298 | grouping INV-TIMESPEC { | ||||
299 | description | 289 | description | ||
300 | "Inventory FRU Info Time Spec"; | 290 | "Indicates the Threshold name"; | ||
301 | leaf time-in-seconds { | 291 | } | ||
302 | type int32; | 292 | } | ||
303 | units "second"; | 293 | |||
294 | grouping ENVMON-THRESHOLD-INFO-XML { | ||||
304 | description | 295 | description | ||
305 | "Time Value in Seconds"; | 296 | "Threshold information"; | ||
306 | } | 297 | list threshold-array { | ||
307 | leaf time-in-nano-seconds { | ||||
308 | type int32; | ||||
309 | units "nanosecond"; | ||||
310 | description | ||||
311 | "Time Value in Nano-seconds"; | ||||
312 | } | ||||
313 | } | ||||
314 | |||||
315 | grouping INV-CARD-FRU-INFO { | ||||
316 | description | 298 | description | ||
317 | "card (FRU) operation state bag"; | 299 | "Array of threshold"; | ||
318 | container last-operational-state-change { | 300 | uses ENVMON-THRESHOLD-TYPE; | ||
301 | } | ||||
302 | } | ||||
303 | |||||
304 | grouping ENVMON-SENSOR-INFO-XML { | ||||
319 | description | 305 | description | ||
320 | "last card oper change state"; | 306 | "Environment monitoring sensor information"; | ||
321 | uses INV-TIMESPEC; | 307 | container threshold { | ||
322 | } | ||||
323 | container card-up-time { | ||||
324 | description | ||||
325 | "time for which the card has remained up"; | ||||
326 | uses INV-TIMESPEC; | ||||
327 | } | ||||
328 | leaf card-administrative-state { | ||||
329 | type int32; | ||||
330 | description | ||||
331 | "Indicates the card admin state: shutdown or not"; | ||||
332 | } | ||||
333 | leaf power-administrative-state { | ||||
334 | type int32; | ||||
335 | description | ||||
336 | "Indicates the power admin state: up or down"; | ||||
337 | } | ||||
338 | leaf card-operational-state { | ||||
339 | type int32; | ||||
340 | description | ||||
341 | "Indicates the card operation state"; | ||||
342 | } | ||||
343 | leaf card-monitor-state { | ||||
344 | type int32; | ||||
345 | description | ||||
346 | "Indicates the card is monitored by a manager or | ||||
347 | left unmonitored"; | ||||
348 | } | ||||
349 | leaf card-reset-reason { | ||||
350 | type Card-reset-reason; | ||||
351 | description | ||||
352 | "Indicates the card reset reason enum"; | ||||
353 | } | ||||
354 | leaf power-current-measurement { | ||||
355 | type int32; | ||||
356 | description | ||||
357 | "power current: not implemented"; | ||||
358 | } | ||||
359 | leaf power-operational-state { | ||||
360 | type int32; | ||||
361 | description | ||||
362 | "Power operation state value"; | ||||
363 | } | ||||
364 | leaf last-reboot-time { | ||||
365 | type uint64; | ||||
366 | units "nanosecond"; | ||||
367 | description | ||||
368 | "Time of the last reboot in nanoseconds"; | ||||
369 | } | ||||
370 | } | ||||
371 | |||||
372 | grouping INV-PHY-ENTITY-BASIC-INFO { | ||||
373 | description | 308 | description | ||
374 | "Bag contains all the basic inventory information | 309 | "Threshold information"; | ||
375 | for each entity"; | 310 | uses ENVMON-THRESHOLD-INFO-XML; | ||
311 | } | ||||
376 | leaf description { | 312 | leaf description { | ||
377 | type string { | 313 | type string { | ||
n | 378 | length "0..255"; | n | 314 | length "0..50"; |
379 | } | ||||
380 | description | ||||
381 | "describes in user-readable termswhat the entity | ||||
382 | in question does"; | ||||
383 | } | 315 | } | ||
384 | leaf vendor-type { | 316 | description | ||
317 | "Device Name"; | ||||
318 | } | ||||
319 | leaf units { | ||||
320 | type Unit; | ||||
321 | description | ||||
322 | "Units of variable being read"; | ||||
323 | } | ||||
324 | leaf value { | ||||
385 | type string { | 325 | type string { | ||
n | 386 | length "0..255"; | n | 326 | length "0..50"; |
387 | } | ||||
388 | description | ||||
389 | "maps to the vendor OID string"; | ||||
390 | } | 327 | } | ||
391 | leaf name { | 328 | description | ||
392 | type string { | 329 | "Current reading of sensor Displays in decimal(ex | ||
393 | length "0..255"; | 330 | 1.234) for powersupply sensor type"; | ||
394 | } | 331 | } | ||
332 | leaf data-type { | ||||
333 | type Sensor-data; | ||||
395 | description | 334 | description | ||
n | 396 | "Describes the Entity name string"; | n | 335 | "Sensor data type"; |
397 | } | ||||
398 | leaf hardware-revision { | ||||
399 | type string { | ||||
400 | length "0..255"; | ||||
401 | } | 336 | } | ||
337 | leaf status { | ||||
338 | type Sensor-status; | ||||
402 | description | 339 | description | ||
n | 403 | "Describes the Entity hw revision string"; | n | 340 | "Sensor operation state"; |
404 | } | ||||
405 | leaf firmware-revision { | ||||
406 | type string { | ||||
407 | length "0..255"; | ||||
408 | } | 341 | } | ||
409 | description | 342 | leaf update-rate { | ||
410 | "Describes the Entity firmware revision string"; | ||||
411 | } | ||||
412 | leaf software-revision { | ||||
413 | type string { | ||||
414 | length "0..255"; | ||||
415 | } | ||||
416 | description | ||||
417 | "Describes the Entity software revision string"; | ||||
418 | } | ||||
419 | leaf chip-hardware-revision { | ||||
420 | type string { | ||||
421 | length "0..255"; | ||||
422 | } | ||||
423 | description | ||||
424 | "Describes the Entity chip module hw revision | ||||
425 | string"; | ||||
426 | } | ||||
427 | leaf serial-number { | ||||
428 | type string { | ||||
429 | length "0..255"; | ||||
430 | } | ||||
431 | description | ||||
432 | "Describes the Entity serial number string"; | ||||
433 | } | ||||
434 | leaf manufacturer-name { | ||||
435 | type string { | ||||
436 | length "0..255"; | ||||
437 | } | ||||
438 | description | ||||
439 | "Describes the Entity manufacturer's name string"; | ||||
440 | } | ||||
441 | leaf model-name { | ||||
442 | type string { | ||||
443 | length "0..255"; | ||||
444 | } | ||||
445 | description | ||||
446 | "Describes the Entity model name"; | ||||
447 | } | ||||
448 | leaf asset-id-str { | ||||
449 | type string { | ||||
450 | length "0..255"; | ||||
451 | } | ||||
452 | description | ||||
453 | "Describes the Entity asset Identification string"; | ||||
454 | } | ||||
455 | leaf asset-identification { | ||||
456 | type int32; | 343 | type uint32; | ||
457 | description | 344 | description | ||
t | 458 | "Describes the Entity asset Identification number"; | t | 345 | "Sensor value update rate; set to 0 if sensor |
459 | } | 346 | value is updated and evaluated immediately"; | ||
460 | leaf is-field-replaceable-unit { | ||||
461 | type boolean; | ||||
462 | description | ||||
463 | "1 if Field Replaceable Unit 0, if not"; | ||||
464 | } | ||||
465 | leaf manufacturer-asset-tags { | ||||
466 | type int32; | ||||
467 | description | ||||
468 | "Describes the Entity Manufacture Asset Tags | ||||
469 | number"; | ||||
470 | } | ||||
471 | leaf composite-class-code { | ||||
472 | type int32; | ||||
473 | description | ||||
474 | "Major&minor class of the entity"; | ||||
475 | } | ||||
476 | leaf memory-size { | ||||
477 | type int32; | ||||
478 | description | ||||
479 | "Size of memory associated withthe entity where | ||||
480 | applicable"; | ||||
481 | } | ||||
482 | leaf environmental-monitor-path { | ||||
483 | type string { | ||||
484 | length "0..255"; | ||||
485 | } | ||||
486 | description | ||||
487 | "sysdb name of sensor in the envmon EDM"; | ||||
488 | } | ||||
489 | leaf alias { | ||||
490 | type string { | ||||
491 | length "0..255"; | ||||
492 | } | ||||
493 | description | ||||
494 | "useful for storing an entity alias "; | ||||
495 | } | ||||
496 | leaf group-flag { | ||||
497 | type boolean; | ||||
498 | description | ||||
499 | "indicates if this entity is groupor not"; | ||||
500 | } | ||||
501 | leaf new-deviation-number { | ||||
502 | type int32; | ||||
503 | description | ||||
504 | "integer value for New Deviation Number 0x88"; | ||||
505 | } | ||||
506 | leaf physical-layer-interface-module-type { | ||||
507 | type int32; | ||||
508 | description | ||||
509 | "integer value for plim type ifapplicable to this | ||||
510 | entity"; | ||||
511 | } | ||||
512 | leaf unrecognized-fru { | ||||
513 | type boolean; | ||||
514 | description | ||||
515 | "1 if UnrecognizedFRU and 0 for recognizedFRU"; | ||||
516 | } | ||||
517 | leaf redundancystate { | ||||
518 | type int32; | ||||
519 | description | ||||
520 | "integer value for Redundancy State ifapplicable | ||||
521 | to this entity"; | ||||
522 | } | ||||
523 | leaf ceport { | ||||
524 | type boolean; | ||||
525 | description | ||||
526 | "1 if ce port found, 0 if not"; | ||||
527 | } | ||||
528 | leaf xr-scoped { | ||||
529 | type boolean; | ||||
530 | description | ||||
531 | "1 if xr scoped, 0 if not"; | ||||
532 | } | ||||
533 | leaf unique-id { | ||||
534 | type int32; | ||||
535 | description | ||||
536 | "Unique id for an entity"; | ||||
537 | } | ||||
538 | leaf allocated-power { | ||||
539 | type int32; | ||||
540 | description | ||||
541 | "Allocated power for an entity"; | ||||
542 | } | ||||
543 | leaf power-capacity { | ||||
544 | type int32; | ||||
545 | description | ||||
546 | "Power Capacity of a Power Module"; | ||||
547 | } | ||||
548 | leaf inactive-firmware-revision { | ||||
549 | type string { | ||||
550 | length "0..255"; | ||||
551 | } | ||||
552 | description | ||||
553 | "Describes the Entity inactive firmware revision | ||||
554 | string"; | ||||
555 | } | ||||
556 | leaf active-build-number { | ||||
557 | type string { | ||||
558 | length "0..255"; | ||||
559 | } | ||||
560 | description | ||||
561 | "Describes the Entity active build number string"; | ||||
562 | } | ||||
563 | leaf inactive-build-number { | ||||
564 | type string { | ||||
565 | length "0..255"; | ||||
566 | } | ||||
567 | description | ||||
568 | "Describes the Entity inactive build number | ||||
569 | string"; | ||||
570 | } | 347 | } | ||
571 | } | 348 | } | ||
572 | } | 349 | } |
Legends | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
+
|
f | 1 | submodule Cisco-IOS-XR-invmgr-oper-sub3 { | f | 1 | submodule Cisco-IOS-XR-invmgr-oper-sub3 { |
2 | belongs-to Cisco-IOS-XR-invmgr-oper { | 2 | belongs-to Cisco-IOS-XR-invmgr-oper { | ||
3 | prefix Cisco-IOS-XR-invmgr-oper; | 3 | prefix Cisco-IOS-XR-invmgr-oper; | ||
4 | } | 4 | } | ||
5 | 5 | ||||
n | 6 | import ietf-yang-types { | n | ||
7 | prefix yang; | ||||
8 | } | ||||
9 | import cisco-semver { | 6 | import cisco-semver { | ||
10 | prefix semver; | 7 | prefix semver; | ||
11 | } | 8 | } | ||
12 | 9 | ||||
13 | organization | 10 | organization | ||
14 | "Cisco Systems, Inc."; | 11 | "Cisco Systems, Inc."; | ||
15 | contact | 12 | contact | ||
16 | "Cisco Systems, Inc. | 13 | "Cisco Systems, Inc. | ||
17 | Customer Service | 14 | Customer Service | ||
18 | 15 | ||||
19 | Postal: 170 West Tasman Drive | 16 | Postal: 170 West Tasman Drive | ||
20 | San Jose, CA 95134 | 17 | San Jose, CA 95134 | ||
21 | 18 | ||||
22 | Tel: +1 800 553-NETS | 19 | Tel: +1 800 553-NETS | ||
23 | 20 | ||||
24 | E-mail: cs-yang@cisco.com"; | 21 | E-mail: cs-yang@cisco.com"; | ||
25 | description | 22 | description | ||
26 | "This submodule contains a collection of YANG definitions | 23 | "This submodule contains a collection of YANG definitions | ||
27 | for Cisco IOS-XR invmgr package operational data. | 24 | for Cisco IOS-XR invmgr package operational data. | ||
28 | 25 | ||||
29 | Copyright (c) 2013-2024 by Cisco Systems, Inc. | 26 | Copyright (c) 2013-2024 by Cisco Systems, Inc. | ||
30 | All rights reserved."; | 27 | All rights reserved."; | ||
31 | 28 | ||||
32 | revision 2024-05-14 { | 29 | revision 2024-05-14 { | ||
33 | description | 30 | description | ||
34 | "Added inactive-firmware-revision and build num leaves to inv-basic-bag | 31 | "Added inactive-firmware-revision and build num leaves to inv-basic-bag | ||
35 | 2023-04-16 | 32 | 2023-04-16 | ||
36 | Fixing backward compatibility error"; | 33 | Fixing backward compatibility error"; | ||
n | 37 | semver:module-version "4.0.0"; | n | 34 | semver:module-version "3.1.0"; |
38 | } | 35 | } | ||
39 | revision 2020-11-09 { | 36 | revision 2020-11-09 { | ||
40 | description | 37 | description | ||
41 | "Deprecated pluggable-info container | 38 | "Deprecated pluggable-info container | ||
42 | 2020-07-24 | 39 | 2020-07-24 | ||
43 | IOS XR 7.0.14 revision. Modified eeprom_bag to match eXR | 40 | IOS XR 7.0.14 revision. Modified eeprom_bag to match eXR | ||
44 | 2020-07-24 | 41 | 2020-07-24 | ||
45 | Addition of revision to match LNT."; | 42 | Addition of revision to match LNT."; | ||
46 | semver:module-version "3.0.0"; | 43 | semver:module-version "3.0.0"; | ||
47 | } | 44 | } | ||
48 | revision 2020-05-08 { | 45 | revision 2020-05-08 { | ||
49 | description | 46 | description | ||
50 | "Deprecated Inventory:Rack container. | 47 | "Deprecated Inventory:Rack container. | ||
51 | 2020-03-30 | 48 | 2020-03-30 | ||
52 | Changed threshold-value type to int32. | 49 | Changed threshold-value type to int32. | ||
53 | 2019-10-07 | 50 | 2019-10-07 | ||
54 | Added pluggable-info bag. | 51 | Added pluggable-info bag. | ||
55 | 2019-10-04 | 52 | 2019-10-04 | ||
56 | Removed slot-info, vm-done bags."; | 53 | Removed slot-info, vm-done bags."; | ||
57 | semver:module-version "2.0.0"; | 54 | semver:module-version "2.0.0"; | ||
58 | } | 55 | } | ||
59 | revision 2019-04-05 { | 56 | revision 2019-04-05 { | ||
60 | description | 57 | description | ||
61 | "Establish semantic version baseline."; | 58 | "Establish semantic version baseline."; | ||
62 | semver:module-version "1.0.0"; | 59 | semver:module-version "1.0.0"; | ||
63 | } | 60 | } | ||
64 | revision 2019-03-21 { | 61 | revision 2019-03-21 { | ||
65 | description | 62 | description | ||
66 | "Resolved string constraints issue."; | 63 | "Resolved string constraints issue."; | ||
67 | } | 64 | } | ||
68 | revision 2018-08-03 { | 65 | revision 2018-08-03 { | ||
69 | description | 66 | description | ||
70 | "Added slot-info and parent-info bags."; | 67 | "Added slot-info and parent-info bags."; | ||
71 | } | 68 | } | ||
72 | revision 2018-04-19 { | 69 | revision 2018-04-19 { | ||
73 | description | 70 | description | ||
74 | "Added additional bags"; | 71 | "Added additional bags"; | ||
75 | } | 72 | } | ||
76 | revision 2017-09-07 { | 73 | revision 2017-09-07 { | ||
77 | description | 74 | description | ||
78 | "Fixed type translation error."; | 75 | "Fixed type translation error."; | ||
79 | } | 76 | } | ||
80 | revision 2017-05-01 { | 77 | revision 2017-05-01 { | ||
81 | description | 78 | description | ||
82 | "Fixing backward compatibility error in module."; | 79 | "Fixing backward compatibility error in module."; | ||
83 | } | 80 | } | ||
84 | revision 2015-11-09 { | 81 | revision 2015-11-09 { | ||
85 | description | 82 | description | ||
86 | "IOS XR 6.0 revision."; | 83 | "IOS XR 6.0 revision."; | ||
87 | } | 84 | } | ||
88 | 85 | ||||
n | 89 | grouping RMA-DETAIL { | n | 86 | typedef Card-reset-reason { |
90 | description | 87 | type enumeration { | ||
91 | "EEPROM RMA data content"; | 88 | enum "reset-unknown" { | ||
92 | leaf test-history { | 89 | value 1; | ||
93 | type string { | ||||
94 | length "0..255"; | ||||
95 | } | ||||
96 | description | 90 | description | ||
97 | "RMA detail Test history innformation"; | 91 | "reset unknown"; | ||
98 | } | 92 | } | ||
99 | leaf rma-number { | 93 | enum "power-up" { | ||
100 | type string { | 94 | value 2; | ||
101 | length "0..255"; | ||||
102 | } | ||||
103 | description | 95 | description | ||
104 | "RMA tracking number format is N-N-N"; | 96 | "power up"; | ||
105 | } | 97 | } | ||
106 | leaf rma-history { | 98 | enum "parity-error" { | ||
107 | type string { | 99 | value 3; | ||
108 | length "0..255"; | ||||
109 | } | ||||
110 | description | 100 | description | ||
111 | "RMA history infromation"; | 101 | "parity error"; | ||
112 | } | 102 | } | ||
113 | } | 103 | enum "clear-config-reset" { | ||
114 | 104 | value 4; | |||
115 | grouping DIAG-EEPROM { | ||||
116 | description | ||||
117 | "Diag EEPROM data content"; | ||||
118 | container rma { | ||||
119 | description | 105 | description | ||
120 | "Description of Entity RMA Data"; | 106 | "clear config reset"; | ||
121 | uses RMA-DETAIL; | ||||
122 | } | 107 | } | ||
108 | enum "manual-reset" { | ||||
109 | value 5; | ||||
110 | description | ||||
111 | "manual reset"; | ||||
112 | } | ||||
113 | enum "watch-dog-timeout-reset" { | ||||
114 | value 6; | ||||
115 | description | ||||
116 | "watch dog timeout reset"; | ||||
117 | } | ||||
118 | enum "resource-overflow-reset" { | ||||
119 | value 7; | ||||
120 | description | ||||
121 | "resource overflow reset"; | ||||
122 | } | ||||
123 | enum "missing-task-reset" { | ||||
124 | value 8; | ||||
125 | description | ||||
126 | "missing task reset"; | ||||
127 | } | ||||
128 | enum "low-voltage-reset" { | ||||
129 | value 9; | ||||
130 | description | ||||
131 | "low voltage reset"; | ||||
132 | } | ||||
133 | enum "controller-reset" { | ||||
134 | value 10; | ||||
135 | description | ||||
136 | "controller reset"; | ||||
137 | } | ||||
138 | enum "system-reset" { | ||||
139 | value 11; | ||||
140 | description | ||||
141 | "system reset"; | ||||
142 | } | ||||
143 | enum "switchover-reset" { | ||||
144 | value 12; | ||||
145 | description | ||||
146 | "switchover reset"; | ||||
147 | } | ||||
148 | enum "upgrade-reset" { | ||||
149 | value 13; | ||||
150 | description | ||||
151 | "upgrade reset"; | ||||
152 | } | ||||
153 | enum "downgrade-reset" { | ||||
154 | value 14; | ||||
155 | description | ||||
156 | "downgrade reset"; | ||||
157 | } | ||||
158 | enum "cache-error-reset" { | ||||
159 | value 15; | ||||
160 | description | ||||
161 | "cache error reset"; | ||||
162 | } | ||||
163 | enum "device-driver-reset" { | ||||
164 | value 16; | ||||
165 | description | ||||
166 | "device driver reset"; | ||||
167 | } | ||||
168 | enum "software-exception-reset" { | ||||
169 | value 17; | ||||
170 | description | ||||
171 | "software exception reset"; | ||||
172 | } | ||||
173 | enum "restore-config-reset" { | ||||
174 | value 18; | ||||
175 | description | ||||
176 | "restore config reset"; | ||||
177 | } | ||||
178 | enum "abort-rev-reset" { | ||||
179 | value 19; | ||||
180 | description | ||||
181 | "abort rev reset"; | ||||
182 | } | ||||
183 | enum "burn-boot-reset" { | ||||
184 | value 20; | ||||
185 | description | ||||
186 | "burn boot reset"; | ||||
187 | } | ||||
188 | enum "standby-cd-healthier-reset" { | ||||
189 | value 21; | ||||
190 | description | ||||
191 | "standby cd healthier reset"; | ||||
192 | } | ||||
193 | enum "non-native-config-clear-reset" { | ||||
194 | value 22; | ||||
195 | description | ||||
196 | "non native config clear reset"; | ||||
197 | } | ||||
198 | enum "memory-protection-error-reset" { | ||||
199 | value 23; | ||||
200 | description | ||||
201 | "memory protection error reset"; | ||||
202 | } | ||||
203 | enum "card-reset-reason-max" { | ||||
204 | value 24; | ||||
205 | description | ||||
206 | "card reset reason max"; | ||||
207 | } | ||||
208 | } | ||||
209 | description | ||||
210 | "Card reset reason"; | ||||
211 | } | ||||
212 | |||||
213 | grouping INV-TIMESPEC { | ||||
214 | description | ||||
215 | "Inventory FRU Info Time Spec"; | ||||
216 | leaf time-in-seconds { | ||||
217 | type int32; | ||||
218 | units "second"; | ||||
219 | description | ||||
220 | "Time Value in Seconds"; | ||||
221 | } | ||||
222 | leaf time-in-nano-seconds { | ||||
223 | type int32; | ||||
224 | units "nanosecond"; | ||||
225 | description | ||||
226 | "Time Value in Nano-seconds"; | ||||
227 | } | ||||
228 | } | ||||
229 | |||||
230 | grouping INV-CARD-FRU-INFO { | ||||
231 | description | ||||
232 | "card (FRU) operation state bag"; | ||||
233 | container last-operational-state-change { | ||||
234 | description | ||||
235 | "last card oper change state"; | ||||
236 | uses INV-TIMESPEC; | ||||
237 | } | ||||
238 | container card-up-time { | ||||
239 | description | ||||
240 | "time for which the card has remained up"; | ||||
241 | uses INV-TIMESPEC; | ||||
242 | } | ||||
243 | leaf card-administrative-state { | ||||
244 | type int32; | ||||
245 | description | ||||
246 | "Indicates the card admin state: shutdown or not"; | ||||
247 | } | ||||
248 | leaf power-administrative-state { | ||||
249 | type int32; | ||||
250 | description | ||||
251 | "Indicates the power admin state: up or down"; | ||||
252 | } | ||||
253 | leaf card-operational-state { | ||||
254 | type int32; | ||||
255 | description | ||||
256 | "Indicates the card operation state"; | ||||
257 | } | ||||
258 | leaf card-monitor-state { | ||||
259 | type int32; | ||||
260 | description | ||||
261 | "Indicates the card is monitored by a manager or | ||||
262 | left unmonitored"; | ||||
263 | } | ||||
264 | leaf card-reset-reason { | ||||
265 | type Card-reset-reason; | ||||
266 | description | ||||
267 | "Indicates the card reset reason enum"; | ||||
268 | } | ||||
269 | leaf power-current-measurement { | ||||
270 | type int32; | ||||
271 | description | ||||
272 | "power current: not implemented"; | ||||
273 | } | ||||
274 | leaf power-operational-state { | ||||
275 | type int32; | ||||
276 | description | ||||
277 | "Power operation state value"; | ||||
278 | } | ||||
279 | leaf last-reboot-time { | ||||
280 | type uint64; | ||||
281 | units "nanosecond"; | ||||
282 | description | ||||
283 | "Time of the last reboot in nanoseconds"; | ||||
284 | } | ||||
285 | } | ||||
286 | |||||
287 | grouping INV-PWG-INFO { | ||||
288 | description | ||||
289 | "Power supply group bag"; | ||||
290 | leaf power-group-redundancy-mode { | ||||
291 | type int32; | ||||
292 | description | ||||
293 | "redundancy mode"; | ||||
294 | } | ||||
295 | leaf power-group-power-units { | ||||
296 | type string; | ||||
297 | description | ||||
298 | "power units"; | ||||
299 | } | ||||
300 | leaf power-group-available-current { | ||||
301 | type int32; | ||||
302 | description | ||||
303 | "available current"; | ||||
304 | } | ||||
305 | leaf power-group-drawn-current { | ||||
306 | type int32; | ||||
307 | description | ||||
308 | "drawn current"; | ||||
309 | } | ||||
310 | } | ||||
311 | |||||
312 | grouping INV-PHY-ENTITY-BASIC-INFO { | ||||
313 | description | ||||
314 | "Bag contains all the basic inventory information | ||||
315 | for each entity"; | ||||
123 | leaf description { | 316 | leaf description { | ||
124 | type string { | 317 | type string { | ||
125 | length "0..255"; | 318 | length "0..255"; | ||
126 | } | 319 | } | ||
127 | description | 320 | description | ||
n | 128 | "A textual description of physical entity"; | n | 321 | "describes in user-readable termswhat the entity |
129 | } | 322 | in question does"; | ||
130 | leaf idprom-format-rev { | ||||
131 | type string { | ||||
132 | length "0..255"; | ||||
133 | } | 323 | } | ||
134 | description | 324 | leaf vendor-type { | ||
135 | "Description of Entity IDPROM Format Revision"; | 325 | type string { | ||
326 | length "0..255"; | ||||
136 | } | 327 | } | ||
137 | leaf controller-family { | 328 | description | ||
138 | type string { | 329 | "maps to the vendor OID string"; | ||
139 | length "0..255"; | ||||
140 | } | 330 | } | ||
141 | description | ||||
142 | "Description of Entity Controller family"; | ||||
143 | } | ||||
144 | leaf controller-type { | ||||
145 | type string { | ||||
146 | length "0..255"; | ||||
147 | } | ||||
148 | description | ||||
149 | "Description of Entity Controller type"; | ||||
150 | } | ||||
151 | leaf vid { | ||||
152 | type string { | ||||
153 | length "0..255"; | ||||
154 | } | ||||
155 | description | ||||
156 | "Description of Entity Version ID"; | ||||
157 | } | ||||
158 | leaf hwid { | ||||
159 | type string { | ||||
160 | length "0..255"; | ||||
161 | } | ||||
162 | description | ||||
163 | "Description of Entity Hardware Revision"; | ||||
164 | } | ||||
165 | leaf pid { | ||||
166 | type string { | ||||
167 | length "0..255"; | ||||
168 | } | ||||
169 | description | ||||
170 | "Description of Entity Product ID"; | ||||
171 | } | ||||
172 | leaf udi-description { | ||||
173 | type string { | ||||
174 | length "0..255"; | ||||
175 | } | ||||
176 | description | ||||
177 | "Description of Entity UDI"; | ||||
178 | } | ||||
179 | leaf udi-name { | 331 | leaf name { | ||
180 | type string { | 332 | type string { | ||
181 | length "0..255"; | 333 | length "0..255"; | ||
n | 182 | } | n | ||
183 | description | ||||
184 | "Description of Entity UDI name"; | ||||
185 | } | 334 | } | ||
186 | leaf clei { | 335 | description | ||
187 | type string { | 336 | "Describes the Entity name string"; | ||
188 | length "0..255"; | ||||
189 | } | 337 | } | ||
190 | description | 338 | leaf hardware-revision { | ||
191 | "Common Language Equipment Identifier (CLEI) code"; | 339 | type string { | ||
340 | length "0..255"; | ||||
192 | } | 341 | } | ||
193 | leaf eci { | 342 | description | ||
194 | type string { | 343 | "Describes the Entity hw revision string"; | ||
195 | length "0..255"; | ||||
196 | } | 344 | } | ||
197 | description | 345 | leaf firmware-revision { | ||
198 | "Equipment Catalog Item (ECI) number"; | 346 | type string { | ||
347 | length "0..255"; | ||||
199 | } | 348 | } | ||
200 | leaf top-assem-part-num { | 349 | description | ||
201 | type string { | 350 | "Describes the Entity firmware revision string"; | ||
202 | length "0..255"; | ||||
203 | } | 351 | } | ||
204 | description | 352 | leaf software-revision { | ||
205 | "Description of Top assembly part number"; | 353 | type string { | ||
354 | length "0..255"; | ||||
206 | } | 355 | } | ||
207 | leaf top-assem-vid { | 356 | description | ||
208 | type string { | 357 | "Describes the Entity software revision string"; | ||
209 | length "0..255"; | ||||
210 | } | 358 | } | ||
211 | description | 359 | leaf chip-hardware-revision { | ||
212 | "Description of Top assembly revision number"; | 360 | type string { | ||
361 | length "0..255"; | ||||
213 | } | 362 | } | ||
214 | leaf pca-num { | ||||
215 | type string { | ||||
216 | length "0..255"; | ||||
217 | } | ||||
218 | description | 363 | description | ||
n | 219 | "Description of Entity PCA number"; | n | 364 | "Describes the Entity chip module hw revision |
220 | } | 365 | string"; | ||
221 | leaf pcavid { | ||||
222 | type string { | ||||
223 | length "0..255"; | ||||
224 | } | ||||
225 | description | ||||
226 | "Description of Entity PCA revision ID"; | ||||
227 | } | ||||
228 | leaf chassis-sid { | ||||
229 | type string { | ||||
230 | length "0..255"; | ||||
231 | } | ||||
232 | description | ||||
233 | "Description of Entity Chassis serial number"; | ||||
234 | } | ||||
235 | leaf dev-num1 { | ||||
236 | type string { | ||||
237 | length "0..255"; | ||||
238 | } | ||||
239 | description | ||||
240 | "Deviation Number # 1"; | ||||
241 | } | ||||
242 | leaf dev-num2 { | ||||
243 | type string { | ||||
244 | length "0..255"; | ||||
245 | } | ||||
246 | description | ||||
247 | "Deviation Number # 2"; | ||||
248 | } | ||||
249 | leaf dev-num3 { | ||||
250 | type string { | ||||
251 | length "0..255"; | ||||
252 | } | ||||
253 | description | ||||
254 | "Deviation Number # 3"; | ||||
255 | } | ||||
256 | leaf dev-num4 { | ||||
257 | type string { | ||||
258 | length "0..255"; | ||||
259 | } | ||||
260 | description | ||||
261 | "Deviation Number # 4"; | ||||
262 | } | ||||
263 | leaf dev-num5 { | ||||
264 | type string { | ||||
265 | length "0..255"; | ||||
266 | } | ||||
267 | description | ||||
268 | "Deviation Number # 5"; | ||||
269 | } | ||||
270 | leaf dev-num6 { | ||||
271 | type string { | ||||
272 | length "0..255"; | ||||
273 | } | ||||
274 | description | ||||
275 | "Deviation Number # 6"; | ||||
276 | } | ||||
277 | leaf dev-num7 { | ||||
278 | type string { | ||||
279 | length "0..255"; | ||||
280 | } | ||||
281 | description | ||||
282 | "Deviation Number # 7"; | ||||
283 | } | ||||
284 | leaf manu-test-data { | ||||
285 | type string { | ||||
286 | length "0..255"; | ||||
287 | } | ||||
288 | description | ||||
289 | "Manufacturing Test Data"; | ||||
290 | } | ||||
291 | leaf asset-id { | ||||
292 | type string { | ||||
293 | length "0..255"; | ||||
294 | } | ||||
295 | description | ||||
296 | "Description of Entity Asset ID"; | ||||
297 | } | ||||
298 | leaf asset-alias { | ||||
299 | type string { | ||||
300 | length "0..255"; | ||||
301 | } | ||||
302 | description | ||||
303 | "Description of Entity Asset Alias"; | ||||
304 | } | ||||
305 | leaf base-mac-address1 { | ||||
306 | type string { | ||||
307 | length "0..255"; | ||||
308 | } | ||||
309 | description | ||||
310 | "Base Mac Address #1"; | ||||
311 | } | ||||
312 | leaf mac-add-blk-size1 { | ||||
313 | type string { | ||||
314 | length "0..255"; | ||||
315 | } | ||||
316 | description | ||||
317 | "Mac Address Block Size #1"; | ||||
318 | } | ||||
319 | leaf base-mac-address2 { | ||||
320 | type string { | ||||
321 | length "0..255"; | ||||
322 | } | ||||
323 | description | ||||
324 | "Base Mac Address #2"; | ||||
325 | } | ||||
326 | leaf mac-add-blk-size2 { | ||||
327 | type string { | ||||
328 | length "0..255"; | ||||
329 | } | ||||
330 | description | ||||
331 | "Mac Address Block Size #2"; | ||||
332 | } | ||||
333 | leaf base-mac-address3 { | ||||
334 | type string { | ||||
335 | length "0..255"; | ||||
336 | } | ||||
337 | description | ||||
338 | "Base Mac Address #3"; | ||||
339 | } | ||||
340 | leaf mac-add-blk-size3 { | ||||
341 | type string { | ||||
342 | length "0..255"; | ||||
343 | } | ||||
344 | description | ||||
345 | "Mac Address Block Size #3"; | ||||
346 | } | ||||
347 | leaf base-mac-address4 { | ||||
348 | type string { | ||||
349 | length "0..255"; | ||||
350 | } | ||||
351 | description | ||||
352 | "Base Mac Address #4"; | ||||
353 | } | ||||
354 | leaf mac-add-blk-size4 { | ||||
355 | type string { | ||||
356 | length "0..255"; | ||||
357 | } | ||||
358 | description | ||||
359 | "Mac Address Block Size #4"; | ||||
360 | } | ||||
361 | leaf pcb-serial-num { | ||||
362 | type string { | ||||
363 | length "0..255"; | ||||
364 | } | ||||
365 | description | ||||
366 | "Description of Entity PCB Serial Number"; | ||||
367 | } | ||||
368 | leaf power-supply-type { | ||||
369 | type string { | ||||
370 | length "0..255"; | ||||
371 | } | ||||
372 | description | ||||
373 | "Description of Entity Power Supply Type"; | ||||
374 | } | ||||
375 | leaf power-consumption { | ||||
376 | type string { | ||||
377 | length "0..255"; | ||||
378 | } | ||||
379 | description | ||||
380 | "Description of Entity Power Consumption"; | ||||
381 | } | ||||
382 | leaf block-signature { | ||||
383 | type string { | ||||
384 | length "0..255"; | ||||
385 | } | ||||
386 | description | ||||
387 | "Description of Entity Block Signature"; | ||||
388 | } | ||||
389 | leaf block-version { | ||||
390 | type string { | ||||
391 | length "0..255"; | ||||
392 | } | ||||
393 | description | ||||
394 | "Description of Entity Block Version"; | ||||
395 | } | ||||
396 | leaf block-length { | ||||
397 | type string { | ||||
398 | length "0..255"; | ||||
399 | } | ||||
400 | description | ||||
401 | "Description of Entity Block Length"; | ||||
402 | } | ||||
403 | leaf block-checksum { | ||||
404 | type string { | ||||
405 | length "0..255"; | ||||
406 | } | ||||
407 | description | ||||
408 | "Description of Entity Block Checksum"; | ||||
409 | } | ||||
410 | leaf eeprom-size { | ||||
411 | type string { | ||||
412 | length "0..255"; | ||||
413 | } | ||||
414 | description | ||||
415 | "Description of Entity EEPROM Size"; | ||||
416 | } | ||||
417 | leaf block-count { | ||||
418 | type string { | ||||
419 | length "0..255"; | ||||
420 | } | ||||
421 | description | ||||
422 | "Description of Entity Block Count"; | ||||
423 | } | ||||
424 | leaf fru-major-type { | ||||
425 | type string { | ||||
426 | length "0..255"; | ||||
427 | } | ||||
428 | description | ||||
429 | "Description of Entity FRU Major Type"; | ||||
430 | } | ||||
431 | leaf fru-minor-type { | ||||
432 | type string { | ||||
433 | length "0..255"; | ||||
434 | } | ||||
435 | description | ||||
436 | "Description of Entity FRU Minor Type"; | ||||
437 | } | ||||
438 | leaf oem-string { | ||||
439 | type string { | ||||
440 | length "0..255"; | ||||
441 | } | ||||
442 | description | ||||
443 | "Description of Entity OEM String"; | ||||
444 | } | ||||
445 | leaf product-id { | ||||
446 | type string { | ||||
447 | length "0..255"; | ||||
448 | } | ||||
449 | description | ||||
450 | "Description of Entity Product ID"; | ||||
451 | } | 366 | } | ||
452 | leaf serial-number { | 367 | leaf serial-number { | ||
453 | type string { | 368 | type string { | ||
454 | length "0..255"; | 369 | length "0..255"; | ||
455 | } | 370 | } | ||
456 | description | 371 | description | ||
n | 457 | "Description of Entity Serial Number"; | n | 372 | "Describes the Entity serial number string"; |
373 | } | ||||
374 | leaf manufacturer-name { | ||||
375 | type string { | ||||
376 | length "0..255"; | ||||
458 | } | 377 | } | ||
378 | description | ||||
379 | "Describes the Entity manufacturer's name string"; | ||||
380 | } | ||||
381 | leaf model-name { | ||||
382 | type string { | ||||
383 | length "0..255"; | ||||
384 | } | ||||
385 | description | ||||
386 | "Describes the Entity model name"; | ||||
387 | } | ||||
388 | leaf asset-id-str { | ||||
389 | type string { | ||||
390 | length "0..255"; | ||||
391 | } | ||||
392 | description | ||||
393 | "Describes the Entity asset Identification string"; | ||||
394 | } | ||||
395 | leaf asset-identification { | ||||
396 | type int32; | ||||
397 | description | ||||
398 | "Describes the Entity asset Identification number"; | ||||
399 | } | ||||
400 | leaf is-field-replaceable-unit { | ||||
401 | type boolean; | ||||
402 | description | ||||
403 | "1 if Field Replaceable Unit 0, if not"; | ||||
404 | } | ||||
405 | leaf manufacturer-asset-tags { | ||||
406 | type int32; | ||||
407 | description | ||||
408 | "Describes the Entity Manufacture Asset Tags | ||||
409 | number"; | ||||
410 | } | ||||
411 | leaf composite-class-code { | ||||
412 | type int32; | ||||
413 | description | ||||
414 | "Major&minor class of the entity"; | ||||
415 | } | ||||
416 | leaf memory-size { | ||||
417 | type int32; | ||||
418 | description | ||||
419 | "Size of memory associated withthe entity where | ||||
420 | applicable"; | ||||
421 | } | ||||
422 | leaf environmental-monitor-path { | ||||
423 | type string { | ||||
424 | length "0..255"; | ||||
425 | } | ||||
426 | description | ||||
427 | "sysdb name of sensor in the envmon EDM"; | ||||
428 | } | ||||
429 | leaf alias { | ||||
430 | type string { | ||||
431 | length "0..255"; | ||||
432 | } | ||||
433 | description | ||||
434 | "useful for storing an entity alias "; | ||||
435 | } | ||||
436 | leaf group-flag { | ||||
437 | type boolean; | ||||
438 | description | ||||
439 | "indicates if this entity is groupor not"; | ||||
440 | } | ||||
441 | leaf new-deviation-number { | ||||
442 | type int32; | ||||
443 | description | ||||
444 | "integer value for New Deviation Number 0x88"; | ||||
445 | } | ||||
446 | leaf physical-layer-interface-module-type { | ||||
447 | type int32; | ||||
448 | description | ||||
449 | "integer value for plim type ifapplicable to this | ||||
450 | entity"; | ||||
451 | } | ||||
452 | leaf unrecognized-fru { | ||||
453 | type boolean; | ||||
454 | description | ||||
455 | "1 if UnrecognizedFRU and 0 for recognizedFRU"; | ||||
456 | } | ||||
457 | leaf redundancystate { | ||||
458 | type int32; | ||||
459 | description | ||||
460 | "integer value for Redundancy State ifapplicable | ||||
461 | to this entity"; | ||||
462 | } | ||||
463 | leaf ceport { | ||||
464 | type boolean; | ||||
465 | description | ||||
466 | "1 if ce port found, 0 if not"; | ||||
467 | } | ||||
468 | leaf xr-scoped { | ||||
469 | type boolean; | ||||
470 | description | ||||
471 | "1 if xr scoped, 0 if not"; | ||||
472 | } | ||||
473 | leaf unique-id { | ||||
474 | type int32; | ||||
475 | description | ||||
476 | "Unique id for an entity"; | ||||
477 | } | ||||
478 | leaf allocated-power { | ||||
479 | type int32; | ||||
480 | description | ||||
481 | "Allocated power for an entity"; | ||||
482 | } | ||||
483 | leaf power-capacity { | ||||
484 | type int32; | ||||
485 | description | ||||
486 | "Power Capacity of a Power Module"; | ||||
487 | } | ||||
488 | leaf inactive-firmware-revision { | ||||
489 | type string { | ||||
490 | length "0..255"; | ||||
491 | } | ||||
492 | description | ||||
493 | "Describes the Entity inactive firmware revision | ||||
494 | string"; | ||||
495 | } | ||||
496 | leaf active-build-number { | ||||
497 | type string { | ||||
498 | length "0..255"; | ||||
499 | } | ||||
500 | description | ||||
501 | "Describes the Entity active build number string"; | ||||
502 | } | ||||
503 | leaf inactive-build-number { | ||||
504 | type string { | ||||
505 | length "0..255"; | ||||
506 | } | ||||
507 | description | ||||
508 | "Describes the Entity inactive build number | ||||
509 | string"; | ||||
510 | } | ||||
511 | } | ||||
512 | |||||
513 | grouping INV-PHY-ENTITY-ASSET-INFO { | ||||
514 | description | ||||
515 | "The physical entity detaled asset attribute bag"; | ||||
459 | leaf part-number { | 516 | leaf part-number { | ||
460 | type string { | 517 | type string { | ||
461 | length "0..255"; | 518 | length "0..255"; | ||
462 | } | 519 | } | ||
463 | description | 520 | description | ||
t | 464 | "Description of Entity Part Number"; | t | 521 | "Describes the Entity Part Number"; |
465 | } | ||||
466 | leaf part-revision { | ||||
467 | type string { | ||||
468 | length "0..255"; | ||||
469 | } | 522 | } | ||
470 | description | 523 | leaf manufacturer-assembly-number { | ||
471 | "Description of Entity Part Revision"; | 524 | type string { | ||
525 | length "0..255"; | ||||
472 | } | 526 | } | ||
473 | leaf mfg-deviation { | ||||
474 | type string { | ||||
475 | length "0..255"; | ||||
476 | } | ||||
477 | description | ||||
478 | "Description of Entity MFG Deviation"; | ||||
479 | } | ||||
480 | leaf hw-version { | ||||
481 | type string { | ||||
482 | length "0..255"; | ||||
483 | } | ||||
484 | description | ||||
485 | "Description of Entity Hardware Version"; | ||||
486 | } | ||||
487 | leaf mfg-bits { | ||||
488 | type string { | ||||
489 | length "0..255"; | ||||
490 | } | ||||
491 | description | ||||
492 | "Description of Entity MFG Bits"; | ||||
493 | } | ||||
494 | leaf engineer-use { | ||||
495 | type string { | ||||
496 | length "0..255"; | ||||
497 | } | ||||
498 | description | ||||
499 | "Description of Entity Engineer Use"; | ||||
500 | } | ||||
501 | leaf snmpoid { | ||||
502 | type string { | ||||
503 | length "0..255"; | ||||
504 | } | ||||
505 | description | ||||
506 | "Description of Entity SNMP OID"; | ||||
507 | } | ||||
508 | leaf rma-code { | ||||
509 | type string { | ||||
510 | length "0..255"; | ||||
511 | } | ||||
512 | description | ||||
513 | "Description of Entity RMA Code"; | ||||
514 | } | ||||
515 | leaf eci-alpha-number { | ||||
516 | type string { | ||||
517 | length "0..255"; | ||||
518 | } | ||||
519 | description | ||||
520 | "AlphaNumeric Equipment Catalog Item (ECI) number"; | ||||
521 | } | ||||
522 | } | ||||
523 | |||||
524 | grouping INVMGR-EEPROM-OPAQUE-DATA { | ||||
525 | description | 527 | description | ||
526 | "invmgr eeprom opaque data"; | 528 | "Describes the Entity Manufacture Assembly number | ||
527 | container eeprom { | 529 | string"; | ||
528 | description | ||||
529 | "EEPROM data not from hex data"; | ||||
530 | uses DIAG-EEPROM; | ||||
531 | } | ||||
532 | leaf inv-card-type { | ||||
533 | type uint8; | ||||
534 | description | ||||
535 | "Inventory card type"; | ||||
536 | } | ||||
537 | leaf opaque-data { | ||||
538 | type yang:hex-string; | ||||
539 | description | ||||
540 | "EEPROM hex data"; | ||||
541 | } | ||||
542 | leaf opaque-data-size { | ||||
543 | type uint32; | ||||
544 | description | ||||
545 | "size of the EEPROM hex data"; | ||||
546 | } | ||||
547 | leaf has-eeprom { | ||||
548 | type uint32; | ||||
549 | description | ||||
550 | "use eeprom instead of opaque data"; | ||||
551 | } | ||||
552 | leaf has-eeprom-format { | ||||
553 | type uint32; | ||||
554 | description | ||||
555 | "Format of the eeprom present"; | ||||
556 | } | ||||
557 | leaf eeprom-format { | ||||
558 | type uint32; | ||||
559 | description | ||||
560 | "Format of the eeprom"; | ||||
561 | } | ||||
562 | leaf name { | ||||
563 | type string { | ||||
564 | length "0..255"; | ||||
565 | } | 530 | } | ||
566 | description | 531 | leaf manufacturer-assembly-revision { | ||
567 | "Name of the physical entity"; | 532 | type string { | ||
533 | length "0..255"; | ||||
568 | } | 534 | } | ||
569 | leaf description { | ||||
570 | type string { | ||||
571 | length "0..255"; | ||||
572 | } | ||||
573 | description | ||||
574 | "A textual description of physical entity"; | ||||
575 | } | ||||
576 | leaf form-factor { | ||||
577 | type uint32; | ||||
578 | description | ||||
579 | "Optics form factor"; | ||||
580 | } | ||||
581 | leaf connector-type { | ||||
582 | type uint32; | ||||
583 | description | ||||
584 | "Describes the Entity Connector type"; | ||||
585 | } | ||||
586 | leaf otn-application-code { | ||||
587 | type uint32; | ||||
588 | description | ||||
589 | "Describes the Entity Otn Application Code"; | ||||
590 | } | ||||
591 | leaf sonet-application-code { | ||||
592 | type uint32; | ||||
593 | description | ||||
594 | "Describes the Entity Sonet Application Code"; | ||||
595 | } | ||||
596 | leaf ethernet-compliance-code { | ||||
597 | type uint32; | ||||
598 | description | ||||
599 | "Describes the Entity Ethernet Compliance Code"; | ||||
600 | } | ||||
601 | leaf date-string { | ||||
602 | type string { | ||||
603 | length "0..255"; | ||||
604 | } | ||||
605 | description | ||||
606 | "Describes the Entity Date string in IDPROM"; | ||||
607 | } | ||||
608 | leaf vendor-revision { | ||||
609 | type string { | ||||
610 | length "0..255"; | ||||
611 | } | ||||
612 | description | ||||
613 | "Vendor rev string in IDPROM"; | ||||
614 | } | ||||
615 | } | ||||
616 | |||||
617 | grouping NODEID-INFO { | ||||
618 | description | 535 | description | ||
619 | "Node ID Information"; | 536 | "Describes the Entity Manufacture assembly | ||
620 | leaf node-id { | 537 | revision string"; | ||
621 | type uint32; | 538 | } | ||
622 | description | 539 | leaf manufacturer-firmware-identifier { | ||
623 | "Node Id Tuple"; | 540 | type string { | ||
541 | length "0..255"; | ||||
624 | } | 542 | } | ||
625 | } | ||||
626 | |||||
627 | grouping SUPPORTED-INTERFACES-INFO { | ||||
628 | description | 543 | description | ||
629 | "Interface Capability"; | 544 | "Describes the Entity Manufacturer Firmware | ||
630 | leaf name { | 545 | Identifier string"; | ||
631 | type string { | ||||
632 | length "0..255"; | ||||
633 | } | 546 | } | ||
634 | description | 547 | leaf manufacturer-software-identifier { | ||
635 | "Name of the interface capability"; | 548 | type string { | ||
549 | length "0..255"; | ||||
636 | } | 550 | } | ||
637 | } | ||||
638 | |||||
639 | grouping PLUGGABLE-TYPE { | ||||
640 | description | 551 | description | ||
641 | "Supported Interfaces for pluggable"; | 552 | "Describes the Entity Manufacturer Software | ||
642 | leaf name { | 553 | Identifier string"; | ||
643 | type string { | ||||
644 | length "0..255"; | ||||
645 | } | 554 | } | ||
646 | description | 555 | leaf manufacturer-common-language-equipment-identifier { | ||
647 | "Name of the pluggable"; | 556 | type string { | ||
557 | length "0..255"; | ||||
648 | } | 558 | } | ||
649 | leaf description { | ||||
650 | type string { | ||||
651 | length "0..255"; | ||||
652 | } | ||||
653 | description | ||||
654 | "Description for the pluggable"; | ||||
655 | } | ||||
656 | list supported-interface { | ||||
657 | description | ||||
658 | "List of supported interfaces for the pluggable"; | ||||
659 | uses SUPPORTED-INTERFACES-INFO; | ||||
660 | } | ||||
661 | } | ||||
662 | |||||
663 | grouping PLUGGABLE-INFO { | ||||
664 | description | 559 | description | ||
665 | "Bag to store the available pluggable types for a | 560 | "Describes the Entity Common LanguageEquipment | ||
666 | container"; | 561 | Identifier number"; | ||
667 | list pluggable-type { | 562 | } | ||
668 | description | 563 | leaf original-equipment-manufacturer-string { | ||
669 | "List of the Pluggables for the container"; | 564 | type string { | ||
670 | uses PLUGGABLE-TYPE; | 565 | length "0..255"; | ||
671 | } | 566 | } | ||
672 | } | ||||
673 | |||||
674 | grouping VM-NODEID-INFO { | ||||
675 | description | 567 | description | ||
676 | "VM Node ID Information"; | 568 | "Describes the Entity String containingOEM | ||
677 | leaf vm-node-id { | 569 | information if applicable"; | ||
678 | type uint32; | ||||
679 | description | ||||
680 | "VM Node Id Tuple"; | ||||
681 | } | ||||
682 | } | ||||
683 | |||||
684 | grouping SUBENTITY-INFO { | ||||
685 | description | ||||
686 | "Subentity Information"; | ||||
687 | leaf subentity-name { | ||||
688 | type string { | ||||
689 | length "0..255"; | ||||
690 | } | ||||
691 | description | ||||
692 | "Describe the Subentity Name"; | ||||
693 | } | ||||
694 | } | ||||
695 | |||||
696 | grouping INV-PARENT-INFO { | ||||
697 | description | ||||
698 | "Bag to indicate the name of the parent entity"; | ||||
699 | leaf name { | ||||
700 | type string { | ||||
701 | length "0..255"; | ||||
702 | } | ||||
703 | description | ||||
704 | "Parent entity name"; | ||||
705 | } | 570 | } | ||
706 | } | 571 | } | ||
707 | } | 572 | } |
Legends | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
+
|
f | 1 | module Cisco-IOS-XR-invmgr-oper { | f | 1 | module Cisco-IOS-XR-invmgr-oper { |
2 | namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-invmgr-oper"; | 2 | namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-invmgr-oper"; | ||
3 | prefix invmgr-oper; | 3 | prefix invmgr-oper; | ||
4 | 4 | ||||
5 | import Cisco-IOS-XR-types { | 5 | import Cisco-IOS-XR-types { | ||
6 | prefix xr; | 6 | prefix xr; | ||
7 | } | 7 | } | ||
8 | import cisco-semver { | 8 | import cisco-semver { | ||
9 | prefix semver; | 9 | prefix semver; | ||
10 | } | 10 | } | ||
11 | include Cisco-IOS-XR-invmgr-oper-sub4 { | 11 | include Cisco-IOS-XR-invmgr-oper-sub4 { | ||
12 | revision-date 2024-05-14; | 12 | revision-date 2024-05-14; | ||
13 | } | 13 | } | ||
14 | include Cisco-IOS-XR-invmgr-oper-sub3 { | 14 | include Cisco-IOS-XR-invmgr-oper-sub3 { | ||
15 | revision-date 2024-05-14; | 15 | revision-date 2024-05-14; | ||
16 | } | 16 | } | ||
17 | include Cisco-IOS-XR-invmgr-oper-sub2 { | 17 | include Cisco-IOS-XR-invmgr-oper-sub2 { | ||
18 | revision-date 2024-05-14; | 18 | revision-date 2024-05-14; | ||
19 | } | 19 | } | ||
20 | include Cisco-IOS-XR-invmgr-oper-sub1 { | 20 | include Cisco-IOS-XR-invmgr-oper-sub1 { | ||
21 | revision-date 2024-05-14; | 21 | revision-date 2024-05-14; | ||
22 | } | 22 | } | ||
23 | 23 | ||||
24 | organization | 24 | organization | ||
25 | "Cisco Systems, Inc."; | 25 | "Cisco Systems, Inc."; | ||
26 | contact | 26 | contact | ||
27 | "Cisco Systems, Inc. | 27 | "Cisco Systems, Inc. | ||
28 | Customer Service | 28 | Customer Service | ||
29 | 29 | ||||
30 | Postal: 170 West Tasman Drive | 30 | Postal: 170 West Tasman Drive | ||
31 | San Jose, CA 95134 | 31 | San Jose, CA 95134 | ||
32 | 32 | ||||
33 | Tel: +1 800 553-NETS | 33 | Tel: +1 800 553-NETS | ||
34 | 34 | ||||
35 | E-mail: cs-yang@cisco.com"; | 35 | E-mail: cs-yang@cisco.com"; | ||
36 | description | 36 | description | ||
37 | "This module contains a collection of YANG definitions | 37 | "This module contains a collection of YANG definitions | ||
38 | for Cisco IOS-XR invmgr package operational data. | 38 | for Cisco IOS-XR invmgr package operational data. | ||
39 | 39 | ||||
40 | This module contains definitions | 40 | This module contains definitions | ||
41 | for the following management objects: | 41 | for the following management objects: | ||
42 | inventory: Inventory information | 42 | inventory: Inventory information | ||
43 | 43 | ||||
44 | Copyright (c) 2013-2024 by Cisco Systems, Inc. | 44 | Copyright (c) 2013-2024 by Cisco Systems, Inc. | ||
45 | All rights reserved."; | 45 | All rights reserved."; | ||
46 | 46 | ||||
47 | revision 2024-05-14 { | 47 | revision 2024-05-14 { | ||
48 | description | 48 | description | ||
49 | "Added inactive-firmware-revision and build num leaves to inv-basic-bag | 49 | "Added inactive-firmware-revision and build num leaves to inv-basic-bag | ||
50 | 2023-04-16 | 50 | 2023-04-16 | ||
51 | Fixing backward compatibility error"; | 51 | Fixing backward compatibility error"; | ||
n | 52 | semver:module-version "4.0.0"; | n | 52 | semver:module-version "3.1.0"; |
53 | } | 53 | } | ||
54 | revision 2020-11-09 { | 54 | revision 2020-11-09 { | ||
55 | description | 55 | description | ||
56 | "Deprecated pluggable-info container | 56 | "Deprecated pluggable-info container | ||
57 | 2020-07-24 | 57 | 2020-07-24 | ||
58 | IOS XR 7.0.14 revision. Modified eeprom_bag to match eXR | 58 | IOS XR 7.0.14 revision. Modified eeprom_bag to match eXR | ||
59 | 2020-07-24 | 59 | 2020-07-24 | ||
60 | Addition of revision to match LNT."; | 60 | Addition of revision to match LNT."; | ||
61 | semver:module-version "3.0.0"; | 61 | semver:module-version "3.0.0"; | ||
62 | } | 62 | } | ||
63 | revision 2020-05-08 { | 63 | revision 2020-05-08 { | ||
64 | description | 64 | description | ||
65 | "Deprecated Inventory:Rack container. | 65 | "Deprecated Inventory:Rack container. | ||
66 | 2020-03-30 | 66 | 2020-03-30 | ||
67 | Changed threshold-value type to int32. | 67 | Changed threshold-value type to int32. | ||
68 | 2019-10-07 | 68 | 2019-10-07 | ||
69 | Added pluggable-info bag. | 69 | Added pluggable-info bag. | ||
70 | 2019-10-04 | 70 | 2019-10-04 | ||
71 | Removed slot-info, vm-done bags."; | 71 | Removed slot-info, vm-done bags."; | ||
72 | semver:module-version "2.0.0"; | 72 | semver:module-version "2.0.0"; | ||
73 | } | 73 | } | ||
74 | revision 2019-04-05 { | 74 | revision 2019-04-05 { | ||
75 | description | 75 | description | ||
76 | "Establish semantic version baseline."; | 76 | "Establish semantic version baseline."; | ||
77 | semver:module-version "1.0.0"; | 77 | semver:module-version "1.0.0"; | ||
78 | } | 78 | } | ||
79 | revision 2019-03-21 { | 79 | revision 2019-03-21 { | ||
80 | description | 80 | description | ||
81 | "Resolved string constraints issue."; | 81 | "Resolved string constraints issue."; | ||
82 | } | 82 | } | ||
83 | revision 2018-08-03 { | 83 | revision 2018-08-03 { | ||
84 | description | 84 | description | ||
85 | "Added slot-info and parent-info bags."; | 85 | "Added slot-info and parent-info bags."; | ||
86 | } | 86 | } | ||
87 | revision 2018-04-19 { | 87 | revision 2018-04-19 { | ||
88 | description | 88 | description | ||
89 | "Added additional bags"; | 89 | "Added additional bags"; | ||
90 | } | 90 | } | ||
91 | revision 2017-09-07 { | 91 | revision 2017-09-07 { | ||
92 | description | 92 | description | ||
93 | "Fixed type translation error."; | 93 | "Fixed type translation error."; | ||
94 | } | 94 | } | ||
95 | revision 2017-05-01 { | 95 | revision 2017-05-01 { | ||
96 | description | 96 | description | ||
97 | "Fixing backward compatibility error in module."; | 97 | "Fixing backward compatibility error in module."; | ||
98 | } | 98 | } | ||
99 | revision 2015-11-09 { | 99 | revision 2015-11-09 { | ||
100 | description | 100 | description | ||
101 | "IOS XR 6.0 revision."; | 101 | "IOS XR 6.0 revision."; | ||
102 | } | 102 | } | ||
103 | 103 | ||||
104 | grouping THRESH-BAG { | 104 | grouping THRESH-BAG { | ||
105 | description | 105 | description | ||
106 | "Common node of minor-lo, minor-hi, major-lo, | 106 | "Common node of minor-lo, minor-hi, major-lo, | ||
107 | major-hi, critical-lo, critical-hi"; | 107 | major-hi, critical-lo, critical-hi"; | ||
108 | container thresh-bag { | 108 | container thresh-bag { | ||
109 | status deprecated; | 109 | status deprecated; | ||
110 | description | 110 | description | ||
111 | "Environment threshold info"; | 111 | "Environment threshold info"; | ||
112 | uses ENVMON-THRESHOLD-INFO; | 112 | uses ENVMON-THRESHOLD-INFO; | ||
113 | } | 113 | } | ||
114 | } | 114 | } | ||
115 | 115 | ||||
116 | grouping INVMGR-EXT1-OPER-THRESH-BAG { | 116 | grouping INVMGR-EXT1-OPER-THRESH-BAG { | ||
117 | description | 117 | description | ||
118 | "Common node of minor-lo, minor-hi, major-lo, | 118 | "Common node of minor-lo, minor-hi, major-lo, | ||
119 | major-hi, critical-lo, critical-hiCommon node of | 119 | major-hi, critical-lo, critical-hiCommon node of | ||
120 | minor-lo, minor-hi, major-lo, major-hi, | 120 | minor-lo, minor-hi, major-lo, major-hi, | ||
121 | critical-lo, critical-hi"; | 121 | critical-lo, critical-hi"; | ||
122 | container thresh-bag { | 122 | container thresh-bag { | ||
123 | description | 123 | description | ||
124 | "Environment threshold info"; | 124 | "Environment threshold info"; | ||
125 | uses ENVMON-THRESHOLD-INFO; | 125 | uses ENVMON-THRESHOLD-INFO; | ||
126 | } | 126 | } | ||
127 | } | 127 | } | ||
128 | 128 | ||||
129 | grouping ATTRIBUTES { | 129 | grouping ATTRIBUTES { | ||
130 | description | 130 | description | ||
131 | "Common node of rack, slot, tsi1, tsi2, tsi3, tsi4 | 131 | "Common node of rack, slot, tsi1, tsi2, tsi3, tsi4 | ||
132 | , tsi5, tsi6, tsi7, tsi8, tsi9, tsi10, tsi11"; | 132 | , tsi5, tsi6, tsi7, tsi8, tsi9, tsi10, tsi11"; | ||
133 | container attributes { | 133 | container attributes { | ||
n | n | 134 | status deprecated; | ||
134 | description | 135 | description | ||
135 | "Shows the different attributes or status of each | 136 | "Shows the different attributes or status of each | ||
136 | entity or component in inventory"; | 137 | entity or component in inventory"; | ||
n | n | 138 | container inv-asset-bag { | ||
139 | status deprecated; | ||||
140 | description | ||||
141 | "Inventory Asset Bag"; | ||||
142 | uses INV-PHY-ENTITY-ASSET-INFO; | ||||
143 | } | ||||
144 | container inv-eeprom-info { | ||||
145 | status deprecated; | ||||
146 | description | ||||
147 | "Inventory EDM EEPROM Information Bag"; | ||||
148 | uses INVMGR-EEPROM-OPAQUE-DATA; | ||||
149 | } | ||||
150 | container inv-basic-bag { | ||||
151 | status deprecated; | ||||
152 | description | ||||
153 | "Inventory Basic Bag"; | ||||
154 | uses INV-PHY-ENTITY-BASIC-INFO; | ||||
155 | } | ||||
137 | container env-sensor-info { | 156 | container env-sensor-info { | ||
138 | status deprecated; | 157 | status deprecated; | ||
139 | description | 158 | description | ||
140 | "Environment sensor info"; | 159 | "Environment sensor info"; | ||
141 | uses ENVMON-SENSOR-INFO; | 160 | uses ENVMON-SENSOR-INFO; | ||
142 | } | 161 | } | ||
143 | container pwg-info { | 162 | container pwg-info { | ||
144 | status deprecated; | 163 | status deprecated; | ||
145 | description | 164 | description | ||
146 | "Inventory EDM PWG info"; | 165 | "Inventory EDM PWG info"; | ||
147 | uses INV-PWG-INFO; | 166 | uses INV-PWG-INFO; | ||
148 | } | 167 | } | ||
n | n | 168 | container threshold { | ||
169 | status deprecated; | ||||
170 | description | ||||
171 | "Temperature alarm data for platform components"; | ||||
172 | container major-hi { | ||||
173 | status deprecated; | ||||
174 | description | ||||
175 | "Major High"; | ||||
176 | uses INVMGR-EXT1-OPER-THRESH-BAG; | ||||
177 | } | ||||
178 | container critical-hi { | ||||
179 | status deprecated; | ||||
180 | description | ||||
181 | "Critical High"; | ||||
182 | uses INVMGR-EXT1-OPER-THRESH-BAG; | ||||
183 | } | ||||
184 | container minor-lo { | ||||
185 | status deprecated; | ||||
186 | description | ||||
187 | "Minor Low"; | ||||
188 | uses INVMGR-EXT1-OPER-THRESH-BAG; | ||||
189 | } | ||||
190 | container major-lo { | ||||
191 | status deprecated; | ||||
192 | description | ||||
193 | "Major Low"; | ||||
194 | uses INVMGR-EXT1-OPER-THRESH-BAG; | ||||
195 | } | ||||
196 | container minor-hi { | ||||
197 | status deprecated; | ||||
198 | description | ||||
199 | "Minor High"; | ||||
200 | uses INVMGR-EXT1-OPER-THRESH-BAG; | ||||
201 | } | ||||
202 | container critical-lo { | ||||
203 | status deprecated; | ||||
204 | description | ||||
205 | "Critical Low"; | ||||
206 | uses INVMGR-EXT1-OPER-THRESH-BAG; | ||||
207 | } | ||||
208 | } | ||||
209 | container fru-info { | ||||
210 | status deprecated; | ||||
211 | description | ||||
212 | "Inventory EDM FRU info"; | ||||
213 | uses INV-CARD-FRU-INFO; | ||||
214 | } | ||||
149 | container env-sensor-info-xml { | 215 | container env-sensor-info-xml { | ||
150 | status deprecated; | 216 | status deprecated; | ||
151 | description | 217 | description | ||
152 | "Environment sensor info XML"; | 218 | "Environment sensor info XML"; | ||
153 | uses ENVMON-SENSOR-INFO-XML; | 219 | uses ENVMON-SENSOR-INFO-XML; | ||
n | 154 | } | n | ||
155 | container inv-asset-bag { | ||||
156 | status deprecated; | ||||
157 | description | ||||
158 | "Inventory Asset Bag"; | ||||
159 | uses INV-PHY-ENTITY-ASSET-INFO; | ||||
160 | } | ||||
161 | container threshold { | ||||
162 | status deprecated; | ||||
163 | description | ||||
164 | "Temperature alarm data for platform components"; | ||||
165 | container major-lo { | ||||
166 | status deprecated; | ||||
167 | description | ||||
168 | "Major Low"; | ||||
169 | uses INVMGR-EXT1-OPER-THRESH-BAG; | ||||
170 | } | ||||
171 | container critical-hi { | ||||
172 | status deprecated; | ||||
173 | description | ||||
174 | "Critical High"; | ||||
175 | uses INVMGR-EXT1-OPER-THRESH-BAG; | ||||
176 | } | ||||
177 | container minor-hi { | ||||
178 | status deprecated; | ||||
179 | description | ||||
180 | "Minor High"; | ||||
181 | uses INVMGR-EXT1-OPER-THRESH-BAG; | ||||
182 | } | ||||
183 | container major-hi { | ||||
184 | status deprecated; | ||||
185 | description | ||||
186 | "Major High"; | ||||
187 | uses INVMGR-EXT1-OPER-THRESH-BAG; | ||||
188 | } | ||||
189 | container critical-lo { | ||||
190 | status deprecated; | ||||
191 | description | ||||
192 | "Critical Low"; | ||||
193 | uses INVMGR-EXT1-OPER-THRESH-BAG; | ||||
194 | } | ||||
195 | container minor-lo { | ||||
196 | status deprecated; | ||||
197 | description | ||||
198 | "Minor Low"; | ||||
199 | uses INVMGR-EXT1-OPER-THRESH-BAG; | ||||
200 | } | ||||
201 | } | ||||
202 | container fru-info { | ||||
203 | status deprecated; | ||||
204 | description | ||||
205 | "Inventory EDM FRU info"; | ||||
206 | uses INV-CARD-FRU-INFO; | ||||
207 | } | ||||
208 | container inv-basic-bag { | ||||
209 | status deprecated; | ||||
210 | description | ||||
211 | "Inventory Basic Bag"; | ||||
212 | uses INV-PHY-ENTITY-BASIC-INFO; | ||||
213 | } | ||||
214 | container inv-eeprom-info { | ||||
215 | status deprecated; | ||||
216 | description | ||||
217 | "Inventory EDM EEPROM Information Bag"; | ||||
218 | uses INVMGR-EEPROM-OPAQUE-DATA; | ||||
219 | } | 220 | } | ||
220 | } | 221 | } | ||
221 | } | 222 | } | ||
222 | 223 | ||||
223 | grouping SLOT { | 224 | grouping SLOT { | ||
224 | description | 225 | description | ||
225 | "Common node of powershelf, fantray, entity"; | 226 | "Common node of powershelf, fantray, entity"; | ||
226 | list slot { | 227 | list slot { | ||
227 | key "name"; | 228 | key "name"; | ||
228 | status deprecated; | 229 | status deprecated; | ||
229 | description | 230 | description | ||
230 | "Slot number"; | 231 | "Slot number"; | ||
231 | container tsi1s { | 232 | container tsi1s { | ||
232 | status deprecated; | 233 | status deprecated; | ||
233 | description | 234 | description | ||
234 | "Entity Level 1"; | 235 | "Entity Level 1"; | ||
235 | list tsi1 { | 236 | list tsi1 { | ||
236 | key "name"; | 237 | key "name"; | ||
237 | status deprecated; | 238 | status deprecated; | ||
238 | description | 239 | description | ||
239 | "TSI1"; | 240 | "TSI1"; | ||
240 | container tsi2s { | 241 | container tsi2s { | ||
241 | status deprecated; | 242 | status deprecated; | ||
242 | description | 243 | description | ||
243 | "Entity Level 2"; | 244 | "Entity Level 2"; | ||
244 | list tsi2 { | 245 | list tsi2 { | ||
245 | key "name"; | 246 | key "name"; | ||
246 | status deprecated; | 247 | status deprecated; | ||
247 | description | 248 | description | ||
248 | "TSI2"; | 249 | "TSI2"; | ||
249 | container tsi3s { | 250 | container tsi3s { | ||
250 | status deprecated; | 251 | status deprecated; | ||
251 | description | 252 | description | ||
252 | "Entity Level 3"; | 253 | "Entity Level 3"; | ||
253 | list tsi3 { | 254 | list tsi3 { | ||
254 | key "name"; | 255 | key "name"; | ||
255 | status deprecated; | 256 | status deprecated; | ||
256 | description | 257 | description | ||
257 | "TSI3"; | 258 | "TSI3"; | ||
258 | container tsi4s { | 259 | container tsi4s { | ||
259 | status deprecated; | 260 | status deprecated; | ||
260 | description | 261 | description | ||
261 | "Entity Level 4"; | 262 | "Entity Level 4"; | ||
262 | list tsi4 { | 263 | list tsi4 { | ||
263 | key "name"; | 264 | key "name"; | ||
264 | status deprecated; | 265 | status deprecated; | ||
265 | description | 266 | description | ||
266 | "TSI4"; | 267 | "TSI4"; | ||
267 | container tsi5s { | 268 | container tsi5s { | ||
268 | status deprecated; | 269 | status deprecated; | ||
269 | description | 270 | description | ||
270 | "Entity Level 5"; | 271 | "Entity Level 5"; | ||
271 | list tsi5 { | 272 | list tsi5 { | ||
272 | key "name"; | 273 | key "name"; | ||
273 | status deprecated; | 274 | status deprecated; | ||
274 | description | 275 | description | ||
275 | "TSI5"; | 276 | "TSI5"; | ||
276 | container tsi6s { | 277 | container tsi6s { | ||
277 | status deprecated; | 278 | status deprecated; | ||
278 | description | 279 | description | ||
279 | "Entity Level 6"; | 280 | "Entity Level 6"; | ||
280 | list tsi6 { | 281 | list tsi6 { | ||
281 | key "name"; | 282 | key "name"; | ||
282 | status deprecated; | 283 | status deprecated; | ||
283 | description | 284 | description | ||
284 | "TSI6"; | 285 | "TSI6"; | ||
285 | container tsi7s { | 286 | container tsi7s { | ||
286 | status deprecated; | 287 | status deprecated; | ||
287 | description | 288 | description | ||
288 | "Entity Level 7"; | 289 | "Entity Level 7"; | ||
289 | list tsi7 { | 290 | list tsi7 { | ||
290 | key "name"; | 291 | key "name"; | ||
291 | status deprecated; | 292 | status deprecated; | ||
292 | description | 293 | description | ||
293 | "TSI7"; | 294 | "TSI7"; | ||
294 | container tsi8s { | 295 | container tsi8s { | ||
295 | status deprecated; | 296 | status deprecated; | ||
296 | description | 297 | description | ||
297 | "Entity Level 8"; | 298 | "Entity Level 8"; | ||
298 | list tsi8 { | 299 | list tsi8 { | ||
299 | key "name"; | 300 | key "name"; | ||
300 | status deprecated; | 301 | status deprecated; | ||
301 | description | 302 | description | ||
302 | "TSI8"; | 303 | "TSI8"; | ||
303 | container tsi9s { | 304 | container tsi9s { | ||
304 | status deprecated; | 305 | status deprecated; | ||
305 | description | 306 | description | ||
306 | "Entity Level 9"; | 307 | "Entity Level 9"; | ||
307 | list tsi9 { | 308 | list tsi9 { | ||
308 | key "name"; | 309 | key "name"; | ||
309 | status deprecated; | 310 | status deprecated; | ||
310 | description | 311 | description | ||
311 | "TSI9"; | 312 | "TSI9"; | ||
312 | container tsi10s { | 313 | container tsi10s { | ||
313 | status deprecated; | 314 | status deprecated; | ||
314 | description | 315 | description | ||
315 | "Entity Level 10"; | 316 | "Entity Level 10"; | ||
316 | list tsi10 { | 317 | list tsi10 { | ||
317 | key "name"; | 318 | key "name"; | ||
318 | status deprecated; | 319 | status deprecated; | ||
319 | description | 320 | description | ||
320 | "TSI10"; | 321 | "TSI10"; | ||
321 | container tsi11s { | 322 | container tsi11s { | ||
322 | status deprecated; | 323 | status deprecated; | ||
323 | description | 324 | description | ||
324 | "Entity Level 11"; | 325 | "Entity Level 11"; | ||
325 | list tsi11 { | 326 | list tsi11 { | ||
326 | key "name"; | 327 | key "name"; | ||
327 | status deprecated; | 328 | status deprecated; | ||
328 | description | 329 | description | ||
329 | "TSI11"; | 330 | "TSI11"; | ||
330 | leaf name { | 331 | leaf name { | ||
331 | type xr:Cisco-ios-xr-string; | 332 | type xr:Cisco-ios-xr-string; | ||
332 | description | 333 | description | ||
333 | "TSI11"; | 334 | "TSI11"; | ||
334 | } | 335 | } | ||
335 | uses ATTRIBUTES; | 336 | uses ATTRIBUTES; | ||
336 | } | 337 | } | ||
337 | } | 338 | } | ||
338 | leaf name { | 339 | leaf name { | ||
339 | type xr:Cisco-ios-xr-string; | 340 | type xr:Cisco-ios-xr-string; | ||
340 | description | 341 | description | ||
341 | "TSI10"; | 342 | "TSI10"; | ||
342 | } | 343 | } | ||
343 | uses ATTRIBUTES; | 344 | uses ATTRIBUTES; | ||
344 | } | 345 | } | ||
345 | } | 346 | } | ||
346 | leaf name { | 347 | leaf name { | ||
347 | type xr:Cisco-ios-xr-string; | 348 | type xr:Cisco-ios-xr-string; | ||
348 | description | 349 | description | ||
349 | "TSI9"; | 350 | "TSI9"; | ||
350 | } | 351 | } | ||
351 | uses ATTRIBUTES; | 352 | uses ATTRIBUTES; | ||
352 | } | 353 | } | ||
353 | } | 354 | } | ||
354 | leaf name { | 355 | leaf name { | ||
355 | type xr:Cisco-ios-xr-string; | 356 | type xr:Cisco-ios-xr-string; | ||
356 | description | 357 | description | ||
357 | "TSI8"; | 358 | "TSI8"; | ||
358 | } | 359 | } | ||
359 | uses ATTRIBUTES; | 360 | uses ATTRIBUTES; | ||
360 | } | 361 | } | ||
361 | } | 362 | } | ||
362 | leaf name { | 363 | leaf name { | ||
363 | type xr:Cisco-ios-xr-string; | 364 | type xr:Cisco-ios-xr-string; | ||
364 | description | 365 | description | ||
365 | "TSI7"; | 366 | "TSI7"; | ||
366 | } | 367 | } | ||
367 | uses ATTRIBUTES; | 368 | uses ATTRIBUTES; | ||
368 | } | 369 | } | ||
369 | } | 370 | } | ||
370 | leaf name { | 371 | leaf name { | ||
371 | type xr:Cisco-ios-xr-string; | 372 | type xr:Cisco-ios-xr-string; | ||
372 | description | 373 | description | ||
373 | "TSI6"; | 374 | "TSI6"; | ||
374 | } | 375 | } | ||
375 | uses ATTRIBUTES; | 376 | uses ATTRIBUTES; | ||
376 | } | 377 | } | ||
377 | } | 378 | } | ||
378 | leaf name { | 379 | leaf name { | ||
379 | type xr:Cisco-ios-xr-string; | 380 | type xr:Cisco-ios-xr-string; | ||
380 | description | 381 | description | ||
381 | "TSI5"; | 382 | "TSI5"; | ||
382 | } | 383 | } | ||
383 | uses ATTRIBUTES; | 384 | uses ATTRIBUTES; | ||
384 | } | 385 | } | ||
385 | } | 386 | } | ||
386 | leaf name { | 387 | leaf name { | ||
387 | type xr:Cisco-ios-xr-string; | 388 | type xr:Cisco-ios-xr-string; | ||
388 | description | 389 | description | ||
389 | "TSI4"; | 390 | "TSI4"; | ||
390 | } | 391 | } | ||
391 | uses ATTRIBUTES; | 392 | uses ATTRIBUTES; | ||
392 | } | 393 | } | ||
393 | } | 394 | } | ||
394 | leaf name { | 395 | leaf name { | ||
395 | type xr:Cisco-ios-xr-string; | 396 | type xr:Cisco-ios-xr-string; | ||
396 | description | 397 | description | ||
397 | "TSI3"; | 398 | "TSI3"; | ||
398 | } | 399 | } | ||
399 | uses ATTRIBUTES; | 400 | uses ATTRIBUTES; | ||
400 | } | 401 | } | ||
401 | } | 402 | } | ||
402 | leaf name { | 403 | leaf name { | ||
403 | type xr:Cisco-ios-xr-string; | 404 | type xr:Cisco-ios-xr-string; | ||
404 | description | 405 | description | ||
405 | "TSI2"; | 406 | "TSI2"; | ||
406 | } | 407 | } | ||
407 | uses ATTRIBUTES; | 408 | uses ATTRIBUTES; | ||
408 | } | 409 | } | ||
409 | } | 410 | } | ||
410 | leaf name { | 411 | leaf name { | ||
411 | type xr:Cisco-ios-xr-string; | 412 | type xr:Cisco-ios-xr-string; | ||
412 | description | 413 | description | ||
413 | "TSI1"; | 414 | "TSI1"; | ||
414 | } | 415 | } | ||
415 | uses ATTRIBUTES; | 416 | uses ATTRIBUTES; | ||
416 | } | 417 | } | ||
417 | } | 418 | } | ||
418 | leaf name { | 419 | leaf name { | ||
419 | type xr:Cisco-ios-xr-string; | 420 | type xr:Cisco-ios-xr-string; | ||
420 | description | 421 | description | ||
421 | "Slot name"; | 422 | "Slot name"; | ||
422 | } | 423 | } | ||
423 | uses ATTRIBUTES; | 424 | uses ATTRIBUTES; | ||
424 | } | 425 | } | ||
425 | } | 426 | } | ||
426 | 427 | ||||
427 | container inventory { | 428 | container inventory { | ||
428 | config false; | 429 | config false; | ||
429 | description | 430 | description | ||
430 | "Inventory information"; | 431 | "Inventory information"; | ||
n | 431 | container entities { | n | ||
432 | description | ||||
433 | "Entities Table"; | ||||
434 | list entity { | ||||
435 | key "name"; | ||||
436 | description | ||||
437 | "Entity name"; | ||||
438 | container parent-info { | ||||
439 | description | ||||
440 | "Inventory parent name info"; | ||||
441 | uses INV-PARENT-INFO; | ||||
442 | } | ||||
443 | container subentities { | ||||
444 | description | ||||
445 | "SubEntities Table"; | ||||
446 | list subentity { | ||||
447 | key "name"; | ||||
448 | description | ||||
449 | "Subentity Bag"; | ||||
450 | leaf name { | ||||
451 | type string { | ||||
452 | length "1..100"; | ||||
453 | } | ||||
454 | description | ||||
455 | "Subentity name"; | ||||
456 | } | ||||
457 | uses SUBENTITY-INFO; | ||||
458 | } | ||||
459 | } | ||||
460 | container attributes { | ||||
461 | description | ||||
462 | "Shows the different attributes or status of | ||||
463 | each entity or component in inventory"; | ||||
464 | container vm-node-id { | ||||
465 | description | ||||
466 | "VM Node ID Tuple"; | ||||
467 | uses VM-NODEID-INFO; | ||||
468 | } | ||||
469 | container threshold { | ||||
470 | description | ||||
471 | "Temperature alarm data for platform | ||||
472 | components"; | ||||
473 | container minor-hi { | ||||
474 | description | ||||
475 | "Minor High"; | ||||
476 | uses INVMGR-EXT1-OPER-THRESH-BAG; | ||||
477 | } | ||||
478 | container major-hi { | ||||
479 | description | ||||
480 | "Major High"; | ||||
481 | uses INVMGR-EXT1-OPER-THRESH-BAG; | ||||
482 | } | ||||
483 | container minor-lo { | ||||
484 | description | ||||
485 | "Minor Low"; | ||||
486 | uses INVMGR-EXT1-OPER-THRESH-BAG; | ||||
487 | } | ||||
488 | container major-lo { | ||||
489 | description | ||||
490 | "Major Low"; | ||||
491 | uses INVMGR-EXT1-OPER-THRESH-BAG; | ||||
492 | } | ||||
493 | container critical-hi { | ||||
494 | description | ||||
495 | "Critical High"; | ||||
496 | uses INVMGR-EXT1-OPER-THRESH-BAG; | ||||
497 | } | ||||
498 | container critical-lo { | ||||
499 | description | ||||
500 | "Critical Low"; | ||||
501 | uses INVMGR-EXT1-OPER-THRESH-BAG; | ||||
502 | } | ||||
503 | } | ||||
504 | container inv-basic-bag { | ||||
505 | description | ||||
506 | "Inventory Basic Bag"; | ||||
507 | uses INV-PHY-ENTITY-BASIC-INFO; | ||||
508 | } | ||||
509 | container fru-info { | ||||
510 | description | ||||
511 | "Inventory EDM FRU info"; | ||||
512 | uses INV-CARD-FRU-INFO; | ||||
513 | } | ||||
514 | container pluggable-info { | ||||
515 | status deprecated; | ||||
516 | description | ||||
517 | "Info of supported interaces for pluggable | ||||
518 | type"; | ||||
519 | uses PLUGGABLE-INFO; | ||||
520 | } | ||||
521 | container inv-asset-bag { | ||||
522 | description | ||||
523 | "Inventory Asset Bag"; | ||||
524 | uses INV-PHY-ENTITY-ASSET-INFO; | ||||
525 | } | ||||
526 | container env-sensor-info { | ||||
527 | description | ||||
528 | "Environment sensor info"; | ||||
529 | uses ENVMON-SENSOR-INFO; | ||||
530 | } | ||||
531 | container node-id { | ||||
532 | description | ||||
533 | "Node ID Tuple"; | ||||
534 | uses NODEID-INFO; | ||||
535 | } | ||||
536 | container inv-eeprom-info { | ||||
537 | description | ||||
538 | "Inventory EDM EEPROM Information Bag"; | ||||
539 | uses INVMGR-EEPROM-OPAQUE-DATA; | ||||
540 | } | ||||
541 | } | ||||
542 | leaf name { | ||||
543 | type string { | ||||
544 | length "1..100"; | ||||
545 | } | ||||
546 | description | ||||
547 | "Entity name"; | ||||
548 | } | ||||
549 | } | ||||
550 | } | ||||
551 | container racks { | 432 | container racks { | ||
552 | status deprecated; | 433 | status deprecated; | ||
553 | description | 434 | description | ||
554 | "RackTable"; | 435 | "RackTable"; | ||
555 | list rack { | 436 | list rack { | ||
556 | key "name"; | 437 | key "name"; | ||
557 | status deprecated; | 438 | status deprecated; | ||
558 | description | 439 | description | ||
559 | "Rack name"; | 440 | "Rack name"; | ||
n | n | 441 | container powershelf { | ||
442 | status deprecated; | ||||
443 | description | ||||
444 | "Powershelf information"; | ||||
445 | uses SLOT; | ||||
446 | } | ||||
560 | container entity { | 447 | container entity { | ||
561 | status deprecated; | 448 | status deprecated; | ||
562 | description | 449 | description | ||
563 | "Entity information"; | 450 | "Entity information"; | ||
564 | uses SLOT; | 451 | uses SLOT; | ||
565 | } | 452 | } | ||
n | 566 | container powershelf { | n | ||
567 | status deprecated; | ||||
568 | description | ||||
569 | "Powershelf information"; | ||||
570 | uses SLOT; | ||||
571 | } | ||||
572 | container fantray { | 453 | container fantray { | ||
573 | status deprecated; | 454 | status deprecated; | ||
574 | description | 455 | description | ||
575 | "Fantray information"; | 456 | "Fantray information"; | ||
576 | uses SLOT; | 457 | uses SLOT; | ||
577 | } | 458 | } | ||
578 | leaf name { | 459 | leaf name { | ||
579 | type xr:Cisco-ios-xr-string; | 460 | type xr:Cisco-ios-xr-string; | ||
580 | description | 461 | description | ||
581 | "Rack name"; | 462 | "Rack name"; | ||
582 | } | 463 | } | ||
583 | uses ATTRIBUTES; | 464 | uses ATTRIBUTES; | ||
584 | } | 465 | } | ||
585 | } | 466 | } | ||
t | t | 467 | container entities { | ||
468 | description | ||||
469 | "Entities Table"; | ||||
470 | list entity { | ||||
471 | key "name"; | ||||
472 | description | ||||
473 | "Entity name"; | ||||
474 | container subentities { | ||||
475 | description | ||||
476 | "SubEntities Table"; | ||||
477 | list subentity { | ||||
478 | key "name"; | ||||
479 | description | ||||
480 | "Subentity Bag"; | ||||
481 | leaf name { | ||||
482 | type string { | ||||
483 | length "1..100"; | ||||
484 | } | ||||
485 | description | ||||
486 | "Subentity name"; | ||||
487 | } | ||||
488 | uses SUBENTITY-INFO; | ||||
489 | } | ||||
490 | } | ||||
491 | container parent-info { | ||||
492 | description | ||||
493 | "Inventory parent name info"; | ||||
494 | uses INV-PARENT-INFO; | ||||
495 | } | ||||
496 | container attributes { | ||||
497 | description | ||||
498 | "Shows the different attributes or status of | ||||
499 | each entity or component in inventory"; | ||||
500 | container inv-asset-bag { | ||||
501 | description | ||||
502 | "Inventory Asset Bag"; | ||||
503 | uses INV-PHY-ENTITY-ASSET-INFO; | ||||
504 | } | ||||
505 | container inv-basic-bag { | ||||
506 | description | ||||
507 | "Inventory Basic Bag"; | ||||
508 | uses INV-PHY-ENTITY-BASIC-INFO; | ||||
509 | } | ||||
510 | container inv-eeprom-info { | ||||
511 | description | ||||
512 | "Inventory EDM EEPROM Information Bag"; | ||||
513 | uses INVMGR-EEPROM-OPAQUE-DATA; | ||||
514 | } | ||||
515 | container pluggable-info { | ||||
516 | status deprecated; | ||||
517 | description | ||||
518 | "Info of supported interaces for pluggable | ||||
519 | type"; | ||||
520 | uses PLUGGABLE-INFO; | ||||
521 | } | ||||
522 | container node-id { | ||||
523 | description | ||||
524 | "Node ID Tuple"; | ||||
525 | uses NODEID-INFO; | ||||
526 | } | ||||
527 | container threshold { | ||||
528 | description | ||||
529 | "Temperature alarm data for platform | ||||
530 | components"; | ||||
531 | container minor-lo { | ||||
532 | description | ||||
533 | "Minor Low"; | ||||
534 | uses INVMGR-EXT1-OPER-THRESH-BAG; | ||||
535 | } | ||||
536 | container major-hi { | ||||
537 | description | ||||
538 | "Major High"; | ||||
539 | uses INVMGR-EXT1-OPER-THRESH-BAG; | ||||
540 | } | ||||
541 | container minor-hi { | ||||
542 | description | ||||
543 | "Minor High"; | ||||
544 | uses INVMGR-EXT1-OPER-THRESH-BAG; | ||||
545 | } | ||||
546 | container critical-lo { | ||||
547 | description | ||||
548 | "Critical Low"; | ||||
549 | uses INVMGR-EXT1-OPER-THRESH-BAG; | ||||
550 | } | ||||
551 | container critical-hi { | ||||
552 | description | ||||
553 | "Critical High"; | ||||
554 | uses INVMGR-EXT1-OPER-THRESH-BAG; | ||||
555 | } | ||||
556 | container major-lo { | ||||
557 | description | ||||
558 | "Major Low"; | ||||
559 | uses INVMGR-EXT1-OPER-THRESH-BAG; | ||||
560 | } | ||||
561 | } | ||||
562 | container fru-info { | ||||
563 | description | ||||
564 | "Inventory EDM FRU info"; | ||||
565 | uses INV-CARD-FRU-INFO; | ||||
566 | } | ||||
567 | container env-sensor-info { | ||||
568 | description | ||||
569 | "Environment sensor info"; | ||||
570 | uses ENVMON-SENSOR-INFO; | ||||
571 | } | ||||
572 | container vm-node-id { | ||||
573 | description | ||||
574 | "VM Node ID Tuple"; | ||||
575 | uses VM-NODEID-INFO; | ||||
576 | } | ||||
577 | } | ||||
578 | leaf name { | ||||
579 | type string { | ||||
580 | length "1..100"; | ||||
581 | } | ||||
582 | description | ||||
583 | "Entity name"; | ||||
584 | } | ||||
585 | } | ||||
586 | } | ||||
586 | } | 587 | } | ||
587 | } | 588 | } |
Legends | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
+
|