This submodule contains a collection of YANG definitions for Cisco IOS-XR NCS-BDplatforms-npu-resources package operational data...
Version: 2020-10-09
submodule Cisco-IOS-XR-NCS-BDplatforms-npu-resources-oper-sub1 { yang-version 1; belongs-to Cisco-IOS-XR-NCS-BDplatforms-npu-resources-oper { prefix Cisco-IOS-XR-NCS-BDplatforms-npu-resources-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 NCS-BDplatforms-npu-resources package operational data. Copyright (c) 2013-2020 by Cisco Systems, Inc. All rights reserved."; revision "2020-10-09" { description "Updated task id in root oper"; } revision "2019-12-14" { description "Updated date for npu resources model"; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "2.0.0"; semver:module-version "1.2.0"; semver:module-version "1.0.0"; grouping OFA-SYSDB-LT-HW-RESOURCE { description "Logical table accounting for that bank"; leaf lt-id { type uint32; description "lt id"; } leaf name { type string; description "name"; } leaf hw-entries { type uint32; description "hw entries"; } leaf sw-entries { type uint32; description "sw entries"; } } // grouping OFA-SYSDB-LT-HW-RESOURCE grouping OFA-SYSDB-NPU-RESOURCE-OOR-ST { description "OOR info for that bank"; leaf is-oor-valid { type boolean; description "Is this OOR struct valid"; } leaf red-oor-threshold { type uint32; description "OOR red threshold in terms of entries"; } leaf yellow-oor-threshold { type uint32; description "OOR yellow threshold in terms of entries"; } leaf oor-change-count { type uint32; description "Counts number of OOR transitions"; } leaf oor-state-change-time1 { type string { length "0..16"; } description "OOR state change time 1"; } leaf oor-state-change-time2 { type string { length "0..16"; } description "OOR state change time 2"; } leaf oor-state { type string { length "0..16"; } description "OOR state string"; } } // grouping OFA-SYSDB-NPU-RESOURCE-OOR-ST grouping OFA-SYSDB-NPU-RESOURCE-COUNTER-ST { description "Counter information for that bank"; leaf is-counter-valid { type boolean; description "Is this counter struct valid"; } leaf is-max-valid { type boolean; description "Is Max valid"; } leaf max-entries { type uint32; description "Maximum entries in hardware"; } leaf inuse-entries { type uint32; description "In use entries for this bank from hardware"; } } // grouping OFA-SYSDB-NPU-RESOURCE-COUNTER-ST grouping OFA-SYSDB-NPU-HW-BANK-RESOURCE { description "Per bank resource info"; container counter { description "Counter values for this bank"; uses OFA-SYSDB-NPU-RESOURCE-COUNTER-ST; } // container counter container oor-state { description "OOR state for this bank"; uses OFA-SYSDB-NPU-RESOURCE-OOR-ST; } // container oor-state leaf is-bank-valid { type boolean; description "is this bank valid/skip"; } leaf bank-id { type uint32; description "Hierarchical bank id"; } leaf bank-name { type string { length "0..64"; } description "Hierarchical bank name generated in TIDL"; } leaf bank-info { type string { length "0..64"; } description "Custom bank info"; } leaf is-bank-info-valid { type boolean; description "Is Bank info valid"; } leaf num-lt { type uint32; description "Number of logical table array elements"; } list lt-hwr { description "Logical OFA tables for npu resource bank"; uses OFA-SYSDB-LT-HW-RESOURCE; } // list lt-hwr } // grouping OFA-SYSDB-NPU-HW-BANK-RESOURCE grouping OFA-SYSDB-NPU-HW-RESOURCE { description "Per NPU structure for a hw resource"; leaf npu-id { type uint32; description "npu id"; } leaf red-oor-threshold-percent { type uint32; description "red oor threshold percent"; } leaf yellow-oor-threshold-percent { type uint32; description "yellow oor threshold percent"; } leaf num-bank { type int32; description "Bank count for hierarchical NPU resource"; } list bank { description "List of Hierarchical banks for that NPU resource"; uses OFA-SYSDB-NPU-HW-BANK-RESOURCE; } // list bank } // grouping OFA-SYSDB-NPU-HW-RESOURCE grouping OFA-SYSDB-HW-RESOURCE { description "Resource level information"; leaf resource-id { type uint32; description "resource id"; } leaf num-npus { type uint32; description "num npus"; } leaf cmd-invalid { type boolean; description "cmd invalid"; } leaf asic-type { type uint32; description "asic type"; } leaf asic-name { type string { length "0..32"; } description "asic name"; } list npu-hwr { description "npu hwr"; uses OFA-SYSDB-NPU-HW-RESOURCE; } // list npu-hwr } // grouping OFA-SYSDB-HW-RESOURCE } // submodule Cisco-IOS-XR-NCS-BDplatforms-npu-resources-oper-sub1
© 2023 YumaWorks, Inc. All rights reserved.