Cisco-IOS-XR-alarmgr-server-oper-sub1

This submodule contains a collection of YANG definitions for Cisco IOS-XR alarmgr-server package operational data. Copyright (c...

  • Version: 2021-05-06

    Cisco-IOS-XR-alarmgr-server-oper-sub1@2021-05-06


    
      submodule Cisco-IOS-XR-alarmgr-server-oper-sub1 {
    
        yang-version 1;
    
        belongs-to
          Cisco-IOS-XR-alarmgr-server-oper {
            prefix
              Cisco-IOS-XR-alarmgr-server-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 alarmgr-server package operational data.
         
         Copyright (c) 2013-2021 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2021-05-06" {
          description
            "Adding new alarm groups to alarm_mgr_edm_spi.bag
           2020-12-02
             PTAH support for Fibre Channel controller.
           2020-09-02
             SNMP Trap support added for Alarm mib";
        }
    
        revision "2020-05-29" {
          description
            "Addressing Yang inconsistency across platforms
           2019-06-28
           PTAH support for CPRI controller in Felidae 5G platform.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "3.0.0";
        semver:module-version "2.1.0";
        semver:module-version "2.0.0";
    
        typedef Alarm-client {
          type enumeration {
            enum "unknown" {
              value 1;
              description "Client type unknown";
            }
            enum "producer" {
              value 2;
              description "Client type producer";
            }
            enum "consumer" {
              value 4;
              description "Client type consumer";
            }
            enum "subscriber" {
              value 8;
              description
                "Client type subscriber";
            }
            enum "client-last" {
              value 16;
              description "Client type last";
            }
          }
          description "Alarm client";
        }
    
        typedef Alarm-client-state {
          type enumeration {
            enum "start" {
              value 0;
              description
                "Starting state. Should be 0";
            }
            enum "init" {
              value 1;
              description "Client initalized";
            }
            enum "connecting" {
              value 2;
              description "Sent connect request";
            }
            enum "connected" {
              value 3;
              description "Initial connected";
            }
            enum "registered" {
              value 4;
              description
                "Has sent registration message";
            }
            enum "disconnected" {
              value 5;
              description
                "Has been disconnected due to request of error";
            }
            enum "ready" {
              value 6;
              description "The client is ready";
            }
          }
          description "Alarm client state";
        }
    
        typedef Alarm-object-mib-index {
          type enumeration {
            enum "hwentity" {
              value 0;
              description
                "Object MIB index type Hardware Entity";
            }
            enum "interface-entity" {
              value 1;
              description
                "Object MIB index type Interface Entity";
            }
            enum "sw-entity" {
              value 2;
              description
                "Object MIB index type Software Entity";
            }
          }
          description "Alarm object mib index";
        }
    
        typedef Alarm-event {
          type enumeration {
            enum "default" {
              value 0;
              description
                "Default Alarm Event Type";
            }
            enum "notification" {
              value 1;
              description
                "Alarm Notifcation Event Type";
            }
            enum "condition" {
              value 2;
              description "Alarm Type Condition";
            }
            enum "last" {
              value 3;
              description "Last Event Type";
            }
          }
          description "Alarm event";
        }
    
        typedef Timing-bucket {
          type enumeration {
            enum "not-specified" {
              value 0;
              description
                "Bucket Type not applicable";
            }
            enum "fifteen-min" {
              value 1;
              description
                "Fifteen minute time bucket";
            }
            enum "one-day" {
              value 2;
              description "One day time bucket";
            }
            enum "thirty-sec" {
              value 3;
              description
                "Thirty second time bucket";
            }
          }
          description "Timing bucket";
        }
    
        typedef Alarm-notification-src {
          type enumeration {
            enum "not-specified" {
              value 0;
              description
                "Notification src not specified";
            }
            enum "near-end" {
              value 1;
              description
                "Notification src near end";
            }
            enum "far-end" {
              value 2;
              description
                "Notification src far end";
            }
          }
          description "Alarm notification src";
        }
    
        typedef Alarm-direction {
          type enumeration {
            enum "not-specified" {
              value 0;
              description
                "Direction Not Specified";
            }
            enum "send" {
              value 1;
              description "Direction Send";
            }
            enum "receive" {
              value 2;
              description "Direction Receive";
            }
            enum "send-receive" {
              value 3;
              description
                "Direction Send and Receive";
            }
          }
          description "Alarm direction";
        }
    
        typedef Alarm-service-affecting {
          type enumeration {
            enum "unknown" {
              value 0;
              description
                "Unknown whether alarm severity is service
               affecting";
            }
            enum "not-service-affecting" {
              value 1;
              description
                "Alarm severity is not service affecting";
            }
            enum "service-affecting" {
              value 2;
              description
                "Alarm severity is service affecting";
            }
          }
          description "Alarm service affecting";
        }
    
        typedef Alarm-groups {
          type enumeration {
            enum "unknown" {
              value 0;
              description
                "An unknown alarm group";
            }
            enum "environ" {
              value 1;
              description
                "Environomental alarm group";
            }
            enum "ethernet" {
              value 2;
              description "Ethernet alarm group";
            }
            enum "fabric" {
              value 3;
              description
                "Fabric related alarm group";
            }
            enum "power" {
              value 4;
              description
                "Power and PEM group of alarms";
            }
            enum "software" {
              value 5;
              description
                "Software group of alarms";
            }
            enum "slice" {
              value 6;
              description
                "Slice group of alarms";
            }
            enum "cpu" {
              value 7;
              description "CPU group of alarms";
            }
            enum "controller" {
              value 8;
              description
                "Controller group of alarms";
            }
            enum "sonet" {
              value 9;
              description
                "Sonet group of alarms";
            }
            enum "otn" {
              value 10;
              description "OTN group of alarms";
            }
            enum "sdh-controller" {
              value 11;
              description "SDH group of alarms";
            }
            enum "asic" {
              value 12;
              description "ASIC group of alarms";
            }
            enum "fpd-infra" {
              value 13;
              description "FPD group of alarms";
            }
            enum "shelf" {
              value 14;
              description
                "Shelf group of alarms";
            }
            enum "mpa" {
              value 15;
              description "MPA group of alarms";
            }
            enum "ots" {
              value 16;
              description "OTS group of alarms";
            }
            enum "timing" {
              value 17;
              description
                "Timing group of alarms";
            }
            enum "cpri" {
              value 18;
              description "CPRI group of alarms";
            }
            enum "fibre-channel" {
              value 19;
              description
                "Fibre channel group of alarms";
            }
            enum "last" {
              value 20;
              description "Last unused group";
            }
          }
          description "Alarm groups";
        }
    
        typedef Alarm-status {
          type enumeration {
            enum "unknown" {
              value 0;
              description
                "Unknown alarm status level";
            }
            enum "set" {
              value 1;
              description
                "Status of active alarm that is SET by the
               controller";
            }
            enum "clear" {
              value 2;
              description
                "Status of cleared alarm that is done by the
               controller";
            }
            enum "suppress" {
              value 3;
              description
                "Status of suppressed alarm that is done by the
               controller";
            }
            enum "last" {
              value 4;
              description "Last status level";
            }
          }
          description "Alarm status";
        }
    
        typedef Alarm-severity {
          type enumeration {
            enum "unknown" {
              value 0;
              description
                "Unknown severity level";
            }
            enum "not-reported" {
              value 1;
              description
                "Severity level not reported will not raise an
               alarm";
            }
            enum "not-alarmed" {
              value 2;
              description
                "Severity level of info to cater to events such
               as Performance TCAS";
            }
            enum "minor" {
              value 3;
              description
                "Severity level of minor fault not traffic
               affecting";
            }
            enum "major" {
              value 4;
              description
                "Severity level of major fault leading to
               service disruption";
            }
            enum "critical" {
              value 5;
              description
                "Severity level of critical leading to drops
               ,route loss, loss of service etc.";
            }
            enum "severity-last" {
              value 6;
              description "Last severity level";
            }
          }
          description "Alarm severity";
        }
      }  // submodule Cisco-IOS-XR-alarmgr-server-oper-sub1
    

© 2023 YumaWorks, Inc. All rights reserved.