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