Cisco-IOS-XR-asr9k-np-oper-sub1

This submodule contains a collection of YANG definitions for Cisco IOS-XR asr9k-np package operational data. Copyright (c) 2013...

  • Version: 2021-04-23

    Cisco-IOS-XR-asr9k-np-oper-sub1@2021-04-23


    
      submodule Cisco-IOS-XR-asr9k-np-oper-sub1 {
    
        yang-version 1;
    
        belongs-to Cisco-IOS-XR-asr9k-np-oper {
            prefix Cisco-IOS-XR-asr9k-np-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 asr9k-np package operational data.
         
         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";
    
        grouping PRM-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
        }  // grouping PRM-EFD
    
        grouping PRM-NP-FAST-DROP-A {
          description "NP fast drop";
          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";
          }
        }  // grouping PRM-NP-FAST-DROP-A
    
        grouping PRM-NP-FAST-DROP {
          description
            "Array of NP Fast Drop Counters";
          list np-fast-drop {
            description
              "Array of NP Fast Drop Counters";
            uses PRM-NP-FAST-DROP-A;
          }  // list np-fast-drop
        }  // grouping PRM-NP-FAST-DROP
    
        grouping PRM-NP-COUNTERS-A {
          description "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";
          }
        }  // grouping PRM-NP-COUNTERS-A
    
        grouping PRM-NP-COUNTERS {
          description "Array of NP Counters";
          list np-counter {
            description "Array of NP Counters";
            uses PRM-NP-COUNTERS-A;
          }  // list np-counter
        }  // grouping PRM-NP-COUNTERS
    
        grouping PRM-NP-PROFILE {
          description "np profile info";
          leaf scale {
            type string;
            description "Scale";
          }
        }  // grouping PRM-NP-PROFILE
    
        grouping PRM-NP-L2RM-HW-RSC-TCAM-PAR {
          description "NP L2RM TCAM Par info";
          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";
          }
        }  // grouping PRM-NP-L2RM-HW-RSC-TCAM-PAR
    
        grouping PRM-NP-L2RM-HW-RSC-HASH-BLK {
          description "NP L2RM Hash Block info";
          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";
          }
        }  // grouping PRM-NP-L2RM-HW-RSC-HASH-BLK
    
        grouping PRM-NP-L2RM-HW-RSC-A {
          description "NP L2RM hw_rsc detail";
          list hash-block {
            description "Hash Block hw blk";
            uses PRM-NP-L2RM-HW-RSC-HASH-BLK;
          }  // list hash-block
    
          list tcam-partition {
            description
              "TCAM partition per hw blk";
            uses PRM-NP-L2RM-HW-RSC-TCAM-PAR;
          }  // list tcam-partition
        }  // grouping PRM-NP-L2RM-HW-RSC-A
    
        grouping PRM-NP-L2RM-HW-RSC {
          description "NP L2RM  hw_rsc";
          container hw-resource {
            description "resources per hw blk";
            uses PRM-NP-L2RM-HW-RSC-A;
          }  // 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";
          }
        }  // grouping PRM-NP-L2RM-HW-RSC
    
        grouping TCAM-VMR-ENTRY {
          description "Application VMR 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";
          }
        }  // grouping TCAM-VMR-ENTRY
    
        grouping ACL-COMM-REGION {
          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";
          }
        }  // grouping ACL-COMM-REGION
    
        grouping TCAM-ODS-TABLE {
          description "tcam ods table";
          container acl-common {
            description "ACL common region";
            uses ACL-COMM-REGION;
          }  // container acl-common
    
          container app-id-ifib {
            description "App IFIB entry";
            uses TCAM-VMR-ENTRY;
          }  // container app-id-ifib
    
          container app-id-qos {
            description "App qos entry";
            uses TCAM-VMR-ENTRY;
          }  // container app-id-qos
    
          container app-id-acl {
            description "App acl entry";
            uses TCAM-VMR-ENTRY;
          }  // container app-id-acl
    
          container app-id-afmon {
            description "App afmon entry";
            uses TCAM-VMR-ENTRY;
          }  // container app-id-afmon
    
          container app-id-li {
            description "App LI entry";
            uses TCAM-VMR-ENTRY;
          }  // container app-id-li
    
          container app-id-pbr {
            description "App PBR entry";
            uses TCAM-VMR-ENTRY;
          }  // container app-id-pbr
    
          container app-id-edpl {
            description "App EDPL entry";
            uses TCAM-VMR-ENTRY;
          }  // 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";
          }
        }  // grouping TCAM-ODS-TABLE
    
        grouping TCAM-L2-TABLE-A {
          description "tcam l2 table";
          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";
          }
        }  // grouping TCAM-L2-TABLE-A
    
        grouping TCAM-SHOW-SUM {
          description "tcam summary";
          container tcam-lt-ods2 {
            description
              "TCAM ODS2 partition summary";
            uses TCAM-ODS-TABLE;
          }  // container tcam-lt-ods2
    
          container tcam-lt-ods8 {
            description
              "TCAM ODS8 partition summary";
            uses TCAM-ODS-TABLE;
          }  // container tcam-lt-ods8
    
          list tcam-lt-l2 {
            description
              "Array of TCAM L2 partition summaries";
            uses TCAM-L2-TABLE-A;
          }  // list tcam-lt-l2
        }  // grouping TCAM-SHOW-SUM
    
        grouping TCAM-VMR-ENTRY-INT {
          description
            "Application VMR entry internal";
          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";
          }
        }  // grouping TCAM-VMR-ENTRY-INT
    
        grouping TCAM-ODS-TABLE-INT {
          description "tcam ods table internal";
          container app-id-ifib {
            description "App IFIB entry";
            uses TCAM-VMR-ENTRY-INT;
          }  // container app-id-ifib
    
          container app-id-qos {
            description "App qos entry";
            uses TCAM-VMR-ENTRY-INT;
          }  // container app-id-qos
    
          container app-id-acl {
            description "App acl entry";
            uses TCAM-VMR-ENTRY-INT;
          }  // container app-id-acl
    
          container app-id-afmon {
            description "App afmon entry";
            uses TCAM-VMR-ENTRY-INT;
          }  // container app-id-afmon
    
          container app-id-li {
            description "App LI entry";
            uses TCAM-VMR-ENTRY-INT;
          }  // container app-id-li
    
          container app-id-pbr {
            description "App PBR entry";
            uses TCAM-VMR-ENTRY-INT;
          }  // container app-id-pbr
    
          container application-edpl-entry {
            description "App EDPL entry";
            uses TCAM-VMR-ENTRY-INT;
          }  // 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";
          }
        }  // grouping TCAM-ODS-TABLE-INT
    
        grouping TCAM-L2-TABLE-INT-A {
          description "tcam l2 table internal";
          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";
          }
        }  // grouping TCAM-L2-TABLE-INT-A
    
        grouping TCAM-SHOW-SUM-INT {
          description "tcam summary internal";
          container tcam-lt-ods2 {
            description "TCAM LT ODS 2 summary";
            uses TCAM-ODS-TABLE-INT;
          }  // container tcam-lt-ods2
    
          container tcam-lt-ods8 {
            description "TCAM LT_ODS 8 summary";
            uses TCAM-ODS-TABLE-INT;
          }  // container tcam-lt-ods8
    
          list tcam-lt-l2 {
            description
              "Array of TCAM LT L2 partition summaries";
            uses TCAM-L2-TABLE-INT-A;
          }  // list tcam-lt-l2
        }  // grouping TCAM-SHOW-SUM-INT
    
        grouping TCAM-INFO-SHOW-SUM {
          description "tcam summary info";
          container internal-tcam-info {
            description
              "Internal tcam summary info";
            uses TCAM-SHOW-SUM-INT;
          }  // container internal-tcam-info
    
          container tcam-info {
            description
              "External tcam summary info";
            uses TCAM-SHOW-SUM;
          }  // container tcam-info
        }  // grouping TCAM-INFO-SHOW-SUM
    
        grouping PRM-NP-LOAD {
          description "np load info";
          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";
          }
        }  // grouping PRM-NP-LOAD
    
        grouping PRM-NP-CHN-LOAD-A {
          description "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";
          }
        }  // grouping PRM-NP-CHN-LOAD-A
    
        grouping PRM-NP-CHN-LOAD {
          description
            "Array of NP Channel load counters";
          list np-chn-load {
            description
              "Array of NP Channel load counters";
            uses PRM-NP-CHN-LOAD-A;
          }  // list np-chn-load
        }  // grouping PRM-NP-CHN-LOAD
    
        grouping TCAM-VMR-ENTRY-ID {
          description "Feature VMR entry";
          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";
          }
        }  // grouping TCAM-VMR-ENTRY-ID
    
        grouping TCAM-FEATURE-ENTRY {
          description "tcam feature info";
          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";
            uses TCAM-VMR-ENTRY-ID;
          }  // list vmr-entry
        }  // grouping TCAM-FEATURE-ENTRY
    
        grouping TCAM-REGION-TABLE-INT {
          description
            "tcam table internal region";
          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";
            uses TCAM-FEATURE-ENTRY;
          }  // list feature
        }  // grouping TCAM-REGION-TABLE-INT
    
        grouping TCAM-SHOW-SUM-INT-REGION {
          description
            "tcam summary internal region";
          leaf total-blocks {
            type uint32;
            description "Total TCAM blocks";
          }
    
          leaf free-blocks {
            type uint32;
            description "Free TCAM blocks";
          }
    
          list tcam-region {
            description "TCAM Regions";
            uses TCAM-REGION-TABLE-INT;
          }  // list tcam-region
        }  // grouping TCAM-SHOW-SUM-INT-REGION
    
        grouping TCAM-INFO-SHOW-SUM-REGION {
          description "tcam info summary region";
          container internal-tcam-info {
            description
              "Internal tcam summary info";
            uses TCAM-SHOW-SUM-INT-REGION;
          }  // container internal-tcam-info
        }  // grouping TCAM-INFO-SHOW-SUM-REGION
    
        grouping PRM-NP-PORTMAP-A {
          description "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";
          }
        }  // grouping PRM-NP-PORTMAP-A
    
        grouping PRM-NP-PORTMAP {
          description "NP Port Map";
          list portmap-entry {
            description
              "Array of NP Port Map Entry";
            uses PRM-NP-PORTMAP-A;
          }  // list portmap-entry
        }  // grouping PRM-NP-PORTMAP
    
        grouping PRM-NP-UIDB-A {
          description "NP uidb";
          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";
          }
        }  // grouping PRM-NP-UIDB-A
    
        grouping PRM-NP-UIDB {
          description "Array of NP UIDB Index";
          list uidb-index {
            description "Array of NP UIDB Index";
            uses PRM-NP-UIDB-A;
          }  // list uidb-index
        }  // grouping PRM-NP-UIDB
    
        grouping PRM-MAC-CFGMODE-A {
          description "MAC Cfgmode 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";
          }
        }  // grouping PRM-MAC-CFGMODE-A
    
        grouping PRM-MAC-CFGMODE {
          description "MAC Config Modes";
          list cfg-entry {
            description "Array of MAC CFG Entry";
            uses PRM-MAC-CFGMODE-A;
          }  // list cfg-entry
        }  // grouping PRM-MAC-CFGMODE
      }  // submodule Cisco-IOS-XR-asr9k-np-oper-sub1
    

© 2024 YumaWorks, Inc. All rights reserved.