Cisco-IOS-XR-infra-statsd-oper

This module contains a collection of YANG definitions for Cisco IOS-XR infra-statsd package operational data. This module conta...

  • Version: 2020-10-08

    Cisco-IOS-XR-infra-statsd-oper@2020-10-08


    
      module Cisco-IOS-XR-infra-statsd-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-statsd-oper";
    
        prefix infra-statsd-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-infra-statsd-oper-sub1 {
          revision-date "2020-10-08";
        }
    
        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 infra-statsd package operational data.
    
    This module contains definitions
    for the following management objects:
      infra-statistics: Statistics Infrastructure
    
    Copyright (c) 2013-2020 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2020-10-08" {
          description
            "Unit of last-data-time in milliseconds reverted to seconds for generic stats
    2020-05-05
      Added Hardware timestamp support for protocol stats.
    2020-04-14
      Unit of last-data-time changed from seconds to milliseconds for generic stats
    2020-04-14
      Data type of last-data-time changed from uint32 to uint64 for generic and proto stats
    2020-04-14
      Adding Hardware timestamp feature in generic structure.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.1.0";
        semver:module-version "1.0.1";
    
        grouping DATA-RATE {
          description
            "Common node of latest, cache, total, interface";
          container data-rate {
            description "Datarate information";
            uses STATSDBAG-DATARATE;
          }  // container data-rate
        }  // grouping DATA-RATE
    
        grouping PROTOCOL-TABLE {
          description
            "Common node of latest, cache, total, interface";
          container protocols {
            description "List of protocols";
            list protocol {
              key "protocol-name";
              description
                "Interface counters per protocol";
              leaf protocol-name {
                type xr:Cisco-ios-xr-string;
                description
                  "Name of the protocol";
              }
    
              uses IFSTATSBAG-PROTO;
            }  // list protocol
          }  // container protocols
        }  // grouping PROTOCOL-TABLE
    
        grouping INTERFACES-MIB-COUNTERS {
          description
            "Common node of latest, cache, total, interface";
          container interfaces-mib-counters {
            description
              "Set of interface counters as displayed by the
    InterfacesMIB";
            uses IFSTATSBAG-GENERIC;
          }  // container interfaces-mib-counters
        }  // grouping INTERFACES-MIB-COUNTERS
    
        grouping GENERIC-COUNTERS {
          description
            "Common node of latest, cache, total, interface";
          container generic-counters {
            description
              "Generic set of interface counters";
            uses IFSTATSBAG-GENERIC;
          }  // container generic-counters
        }  // grouping GENERIC-COUNTERS
    
        container infra-statistics {
          config false;
          description
            "Statistics Infrastructure";
          container interfaces {
            description "List of interfaces";
            list interface {
              key "interface-name";
              description
                "Statistics of an interface";
              container cache {
                description
                  "Cached stats data of interfaces";
                uses PROTOCOL-TABLE;
    
                uses INTERFACES-MIB-COUNTERS;
    
                uses DATA-RATE;
    
                uses GENERIC-COUNTERS;
              }  // container cache
    
              container latest {
                description
                  "Latest stats data of interfaces";
                uses PROTOCOL-TABLE;
    
                uses INTERFACES-MIB-COUNTERS;
    
                uses DATA-RATE;
    
                uses GENERIC-COUNTERS;
              }  // container latest
    
              container total {
                description
                  "Total stats data of interfaces";
                uses PROTOCOL-TABLE;
    
                uses INTERFACES-MIB-COUNTERS;
    
                uses DATA-RATE;
    
                uses GENERIC-COUNTERS;
              }  // container total
    
              leaf interface-name {
                type xr:Interface-name;
                description
                  "Name of the interface";
              }
    
              uses PROTOCOL-TABLE;
    
              uses INTERFACES-MIB-COUNTERS;
    
              uses DATA-RATE;
    
              uses GENERIC-COUNTERS;
            }  // list interface
          }  // container interfaces
        }  // container infra-statistics
      }  // module Cisco-IOS-XR-infra-statsd-oper
    

© 2024 YumaWorks, Inc. All rights reserved.