This module contains a collection of YANG definitions for Cisco IOS-XR asr9k-np package operational data. This module contains ...
Version: 2021-04-23
module Cisco-IOS-XR-asr9k-np-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-asr9k-np-oper"; prefix asr9k-np-oper; import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } include Cisco-IOS-XR-asr9k-np-oper-sub1 { revision-date "2021-04-23"; } 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 module contains a collection of YANG definitions for Cisco IOS-XR asr9k-np package operational data. This module contains definitions for the following management objects: hardware-module-np: Hardware NP Counters Copyright (c) 2013-2021 by Cisco Systems, Inc. All rights reserved."; revision "2021-04-23" { description "add/update sh controllers np portmap for xml support"; } revision "2020-12-21" { description "add/update sh controllers np valid-port-groups"; } revision "2019-10-29" { description "Add more specific descriptions to address Good description issue"; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "1.0.0"; typedef Np { type string { pattern '(np0)|(np1)|(np2)|(np3)|(np4)|(np5)|(np6)|(np7)'; } description "np0:NP0, np1:NP1, np2:NP2, np3:NP3, np4:NP4, np5 :NP5, np6:NP6, np7:NP7"; } container hardware-module-np { config false; description "Hardware NP Counters"; container nodes { description "Table of nodes"; list node { key "node-name"; description "Number"; container nps { description "List of all NP"; list np { key "np-name"; description "np0 to np7"; container mac-cfg-mode { description "Information of valid mac config mode"; list cfg-entry { description "Array of MAC CFG Entry"; leaf flags { type uint32; description "flag for show header"; } leaf str-len { type int32; description "actual show_str length"; } leaf show-str { type string { length "0..160"; } description "one cfgmode display string"; } } // list cfg-entry } // container mac-cfg-mode container np-uidb { description "Hardware np uidb"; list uidb-index { description "Array of NP UIDB Index"; leaf interface-name { type string; description "Name of the interface which UIDB serves"; } leaf interface-handle { type uint32; description "Handle of the interface which UIDB serves"; } leaf index { type uint16; description "UIDB Index"; } leaf interface-type { type string; description "Type of the interface which UIDB serves"; } } // list uidb-index } // container np-uidb container np-port-map { description "Information of NP port map"; list portmap-entry { description "Array of NP Port Map Entry"; leaf np-inst { type uint32; description "NP instance"; } leaf physical-port-num { type uint32; description "physical port number"; } leaf interface-name { type string; description "Name of the interface"; } leaf mapped-src-port { type uint32; description "mapped source port"; } } // list portmap-entry } // container np-port-map container tcam-region-summary { description "Information of the TCAM region"; container internal-tcam-info { description "Internal tcam summary info"; leaf total-blocks { type uint32; description "Total TCAM blocks"; } leaf free-blocks { type uint32; description "Free TCAM blocks"; } list tcam-region { description "TCAM Regions"; leaf region-name { type string; description "Name of TCAM region"; } leaf allocated-blocks { type uint32; description "Number of allocated TCAM blocks"; } leaf max-entries { type uint32; description "Max number of TCAM entries"; } leaf free-entries { type uint32; description "Number of free TCAM entries"; } list feature { description "Features of the TCAM region"; leaf feature-id { type string; description "Feature ID"; } leaf num-vmr-ids { type uint32; description "Number of VRM IDs"; } leaf total-used-entries { type uint32; description "Number of used VMR entries"; } leaf total-allocated-entries { type uint32; description "Total number of allocated VMR entries"; } list vmr-entry { description "VMR entries"; leaf vmr-id { type uint32; description "Vmr ID"; } leaf used-entries { type uint32; description "The number of used vmr entries"; } leaf allocated-entries { type uint32; description "The number of active vmr entries"; } } // list vmr-entry } // list feature } // list tcam-region } // container internal-tcam-info } // container tcam-region-summary container chn-load { description "prm channel load info"; list np-chn-load { description "Array of NP Channel load counters"; leaf flow-ctr-counter { type uint32; description "Counters of NP flow control"; } leaf avg-rfd-usage { type uint32; description "Average RFD Usage"; } leaf peak-rfd-usage { type uint32; description "Peak RFD Usage"; } leaf avg-guar-rfd-usage { type uint32; description "Average of guaranteed RFD usage"; } leaf peak-guar-rfd-usage { type uint32; description "Peak of guaranteed RFD usage"; } leaf interface-name { type string; description "Name of the interface to show the np load counter"; } } // list np-chn-load } // container chn-load container load-utilization { description "Hardware np load or utilization"; leaf utilization { type uint32; units "percentage"; description "Percent load on the NP engines"; } leaf packet-per-second-rate { type uint32; description "Packet rate load on NP engines"; } } // container load-utilization container tcam-summary { description "prm tcam summary info"; container internal-tcam-info { description "Internal tcam summary info"; container tcam-lt-ods2 { description "TCAM LT ODS 2 summary"; container app-id-ifib { description "App IFIB entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf total-used-entries { type uint32; description "number of used vmr entries"; } leaf total-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-ifib container app-id-qos { description "App qos entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf total-used-entries { type uint32; description "number of used vmr entries"; } leaf total-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-qos container app-id-acl { description "App acl entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf total-used-entries { type uint32; description "number of used vmr entries"; } leaf total-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-acl container app-id-afmon { description "App afmon entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf total-used-entries { type uint32; description "number of used vmr entries"; } leaf total-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-afmon container app-id-li { description "App LI entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf total-used-entries { type uint32; description "number of used vmr entries"; } leaf total-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-li container app-id-pbr { description "App PBR entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf total-used-entries { type uint32; description "number of used vmr entries"; } leaf total-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-pbr container application-edpl-entry { description "App EDPL entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf total-used-entries { type uint32; description "number of used vmr entries"; } leaf total-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container application-edpl-entry leaf max-entries { type uint32; description "Max number of entries for internal tcam ods table"; } leaf free-entries { type uint32; description "Number of the entries which are free to use in the table"; } } // container tcam-lt-ods2 container tcam-lt-ods8 { description "TCAM LT_ODS 8 summary"; container app-id-ifib { description "App IFIB entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf total-used-entries { type uint32; description "number of used vmr entries"; } leaf total-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-ifib container app-id-qos { description "App qos entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf total-used-entries { type uint32; description "number of used vmr entries"; } leaf total-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-qos container app-id-acl { description "App acl entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf total-used-entries { type uint32; description "number of used vmr entries"; } leaf total-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-acl container app-id-afmon { description "App afmon entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf total-used-entries { type uint32; description "number of used vmr entries"; } leaf total-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-afmon container app-id-li { description "App LI entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf total-used-entries { type uint32; description "number of used vmr entries"; } leaf total-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-li container app-id-pbr { description "App PBR entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf total-used-entries { type uint32; description "number of used vmr entries"; } leaf total-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-pbr container application-edpl-entry { description "App EDPL entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf total-used-entries { type uint32; description "number of used vmr entries"; } leaf total-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container application-edpl-entry leaf max-entries { type uint32; description "Max number of entries for internal tcam ods table"; } leaf free-entries { type uint32; description "Number of the entries which are free to use in the table"; } } // container tcam-lt-ods8 list tcam-lt-l2 { description "Array of TCAM LT L2 partition summaries"; leaf partition-id { type uint32; description "PartitionID"; } leaf valid-entries { type uint32; description "Number of valid TCAM entries"; } leaf free-entries { type uint32; description "Number of free TCAM entries"; } } // list tcam-lt-l2 } // container internal-tcam-info container tcam-info { description "External tcam summary info"; container tcam-lt-ods2 { description "TCAM ODS2 partition summary"; container acl-common { description "ACL common region"; leaf free-entries { type uint32; description "Free entries in the table"; } leaf allocated-entries { type uint32; description "The number of active vmr entries"; } } // container acl-common container app-id-ifib { description "App IFIB entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf num-active-entries { type uint32; description "The number of active vmr entries"; } leaf num-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-ifib container app-id-qos { description "App qos entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf num-active-entries { type uint32; description "The number of active vmr entries"; } leaf num-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-qos container app-id-acl { description "App acl entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf num-active-entries { type uint32; description "The number of active vmr entries"; } leaf num-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-acl container app-id-afmon { description "App afmon entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf num-active-entries { type uint32; description "The number of active vmr entries"; } leaf num-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-afmon container app-id-li { description "App LI entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf num-active-entries { type uint32; description "The number of active vmr entries"; } leaf num-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-li container app-id-pbr { description "App PBR entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf num-active-entries { type uint32; description "The number of active vmr entries"; } leaf num-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-pbr container app-id-edpl { description "App EDPL entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf num-active-entries { type uint32; description "The number of active vmr entries"; } leaf num-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-edpl leaf free-entries { type uint32; description "Free entries in the table"; } leaf reserved-entries { type uint32; description "The number of active vmr entries"; } } // container tcam-lt-ods2 container tcam-lt-ods8 { description "TCAM ODS8 partition summary"; container acl-common { description "ACL common region"; leaf free-entries { type uint32; description "Free entries in the table"; } leaf allocated-entries { type uint32; description "The number of active vmr entries"; } } // container acl-common container app-id-ifib { description "App IFIB entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf num-active-entries { type uint32; description "The number of active vmr entries"; } leaf num-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-ifib container app-id-qos { description "App qos entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf num-active-entries { type uint32; description "The number of active vmr entries"; } leaf num-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-qos container app-id-acl { description "App acl entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf num-active-entries { type uint32; description "The number of active vmr entries"; } leaf num-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-acl container app-id-afmon { description "App afmon entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf num-active-entries { type uint32; description "The number of active vmr entries"; } leaf num-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-afmon container app-id-li { description "App LI entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf num-active-entries { type uint32; description "The number of active vmr entries"; } leaf num-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-li container app-id-pbr { description "App PBR entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf num-active-entries { type uint32; description "The number of active vmr entries"; } leaf num-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-pbr container app-id-edpl { description "App EDPL entry"; leaf num-vmr-ids { type uint32; description "Vmr IDs"; } leaf num-active-entries { type uint32; description "The number of active vmr entries"; } leaf num-allocated-entries { type uint32; description "The number of active vmr entries"; } } // container app-id-edpl leaf free-entries { type uint32; description "Free entries in the table"; } leaf reserved-entries { type uint32; description "The number of active vmr entries"; } } // container tcam-lt-ods8 list tcam-lt-l2 { description "Array of TCAM L2 partition summaries"; leaf partition-id { type uint32; description "PartitionID"; } leaf priority { type uint32; description "The priority of the table"; } leaf valid-entries { type uint32; description "Number of valid TCAM L2 entries"; } leaf free-entries { type uint32; description "Number of free TCAM L2 entries"; } } // list tcam-lt-l2 } // container tcam-info } // container tcam-summary container l2rm-hw-resource { description "L2rm Hardware Resources"; container hw-resource { description "resources per hw blk"; list hash-block { description "Hash Block hw blk"; leaf hash-blk { type uint32; description "Index of the L2RM hash block"; } leaf total { type uint32; description "Number of total L2RM hash entries"; } leaf free { type uint32; description "Number of free L2RM hash entries"; } } // list hash-block list tcam-partition { description "TCAM partition per hw blk"; leaf tcam-par { type uint32; description "Index of TCAM partition"; } leaf total { type uint32; description "Number of total TCAM entries"; } leaf free { type uint32; description "Number of free TCAM entries"; } } // list tcam-partition } // container hw-resource leaf ppt-alloc { type uint64; description "Number of the allocated tcam partitions"; } leaf ppt-write { type uint64; description "Number of written partitions"; } leaf ppt-free { type uint64; description "Number of free partitions"; } } // container l2rm-hw-resource container profile { description "Hardware Profile"; leaf scale { type string; description "Scale"; } } // container profile container counters { description "prm counters info"; list np-counter { description "Array of NP Counters"; leaf counter-index { type uint32; description "Index of NP counter"; } leaf counter-value { type uint64; description "The accurate value of the counter"; } leaf rate { type uint32; units "packet/s"; description "Rate in Packets Per Second"; } leaf counter-type { type string; description "Counter Type: DROP: Drop counter PUNT: Punt counter FWD: Forward or generic counter UNKNOWN : Counter type unknown"; } leaf counter-name { type string; description "Name of NP counter"; } } // list np-counter } // container counters container fast-drop { description "prm fast drop counters info"; list np-fast-drop { description "Array of NP Fast Drop Counters"; leaf interface-name { type string; description "Name of the NP interface which generates fast drop"; } leaf counter-value { type uint64; description "The Value of the counter"; } } // list np-fast-drop } // container fast-drop container efd { description "EFD COS to Priority Mapping"; leaf hp-list-is-supported { type uint32; description "high-priority-list CLI is supported"; } leaf burst-absorption { type uint32; description "EFD burst-absorption enabled"; } leaf burst-absorb-applied { type uint32; description "EFD burst-absorption applied"; } leaf burst-absorb-supported { type uint32; description "EFD burst-absorption supported"; } list vlan-cos-mapping { max-elements 8; description "Array of VLAN COS Mapping"; leaf entry { type uint32; description "Array of VLAN COS Mapping"; } } // list vlan-cos-mapping list mplscos-mapping { max-elements 8; description "Array of MPLS COS Mapping"; leaf entry { type uint32; description "Array of MPLS COS Mapping"; } } // list mplscos-mapping list ipcos-mapping { max-elements 8; description "Array of IP COS Mapping"; leaf entry { type uint32; description "Array of IP COS Mapping"; } } // list ipcos-mapping } // container efd leaf np-name { type Np; description "NP name"; } } // list np } // container nps leaf node-name { type xr:Node-id; description "node number"; } } // list node } // container nodes } // container hardware-module-np } // module Cisco-IOS-XR-asr9k-np-oper
© 2023 YumaWorks, Inc. All rights reserved.