Cisco-IOS-XR-ifmgr-oper-sub2

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

  • Version: 2020-10-01

    Cisco-IOS-XR-ifmgr-oper-sub2@2020-10-01


    
      submodule Cisco-IOS-XR-ifmgr-oper-sub2 {
    
        yang-version 1;
    
        belongs-to Cisco-IOS-XR-ifmgr-oper {
            prefix Cisco-IOS-XR-ifmgr-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 ifmgr package operational data.
         
         Copyright (c) 2013-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-10-01" {
          description "64-bit bandwidth changes";
        }
    
        revision "2019-12-03" {
          description "Updated description.";
        }
    
        revision "2019-07-23" {
          description
            "IosApi version change
           2019-05-30
           64 bit bandwidth changes.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-07-30" {
          description "IOS XR 5.3.2 revision.";
        }
    
        revision "2015-01-07" {
          description "IOS XR 5.3.1 revision.";
        }
    
        semver:module-version "2.0.0";
        semver:module-version "2.0.0";
        semver:module-version "1.1.0";
        semver:module-version "1.0.0";
    
        typedef Im-state-enum {
          type enumeration {
            enum "im-state-not-ready" {
              value 0;
              description "im state not ready";
            }
            enum "im-state-admin-down" {
              value 1;
              description "im state admin down";
            }
            enum "im-state-down" {
              value 2;
              description "im state down";
            }
            enum "im-state-up" {
              value 3;
              description "im state up";
            }
            enum "im-state-shutdown" {
              value 4;
              description "im state shutdown";
            }
            enum "im-state-err-disable" {
              value 5;
              description "im state err disable";
            }
            enum "im-state-down-immediate" {
              value 6;
              description
                "im state down immediate";
            }
            enum "im-state-down-immediate-admin" {
              value 7;
              description
                "im state down immediate admin";
            }
            enum "im-state-down-graceful" {
              value 8;
              description
                "im state down graceful";
            }
            enum "im-state-begin-shutdown" {
              value 9;
              description
                "im state begin shutdown";
            }
            enum "im-state-end-shutdown" {
              value 10;
              description
                "im state end shutdown";
            }
            enum "im-state-begin-error-disable" {
              value 11;
              description
                "im state begin error disable";
            }
            enum "im-state-end-error-disable" {
              value 12;
              description
                "im state end error disable";
            }
            enum "im-state-begin-down-graceful" {
              value 13;
              description
                "im state begin down graceful";
            }
            enum "im-state-reset" {
              value 14;
              description "im state reset";
            }
            enum "im-state-operational" {
              value 15;
              description "im state operational";
            }
            enum "im-state-not-operational" {
              value 16;
              description
                "im state not operational";
            }
            enum "im-state-unknown" {
              value 17;
              description "im state unknown";
            }
            enum "im-state-last" {
              value 18;
              description "im state last";
            }
          }
          description "Im state enum";
        }
    
        grouping IM-SHOW-DAMP-NODE {
          description
            "Contains dampening information of capsulation and
           capsulation number of interface";
          container capsulation-dampening {
            description
              "Dampening information of capsulation";
            uses IM-SHOW-DAMP-NODE-INFO;
          }  // container capsulation-dampening
    
          leaf capsulation-number {
            type string;
            description
              "Capsulation number of the Interface";
          }
        }  // grouping IM-SHOW-DAMP-NODE
    
        grouping IM-SHOW-DAMP-NODE-INFO {
          description
            "Dampening information of interface ";
          leaf penalty {
            type uint32;
            description
              "Dampening penalty of the interface";
          }
    
          leaf is-suppressed-enabled {
            type boolean;
            description
              "Flag showing if state is suppressed";
          }
    
          leaf seconds-remaining {
            type uint32;
            units "second";
            description
              "Remaining period of suppression in secs";
          }
    
          leaf flaps {
            type uint32;
            description
              "Number of underlying state flaps";
          }
    
          leaf state {
            type Im-state-enum;
            description
              "Underlying state of the node";
          }
        }  // grouping IM-SHOW-DAMP-NODE-INFO
    
        grouping IM-SHOW-DAMP-INFO {
          description
            "Dampening information of interface";
          container interface-dampening {
            description
              "Interface dampening configuration for an
             interface";
            uses IM-SHOW-DAMP-NODE-INFO;
          }  // container interface-dampening
    
          leaf state-transition-count {
            type uint32;
            description
              "The number of times the state has changed";
          }
    
          leaf last-state-transition-time {
            type uint64;
            description
              "The absolute time of last state change of the
             interface";
          }
    
          leaf is-dampening-enabled {
            type boolean;
            description
              "Flag showing if dampening is enabled";
          }
    
          leaf half-life {
            type uint32;
            units "minute";
            description
              "Configured decay half life in mins";
          }
    
          leaf reuse-threshold {
            type uint32;
            description
              "Configured reuse threshold";
          }
    
          leaf suppress-threshold {
            type uint32;
            description
              "Value of suppress threshold";
          }
    
          leaf maximum-suppress-time {
            type uint32;
            units "minute";
            description
              "Maximum suppress time in mins";
          }
    
          leaf restart-penalty {
            type uint32;
            description
              "Configured restart penalty";
          }
    
          list capsulation {
            description
              "Dampening information for capsulations";
            uses IM-SHOW-DAMP-NODE;
          }  // list capsulation
        }  // grouping IM-SHOW-DAMP-INFO
      }  // submodule Cisco-IOS-XR-ifmgr-oper-sub2
    

© 2023 YumaWorks, Inc. All rights reserved.