Cisco-IOS-XR-infra-alarm-logger-oper-sub1

This submodule contains a collection of YANG definitions for Cisco IOS-XR infra-alarm-logger package operational data. Copyrigh...

  • Version: 2019-04-05

    Cisco-IOS-XR-infra-alarm-logger-oper-sub1@2019-04-05


    
      submodule Cisco-IOS-XR-infra-alarm-logger-oper-sub1 {
    
        yang-version 1;
    
        belongs-to
          Cisco-IOS-XR-infra-alarm-logger-oper {
            prefix
              Cisco-IOS-XR-infra-alarm-logger-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 infra-alarm-logger package operational data.
         
         Copyright (c) 2013-2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2017-09-07" {
          description
            "Fixed type translation error.";
        }
    
        revision "2015-01-07" {
          description "IOS XR 5.3.1 revision.";
        }
    
        semver:module-version "1.0.1";
    
        typedef Al-alarm-bistate {
          type enumeration {
            enum "not-available" {
              value 0;
              description "not available";
            }
            enum "active" {
              value 1;
              description "active";
            }
            enum "clear" {
              value 2;
              description "clear";
            }
          }
          description "Al alarm bistate";
        }
    
        typedef Al-alarm-severity {
          type enumeration {
            enum "unknown" {
              value -1;
              description "unknown";
            }
            enum "emergency" {
              value 0;
              description "emergency";
            }
            enum "alert" {
              value 1;
              description "alert";
            }
            enum "critical" {
              value 2;
              description "critical";
            }
            enum "error" {
              value 3;
              description "error";
            }
            enum "warning" {
              value 4;
              description "warning";
            }
            enum "notice" {
              value 5;
              description "notice";
            }
            enum "informational" {
              value 6;
              description "informational";
            }
            enum "debugging" {
              value 7;
              description "debugging";
            }
          }
          description "Al alarm severity";
        }
    
        grouping AL-ALDEMS-ALARM-BAG {
          description "Alarm-Logger alarm";
          leaf source-id {
            type string;
            description
              "Source Identifier(Location).Indicates the node
             in which the alarm was generated";
          }
    
          leaf timestamp {
            type uint64;
            units "millisecond";
            description
              "Time when the alarm was generated. It is
             expressed in number of milliseconds since 00:00
             :00 UTC, January 1, 1970";
          }
    
          leaf category {
            type string;
            description "Category of the alarm";
          }
    
          leaf group {
            type string;
            description
              "Group of messages to which this alarm belongs to";
          }
    
          leaf code {
            type string;
            description
              "Alarm code which further qualifies the alarm
             within a message group";
          }
    
          leaf severity {
            type Al-alarm-severity;
            description "Severity of the alarm";
          }
    
          leaf state {
            type Al-alarm-bistate;
            description
              "State of the alarm (bistate alarms only)";
          }
    
          leaf correlation-id {
            type uint32;
            description "Correlation Identifier";
          }
    
          leaf is-admin {
            type boolean;
            description
              "Indicates the event id admin-level";
          }
    
          leaf additional-text {
            type string;
            description "Full text of the Alarm";
          }
        }  // grouping AL-ALDEMS-ALARM-BAG
    
        grouping AL-LOGGING-INFO-BAG {
          description "Logging information";
          leaf log-buffer-size {
            type uint32;
            units "byte";
            description
              "Current Logging Buffer Size (Bytes)";
          }
    
          leaf max-log-buffer-size {
            type uint32;
            units "byte";
            description
              "Maximum Logging Buffer Size (Bytes) ";
          }
    
          leaf record-count {
            type uint32;
            description
              "Number of Records in the Buffer";
          }
    
          leaf capacity-threshold {
            type uint32;
            units "percentage";
            description
              "Percentage of the buffer utilization which, when
             exceeded, triggers the  generation of a
             notification for the clients of the XML agent";
          }
    
          leaf severity-filter {
            type Al-alarm-severity;
            description "Severity Filter";
          }
        }  // grouping AL-LOGGING-INFO-BAG
      }  // submodule Cisco-IOS-XR-infra-alarm-logger-oper-sub1
    

© 2023 YumaWorks, Inc. All rights reserved.