This module contains a collection of YANG definitions for Cisco IOS-XR alarmgr-server package operational data. This module con...
Version: 2021-05-06
module Cisco-IOS-XR-alarmgr-server-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-alarmgr-server-oper"; prefix alarmgr-server-oper; import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } include Cisco-IOS-XR-alarmgr-server-oper-sub1 { revision-date "2021-05-06"; } 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 alarmgr-server package operational data. This module contains definitions for the following management objects: alarms: Show Alarms associated with XR 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"; container alarms { config false; description "Show Alarms associated with XR"; container detail { description "A set of detail alarm commands."; container detail-system { description "show detail system scope alarm related data."; container history { description "Show the history alarms at this scope."; list alarm-info { description "Alarm List"; container otn { description "OTN feature specific alarm attributes"; leaf direction { type Alarm-direction; description "Alarm direction "; } leaf notification-source { type Alarm-notification-src; description "Source of Alarm"; } } // container otn container tca { description "TCA feature specific alarm attributes"; leaf threshold-value { type string { length "0..20"; } description "Alarm Threshold "; } leaf current-value { type string { length "0..20"; } description "Alarm Threshold"; } leaf bucket-type { type Timing-bucket; description "Timing Bucket"; } } // container tca leaf description { type string { length "0..256"; } description "Alarm description"; } leaf location { type string { length "0..128"; } description "Alarm location"; } leaf aid { type string { length "0..128"; } description "Alarm aid"; } leaf tag { type string { length "0..128"; } description "Alarm tag description"; } leaf module { type string { length "0..128"; } description "Alarm module description"; } leaf eid { type string { length "0..128"; } description "Alarm eid"; } leaf reporting-agent-id { type uint32; description "Reporting agent id"; } leaf pending-sync { type boolean; description "Pending async flag"; } leaf severity { type Alarm-severity; description "Alarm severity"; } leaf status { type Alarm-status; description "Alarm status"; } leaf group { type Alarm-groups; description "Alarm group"; } leaf set-time { type string { length "0..64"; } description "Alarm set time"; } leaf set-timestamp { type uint64; description "Alarm set time(timestamp format)"; } leaf clear-time { type string { length "0..64"; } description "Alarm clear time"; } leaf clear-timestamp { type uint64; description "Alarm clear time(timestamp format)"; } leaf service-affecting { type Alarm-service-affecting; description "Alarm service affecting"; } leaf type { type Alarm-event; description "alarm event type"; } leaf interface { type string { length "0..128"; } description "Alarm interface name"; } leaf alarm-name { type string { length "0..128"; } description "Alarm name"; } leaf object-mib-index-type { type Alarm-object-mib-index; description "Alarm Object MIB Index Type"; } leaf alarm-type { type uint32; description "Alarm Type"; } leaf object-mib-index { type uint32; description "Alarm Object MIB Index Type"; } leaf trap-flag { type uint32; description "Trap Flag"; } } // list alarm-info } // container history container conditions { description "Show the Conditions present at this scope."; list alarm-info { description "Alarm List"; container otn { description "OTN feature specific alarm attributes"; leaf direction { type Alarm-direction; description "Alarm direction "; } leaf notification-source { type Alarm-notification-src; description "Source of Alarm"; } } // container otn container tca { description "TCA feature specific alarm attributes"; leaf threshold-value { type string { length "0..20"; } description "Alarm Threshold "; } leaf current-value { type string { length "0..20"; } description "Alarm Threshold"; } leaf bucket-type { type Timing-bucket; description "Timing Bucket"; } } // container tca leaf description { type string { length "0..256"; } description "Alarm description"; } leaf location { type string { length "0..128"; } description "Alarm location"; } leaf aid { type string { length "0..128"; } description "Alarm aid"; } leaf tag { type string { length "0..128"; } description "Alarm tag description"; } leaf module { type string { length "0..128"; } description "Alarm module description"; } leaf eid { type string { length "0..128"; } description "Alarm eid"; } leaf reporting-agent-id { type uint32; description "Reporting agent id"; } leaf pending-sync { type boolean; description "Pending async flag"; } leaf severity { type Alarm-severity; description "Alarm severity"; } leaf status { type Alarm-status; description "Alarm status"; } leaf group { type Alarm-groups; description "Alarm group"; } leaf set-time { type string { length "0..64"; } description "Alarm set time"; } leaf set-timestamp { type uint64; description "Alarm set time(timestamp format)"; } leaf clear-time { type string { length "0..64"; } description "Alarm clear time"; } leaf clear-timestamp { type uint64; description "Alarm clear time(timestamp format)"; } leaf service-affecting { type Alarm-service-affecting; description "Alarm service affecting"; } leaf type { type Alarm-event; description "alarm event type"; } leaf interface { type string { length "0..128"; } description "Alarm interface name"; } leaf alarm-name { type string { length "0..128"; } description "Alarm name"; } leaf object-mib-index-type { type Alarm-object-mib-index; description "Alarm Object MIB Index Type"; } leaf alarm-type { type uint32; description "Alarm Type"; } leaf object-mib-index { type uint32; description "Alarm Object MIB Index Type"; } leaf trap-flag { type uint32; description "Trap Flag"; } } // list alarm-info } // container conditions container stats { description "Show the service statistics."; leaf reported { type uint64; description "Alarms that were in all reported to this Alarm Mgr"; } leaf dropped { type uint64; description "Alarms that we couldn't keep track due to some error or other"; } leaf active { type uint64; description "Alarms that are currently in the active state"; } leaf history { type uint64; description "Alarms that are cleared. This one is counted over a long period of time"; } leaf suppressed { type uint64; description "Alarms that are in suppressed state"; } leaf sysadmin-active { type uint64; description "Alarms that are currently in the active state(sysadmin plane)"; } leaf sysadmin-history { type uint64; description "Alarms that are cleared in sysadmin plane. This one is counted over a long period of time"; } leaf sysadmin-suppressed { type uint64; description "Alarms that are suppressed in sysadmin plane."; } leaf dropped-invalid-aid { type uint32; description "Alarms dropped due to invalid aid"; } leaf dropped-insuff-mem { type uint32; description "Alarms dropped due to insufficient memory"; } leaf dropped-db-error { type uint32; description "Alarms dropped due to db error"; } leaf dropped-clear-without-set { type uint32; description "Alarms dropped clear without set"; } leaf dropped-duplicate { type uint32; description "Alarms dropped which were duplicate"; } leaf cache-hit { type uint32; description "Total alarms which had the cache hit"; } leaf cache-miss { type uint32; description "Total alarms which had the cache miss"; } } // container stats container clients { description "Show the clients associated with this service."; list client-info { description "Client List"; leaf name { type string { length "0..128"; } description "Alarm client"; } leaf id { type uint32; description "Alarms agent id of the client"; } leaf location { type string { length "0..128"; } description "The location of this client"; } leaf handle { type string { length "0..128"; } description "The client handle through which interface"; } leaf state { type Alarm-client-state; description "The current state of the client"; } leaf type { type Alarm-client; description "The type of the client"; } leaf filter-disp { type boolean; description "The current subscription status of the client"; } leaf subscriber-id { type uint32; description "Alarms agent subscriber id of the client"; } leaf filter-severity { type Alarm-severity; description "The filter used for alarm severity"; } leaf filter-state { type Alarm-status; description "The filter used for alarm bi-state state+"; } leaf filter-group { type Alarm-groups; description "The filter used for alarm group"; } leaf connect-count { type uint32; description "Number of times the agent connected to the alarm mgr"; } leaf connect-timestamp { type string { length "0..64"; } description "Agent connect timestamp"; } leaf get-count { type uint32; description "Number of times the agent queried for alarms"; } leaf subscribe-count { type uint32; description "Number of times the agent subscribed for alarms"; } leaf report-count { type uint32; description "Number of times the agent reported alarms"; } } // list client-info } // container clients container suppressed { description "Show the suppressed alarms at this scope."; list suppressed-info { description "Suppressed Alarm List"; container otn { description "OTN feature specific alarm attributes"; leaf direction { type Alarm-direction; description "Alarm direction "; } leaf notification-source { type Alarm-notification-src; description "Source of Alarm"; } } // container otn leaf description { type string { length "0..256"; } description "Alarm description"; } leaf location { type string { length "0..128"; } description "Alarm location"; } leaf aid { type string { length "0..128"; } description "Alarm aid"; } leaf tag { type string { length "0..128"; } description "Alarm tag description"; } leaf module { type string { length "0..128"; } description "Alarm module description"; } leaf eid { type string { length "0..128"; } description "Alarm eid"; } leaf reporting-agent-id { type uint32; description "Reporting agent id"; } leaf pending-sync { type boolean; description "Pending async flag"; } leaf severity { type Alarm-severity; description "Alarm severity"; } leaf status { type Alarm-status; description "Alarm status"; } leaf group { type Alarm-groups; description "Alarm group"; } leaf set-time { type string { length "0..64"; } description "Alarm set time"; } leaf set-timestamp { type uint64; description "Alarm set time(timestamp format)"; } leaf suppressed-time { type string { length "0..64"; } description "Alarm suppressed time"; } leaf suppressed-timestamp { type uint64; description "Alarm suppressed time(timestamp format)"; } leaf service-affecting { type Alarm-service-affecting; description "Alarm service affecting "; } leaf interface { type string { length "0..128"; } description "Alarm interface name"; } leaf alarm-name { type string { length "0..128"; } description "Alarm name"; } leaf object-mib-index-type { type Alarm-object-mib-index; description "Alarm Object MIB Index Type"; } leaf alarm-type { type uint32; description "Alarm Type"; } leaf object-mib-index { type uint32; description "Alarm Object MIB Index Type"; } leaf trap-flag { type uint32; description "Trap Flag"; } } // list suppressed-info } // container suppressed container active { description "Show the active alarms at this scope."; list alarm-info { description "Alarm List"; container otn { description "OTN feature specific alarm attributes"; leaf direction { type Alarm-direction; description "Alarm direction "; } leaf notification-source { type Alarm-notification-src; description "Source of Alarm"; } } // container otn container tca { description "TCA feature specific alarm attributes"; leaf threshold-value { type string { length "0..20"; } description "Alarm Threshold "; } leaf current-value { type string { length "0..20"; } description "Alarm Threshold"; } leaf bucket-type { type Timing-bucket; description "Timing Bucket"; } } // container tca leaf description { type string { length "0..256"; } description "Alarm description"; } leaf location { type string { length "0..128"; } description "Alarm location"; } leaf aid { type string { length "0..128"; } description "Alarm aid"; } leaf tag { type string { length "0..128"; } description "Alarm tag description"; } leaf module { type string { length "0..128"; } description "Alarm module description"; } leaf eid { type string { length "0..128"; } description "Alarm eid"; } leaf reporting-agent-id { type uint32; description "Reporting agent id"; } leaf pending-sync { type boolean; description "Pending async flag"; } leaf severity { type Alarm-severity; description "Alarm severity"; } leaf status { type Alarm-status; description "Alarm status"; } leaf group { type Alarm-groups; description "Alarm group"; } leaf set-time { type string { length "0..64"; } description "Alarm set time"; } leaf set-timestamp { type uint64; description "Alarm set time(timestamp format)"; } leaf clear-time { type string { length "0..64"; } description "Alarm clear time"; } leaf clear-timestamp { type uint64; description "Alarm clear time(timestamp format)"; } leaf service-affecting { type Alarm-service-affecting; description "Alarm service affecting"; } leaf type { type Alarm-event; description "alarm event type"; } leaf interface { type string { length "0..128"; } description "Alarm interface name"; } leaf alarm-name { type string { length "0..128"; } description "Alarm name"; } leaf object-mib-index-type { type Alarm-object-mib-index; description "Alarm Object MIB Index Type"; } leaf alarm-type { type uint32; description "Alarm Type"; } leaf object-mib-index { type uint32; description "Alarm Object MIB Index Type"; } leaf trap-flag { type uint32; description "Trap Flag"; } } // list alarm-info } // container active } // container detail-system container alarm-detail { description "show detail system scope alarm related data."; container active-details { description "Table of ActiveDetail"; list active-detail { key "aid"; description "Show the active alarms at this scope."; leaf aid { type string; description "Alarm ID"; } container alarm { description "Alarm Detail"; container otn { description "OTN feature specific alarm attributes"; leaf direction { type Alarm-direction; description "Alarm direction "; } leaf notification-source { type Alarm-notification-src; description "Source of Alarm"; } } // container otn container tca { description "TCA feature specific alarm attributes"; container tca-value { description "TCA Attributes"; leaf threshold-value { type string { length "0..20"; } description "Alarm Threshold "; } leaf current-value { type string { length "0..20"; } description "Alarm Threshold"; } leaf bucket-type { type Timing-bucket; description "Timing Bucket"; } } // container tca-value leaf tca-data { type string { length "0..5"; } description "TCA Data"; } } // container tca leaf alarm-id { type string { length "0..256"; } description "Alarm ID"; } leaf description { type string { length "0..256"; } description "Alarm description"; } leaf location { type string { length "0..128"; } description "Alarm location"; } leaf aid { type string { length "0..128"; } description "Alarm aid"; } leaf tag { type string { length "0..128"; } description "Alarm tag description"; } leaf module { type string { length "0..128"; } description "Alarm module description"; } leaf eid { type string { length "0..128"; } description "Alarm eid"; } leaf pending-sync { type boolean; description "Pending async flag"; } leaf severity { type Alarm-severity; description "Alarm severity"; } leaf status { type Alarm-status; description "Alarm status"; } leaf group { type Alarm-groups; description "Alarm group"; } leaf set-time { type string { length "0..64"; } description "Alarm set time"; } leaf set-timestamp { type uint64; description "Alarm set time(timestamp format)"; } leaf clear-time { type string { length "0..64"; } description "Alarm clear time"; } leaf clear-timestamp { type uint64; description "Alarm clear time(timestamp format)"; } leaf service-affecting { type Alarm-service-affecting; description "Alarm service affecting"; } leaf interface { type string { length "0..128"; } description "Alarm interface name"; } leaf alarm-name { type string { length "0..128"; } description "Alarm name"; } leaf event-type { type string { length "0..128"; } description "Alarm Type"; } } // container alarm } // list active-detail } // container active-details } // container alarm-detail container detail-card { description "Show detail card scope alarm related data."; container detail-locations { description "Table of DetailLocation"; list detail-location { key "node-id"; description "Specify a card location for alarms."; container history { description "Show the history alarms at this scope."; list alarm-info { description "Alarm List"; container otn { description "OTN feature specific alarm attributes"; leaf direction { type Alarm-direction; description "Alarm direction "; } leaf notification-source { type Alarm-notification-src; description "Source of Alarm"; } } // container otn container tca { description "TCA feature specific alarm attributes"; leaf threshold-value { type string { length "0..20"; } description "Alarm Threshold "; } leaf current-value { type string { length "0..20"; } description "Alarm Threshold"; } leaf bucket-type { type Timing-bucket; description "Timing Bucket"; } } // container tca leaf description { type string { length "0..256"; } description "Alarm description"; } leaf location { type string { length "0..128"; } description "Alarm location"; } leaf aid { type string { length "0..128"; } description "Alarm aid"; } leaf tag { type string { length "0..128"; } description "Alarm tag description"; } leaf module { type string { length "0..128"; } description "Alarm module description"; } leaf eid { type string { length "0..128"; } description "Alarm eid"; } leaf reporting-agent-id { type uint32; description "Reporting agent id"; } leaf pending-sync { type boolean; description "Pending async flag"; } leaf severity { type Alarm-severity; description "Alarm severity"; } leaf status { type Alarm-status; description "Alarm status"; } leaf group { type Alarm-groups; description "Alarm group"; } leaf set-time { type string { length "0..64"; } description "Alarm set time"; } leaf set-timestamp { type uint64; description "Alarm set time(timestamp format)"; } leaf clear-time { type string { length "0..64"; } description "Alarm clear time"; } leaf clear-timestamp { type uint64; description "Alarm clear time(timestamp format)"; } leaf service-affecting { type Alarm-service-affecting; description "Alarm service affecting"; } leaf type { type Alarm-event; description "alarm event type"; } leaf interface { type string { length "0..128"; } description "Alarm interface name"; } leaf alarm-name { type string { length "0..128"; } description "Alarm name"; } leaf object-mib-index-type { type Alarm-object-mib-index; description "Alarm Object MIB Index Type"; } leaf alarm-type { type uint32; description "Alarm Type"; } leaf object-mib-index { type uint32; description "Alarm Object MIB Index Type"; } leaf trap-flag { type uint32; description "Trap Flag"; } } // list alarm-info } // container history container conditions { description "Show the conditions present at this scope."; list alarm-info { description "Alarm List"; container otn { description "OTN feature specific alarm attributes"; leaf direction { type Alarm-direction; description "Alarm direction "; } leaf notification-source { type Alarm-notification-src; description "Source of Alarm"; } } // container otn container tca { description "TCA feature specific alarm attributes"; leaf threshold-value { type string { length "0..20"; } description "Alarm Threshold "; } leaf current-value { type string { length "0..20"; } description "Alarm Threshold"; } leaf bucket-type { type Timing-bucket; description "Timing Bucket"; } } // container tca leaf description { type string { length "0..256"; } description "Alarm description"; } leaf location { type string { length "0..128"; } description "Alarm location"; } leaf aid { type string { length "0..128"; } description "Alarm aid"; } leaf tag { type string { length "0..128"; } description "Alarm tag description"; } leaf module { type string { length "0..128"; } description "Alarm module description"; } leaf eid { type string { length "0..128"; } description "Alarm eid"; } leaf reporting-agent-id { type uint32; description "Reporting agent id"; } leaf pending-sync { type boolean; description "Pending async flag"; } leaf severity { type Alarm-severity; description "Alarm severity"; } leaf status { type Alarm-status; description "Alarm status"; } leaf group { type Alarm-groups; description "Alarm group"; } leaf set-time { type string { length "0..64"; } description "Alarm set time"; } leaf set-timestamp { type uint64; description "Alarm set time(timestamp format)"; } leaf clear-time { type string { length "0..64"; } description "Alarm clear time"; } leaf clear-timestamp { type uint64; description "Alarm clear time(timestamp format)"; } leaf service-affecting { type Alarm-service-affecting; description "Alarm service affecting"; } leaf type { type Alarm-event; description "alarm event type"; } leaf interface { type string { length "0..128"; } description "Alarm interface name"; } leaf alarm-name { type string { length "0..128"; } description "Alarm name"; } leaf object-mib-index-type { type Alarm-object-mib-index; description "Alarm Object MIB Index Type"; } leaf alarm-type { type uint32; description "Alarm Type"; } leaf object-mib-index { type uint32; description "Alarm Object MIB Index Type"; } leaf trap-flag { type uint32; description "Trap Flag"; } } // list alarm-info } // container conditions container stats { description "Show the service statistics."; leaf reported { type uint64; description "Alarms that were in all reported to this Alarm Mgr"; } leaf dropped { type uint64; description "Alarms that we couldn't keep track due to some error or other"; } leaf active { type uint64; description "Alarms that are currently in the active state"; } leaf history { type uint64; description "Alarms that are cleared. This one is counted over a long period of time"; } leaf suppressed { type uint64; description "Alarms that are in suppressed state"; } leaf sysadmin-active { type uint64; description "Alarms that are currently in the active state(sysadmin plane)"; } leaf sysadmin-history { type uint64; description "Alarms that are cleared in sysadmin plane. This one is counted over a long period of time"; } leaf sysadmin-suppressed { type uint64; description "Alarms that are suppressed in sysadmin plane."; } leaf dropped-invalid-aid { type uint32; description "Alarms dropped due to invalid aid"; } leaf dropped-insuff-mem { type uint32; description "Alarms dropped due to insufficient memory"; } leaf dropped-db-error { type uint32; description "Alarms dropped due to db error"; } leaf dropped-clear-without-set { type uint32; description "Alarms dropped clear without set"; } leaf dropped-duplicate { type uint32; description "Alarms dropped which were duplicate"; } leaf cache-hit { type uint32; description "Total alarms which had the cache hit"; } leaf cache-miss { type uint32; description "Total alarms which had the cache miss"; } } // container stats container clients { description "Show the clients associated with this service."; list client-info { description "Client List"; leaf name { type string { length "0..128"; } description "Alarm client"; } leaf id { type uint32; description "Alarms agent id of the client"; } leaf location { type string { length "0..128"; } description "The location of this client"; } leaf handle { type string { length "0..128"; } description "The client handle through which interface"; } leaf state { type Alarm-client-state; description "The current state of the client"; } leaf type { type Alarm-client; description "The type of the client"; } leaf filter-disp { type boolean; description "The current subscription status of the client"; } leaf subscriber-id { type uint32; description "Alarms agent subscriber id of the client"; } leaf filter-severity { type Alarm-severity; description "The filter used for alarm severity"; } leaf filter-state { type Alarm-status; description "The filter used for alarm bi-state state+"; } leaf filter-group { type Alarm-groups; description "The filter used for alarm group"; } leaf connect-count { type uint32; description "Number of times the agent connected to the alarm mgr"; } leaf connect-timestamp { type string { length "0..64"; } description "Agent connect timestamp"; } leaf get-count { type uint32; description "Number of times the agent queried for alarms"; } leaf subscribe-count { type uint32; description "Number of times the agent subscribed for alarms"; } leaf report-count { type uint32; description "Number of times the agent reported alarms"; } } // list client-info } // container clients container suppressed { description "Show the suppressed alarms at this scope."; list suppressed-info { description "Suppressed Alarm List"; container otn { description "OTN feature specific alarm attributes"; leaf direction { type Alarm-direction; description "Alarm direction "; } leaf notification-source { type Alarm-notification-src; description "Source of Alarm"; } } // container otn leaf description { type string { length "0..256"; } description "Alarm description"; } leaf location { type string { length "0..128"; } description "Alarm location"; } leaf aid { type string { length "0..128"; } description "Alarm aid"; } leaf tag { type string { length "0..128"; } description "Alarm tag description"; } leaf module { type string { length "0..128"; } description "Alarm module description"; } leaf eid { type string { length "0..128"; } description "Alarm eid"; } leaf reporting-agent-id { type uint32; description "Reporting agent id"; } leaf pending-sync { type boolean; description "Pending async flag"; } leaf severity { type Alarm-severity; description "Alarm severity"; } leaf status { type Alarm-status; description "Alarm status"; } leaf group { type Alarm-groups; description "Alarm group"; } leaf set-time { type string { length "0..64"; } description "Alarm set time"; } leaf set-timestamp { type uint64; description "Alarm set time(timestamp format)"; } leaf suppressed-time { type string { length "0..64"; } description "Alarm suppressed time"; } leaf suppressed-timestamp { type uint64; description "Alarm suppressed time(timestamp format)"; } leaf service-affecting { type Alarm-service-affecting; description "Alarm service affecting "; } leaf interface { type string { length "0..128"; } description "Alarm interface name"; } leaf alarm-name { type string { length "0..128"; } description "Alarm name"; } leaf object-mib-index-type { type Alarm-object-mib-index; description "Alarm Object MIB Index Type"; } leaf alarm-type { type uint32; description "Alarm Type"; } leaf object-mib-index { type uint32; description "Alarm Object MIB Index Type"; } leaf trap-flag { type uint32; description "Trap Flag"; } } // list suppressed-info } // container suppressed container active { description "Show the active alarms at this scope."; list alarm-info { description "Alarm List"; container otn { description "OTN feature specific alarm attributes"; leaf direction { type Alarm-direction; description "Alarm direction "; } leaf notification-source { type Alarm-notification-src; description "Source of Alarm"; } } // container otn container tca { description "TCA feature specific alarm attributes"; leaf threshold-value { type string { length "0..20"; } description "Alarm Threshold "; } leaf current-value { type string { length "0..20"; } description "Alarm Threshold"; } leaf bucket-type { type Timing-bucket; description "Timing Bucket"; } } // container tca leaf description { type string { length "0..256"; } description "Alarm description"; } leaf location { type string { length "0..128"; } description "Alarm location"; } leaf aid { type string { length "0..128"; } description "Alarm aid"; } leaf tag { type string { length "0..128"; } description "Alarm tag description"; } leaf module { type string { length "0..128"; } description "Alarm module description"; } leaf eid { type string { length "0..128"; } description "Alarm eid"; } leaf reporting-agent-id { type uint32; description "Reporting agent id"; } leaf pending-sync { type boolean; description "Pending async flag"; } leaf severity { type Alarm-severity; description "Alarm severity"; } leaf status { type Alarm-status; description "Alarm status"; } leaf group { type Alarm-groups; description "Alarm group"; } leaf set-time { type string { length "0..64"; } description "Alarm set time"; } leaf set-timestamp { type uint64; description "Alarm set time(timestamp format)"; } leaf clear-time { type string { length "0..64"; } description "Alarm clear time"; } leaf clear-timestamp { type uint64; description "Alarm clear time(timestamp format)"; } leaf service-affecting { type Alarm-service-affecting; description "Alarm service affecting"; } leaf type { type Alarm-event; description "alarm event type"; } leaf interface { type string { length "0..128"; } description "Alarm interface name"; } leaf alarm-name { type string { length "0..128"; } description "Alarm name"; } leaf object-mib-index-type { type Alarm-object-mib-index; description "Alarm Object MIB Index Type"; } leaf alarm-type { type uint32; description "Alarm Type"; } leaf object-mib-index { type uint32; description "Alarm Object MIB Index Type"; } leaf trap-flag { type uint32; description "Trap Flag"; } } // list alarm-info } // container active leaf node-id { type xr:Node-id; description "NodeID of the Location"; } } // list detail-location } // container detail-locations } // container detail-card container detail-rack { description "Show detail rack scope alarm related data."; container detail-numbers { description "Table of DetailNumber"; list detail-number { key "rack-num"; description "Specify a rack number for alarms."; container history { description "Show the history alarms at this scope."; list alarm-info { description "Alarm List"; container otn { description "OTN feature specific alarm attributes"; leaf direction { type Alarm-direction; description "Alarm direction "; } leaf notification-source { type Alarm-notification-src; description "Source of Alarm"; } } // container otn container tca { description "TCA feature specific alarm attributes"; leaf threshold-value { type string { length "0..20"; } description "Alarm Threshold "; } leaf current-value { type string { length "0..20"; } description "Alarm Threshold"; } leaf bucket-type { type Timing-bucket; description "Timing Bucket"; } } // container tca leaf description { type string { length "0..256"; } description "Alarm description"; } leaf location { type string { length "0..128"; } description "Alarm location"; } leaf aid { type string { length "0..128"; } description "Alarm aid"; } leaf tag { type string { length "0..128"; } description "Alarm tag description"; } leaf module { type string { length "0..128"; } description "Alarm module description"; } leaf eid { type string { length "0..128"; } description "Alarm eid"; } leaf reporting-agent-id { type uint32; description "Reporting agent id"; } leaf pending-sync { type boolean; description "Pending async flag"; } leaf severity { type Alarm-severity; description "Alarm severity"; } leaf status { type Alarm-status; description "Alarm status"; } leaf group { type Alarm-groups; description "Alarm group"; } leaf set-time { type string { length "0..64"; } description "Alarm set time"; } leaf set-timestamp { type uint64; description "Alarm set time(timestamp format)"; } leaf clear-time { type string { length "0..64"; } description "Alarm clear time"; } leaf clear-timestamp { type uint64; description "Alarm clear time(timestamp format)"; } leaf service-affecting { type Alarm-service-affecting; description "Alarm service affecting"; } leaf type { type Alarm-event; description "alarm event type"; } leaf interface { type string { length "0..128"; } description "Alarm interface name"; } leaf alarm-name { type string { length "0..128"; } description "Alarm name"; } leaf object-mib-index-type { type Alarm-object-mib-index; description "Alarm Object MIB Index Type"; } leaf alarm-type { type uint32; description "Alarm Type"; } leaf object-mib-index { type uint32; description "Alarm Object MIB Index Type"; } leaf trap-flag { type uint32; description "Trap Flag"; } } // list alarm-info } // container history container stats { description "Show the service statistics."; leaf reported { type uint64; description "Alarms that were in all reported to this Alarm Mgr"; } leaf dropped { type uint64; description "Alarms that we couldn't keep track due to some error or other"; } leaf active { type uint64; description "Alarms that are currently in the active state"; } leaf history { type uint64; description "Alarms that are cleared. This one is counted over a long period of time"; } leaf suppressed { type uint64; description "Alarms that are in suppressed state"; } leaf sysadmin-active { type uint64; description "Alarms that are currently in the active state(sysadmin plane)"; } leaf sysadmin-history { type uint64; description "Alarms that are cleared in sysadmin plane. This one is counted over a long period of time"; } leaf sysadmin-suppressed { type uint64; description "Alarms that are suppressed in sysadmin plane."; } leaf dropped-invalid-aid { type uint32; description "Alarms dropped due to invalid aid"; } leaf dropped-insuff-mem { type uint32; description "Alarms dropped due to insufficient memory"; } leaf dropped-db-error { type uint32; description "Alarms dropped due to db error"; } leaf dropped-clear-without-set { type uint32; description "Alarms dropped clear without set"; } leaf dropped-duplicate { type uint32; description "Alarms dropped which were duplicate"; } leaf cache-hit { type uint32; description "Total alarms which had the cache hit"; } leaf cache-miss { type uint32; description "Total alarms which had the cache miss"; } } // container stats container clients { description "Show the clients associated with this service."; list client-info { description "Client List"; leaf name { type string { length "0..128"; } description "Alarm client"; } leaf id { type uint32; description "Alarms agent id of the client"; } leaf location { type string { length "0..128"; } description "The location of this client"; } leaf handle { type string { length "0..128"; } description "The client handle through which interface"; } leaf state { type Alarm-client-state; description "The current state of the client"; } leaf type { type Alarm-client; description "The type of the client"; } leaf filter-disp { type boolean; description "The current subscription status of the client"; } leaf subscriber-id { type uint32; description "Alarms agent subscriber id of the client"; } leaf filter-severity { type Alarm-severity; description "The filter used for alarm severity"; } leaf filter-state { type Alarm-status; description "The filter used for alarm bi-state state+"; } leaf filter-group { type Alarm-groups; description "The filter used for alarm group"; } leaf connect-count { type uint32; description "Number of times the agent connected to the alarm mgr"; } leaf connect-timestamp { type string { length "0..64"; } description "Agent connect timestamp"; } leaf get-count { type uint32; description "Number of times the agent queried for alarms"; } leaf subscribe-count { type uint32; description "Number of times the agent subscribed for alarms"; } leaf report-count { type uint32; description "Number of times the agent reported alarms"; } } // list client-info } // container clients container suppressed { description "Show the suppressed alarms at this scope."; list suppressed-info { description "Suppressed Alarm List"; container otn { description "OTN feature specific alarm attributes"; leaf direction { type Alarm-direction; description "Alarm direction "; } leaf notification-source { type Alarm-notification-src; description "Source of Alarm"; } } // container otn leaf description { type string { length "0..256"; } description "Alarm description"; } leaf location { type string { length "0..128"; } description "Alarm location"; } leaf aid { type string { length "0..128"; } description "Alarm aid"; } leaf tag { type string { length "0..128"; } description "Alarm tag description"; } leaf module { type string { length "0..128"; } description "Alarm module description"; } leaf eid { type string { length "0..128"; } description "Alarm eid"; } leaf reporting-agent-id { type uint32; description "Reporting agent id"; } leaf pending-sync { type boolean; description "Pending async flag"; } leaf severity { type Alarm-severity; description "Alarm severity"; } leaf status { type Alarm-status; description "Alarm status"; } leaf group { type Alarm-groups; description "Alarm group"; } leaf set-time { type string { length "0..64"; } description "Alarm set time"; } leaf set-timestamp { type uint64; description "Alarm set time(timestamp format)"; } leaf suppressed-time { type string { length "0..64"; } description "Alarm suppressed time"; } leaf suppressed-timestamp { type uint64; description "Alarm suppressed time(timestamp format)"; } leaf service-affecting { type Alarm-service-affecting; description "Alarm service affecting "; } leaf interface { type string { length "0..128"; } description "Alarm interface name"; } leaf alarm-name { type string { length "0..128"; } description "Alarm name"; } leaf object-mib-index-type { type Alarm-object-mib-index; description "Alarm Object MIB Index Type"; } leaf alarm-type { type uint32; description "Alarm Type"; } leaf object-mib-index { type uint32; description "Alarm Object MIB Index Type"; } leaf trap-flag { type uint32; description "Trap Flag"; } } // list suppressed-info } // container suppressed container active { description "Show the active alarms at this scope."; list alarm-info { description "Alarm List"; container otn { description "OTN feature specific alarm attributes"; leaf direction { type Alarm-direction; description "Alarm direction "; } leaf notification-source { type Alarm-notification-src; description "Source of Alarm"; } } // container otn container tca { description "TCA feature specific alarm attributes"; leaf threshold-value { type string { length "0..20"; } description "Alarm Threshold "; } leaf current-value { type string { length "0..20"; } description "Alarm Threshold"; } leaf bucket-type { type Timing-bucket; description "Timing Bucket"; } } // container tca leaf description { type string { length "0..256"; } description "Alarm description"; } leaf location { type string { length "0..128"; } description "Alarm location"; } leaf aid { type string { length "0..128"; } description "Alarm aid"; } leaf tag { type string { length "0..128"; } description "Alarm tag description"; } leaf module { type string { length "0..128"; } description "Alarm module description"; } leaf eid { type string { length "0..128"; } description "Alarm eid"; } leaf reporting-agent-id { type uint32; description "Reporting agent id"; } leaf pending-sync { type boolean; description "Pending async flag"; } leaf severity { type Alarm-severity; description "Alarm severity"; } leaf status { type Alarm-status; description "Alarm status"; } leaf group { type Alarm-groups; description "Alarm group"; } leaf set-time { type string { length "0..64"; } description "Alarm set time"; } leaf set-timestamp { type uint64; description "Alarm set time(timestamp format)"; } leaf clear-time { type string { length "0..64"; } description "Alarm clear time"; } leaf clear-timestamp { type uint64; description "Alarm clear time(timestamp format)"; } leaf service-affecting { type Alarm-service-affecting; description "Alarm service affecting"; } leaf type { type Alarm-event; description "alarm event type"; } leaf interface { type string { length "0..128"; } description "Alarm interface name"; } leaf alarm-name { type string { length "0..128"; } description "Alarm name"; } leaf object-mib-index-type { type Alarm-object-mib-index; description "Alarm Object MIB Index Type"; } leaf alarm-type { type uint32; description "Alarm Type"; } leaf object-mib-index { type uint32; description "Alarm Object MIB Index Type"; } leaf trap-flag { type uint32; description "Trap Flag"; } } // list alarm-info } // container active leaf rack-num { type xr:Cisco-ios-xr-string; description "Rack Number"; } } // list detail-number } // container detail-numbers } // container detail-rack } // container detail container brief { description "A set of brief alarm commands."; container alarm-id { description "Show brief system scope alarm related data."; container active-alarms { description "Table of ActiveAlarm"; list active-alarm { key "aid"; description "Show the active alarms at this scope."; leaf aid { type string; description "Alarm ID"; } container alarm { description "Alarm Brief"; leaf location { type string { length "0..128"; } description "Alarm location"; } leaf severity { type Alarm-severity; description "Alarm severity"; } leaf group { type Alarm-groups; description "Alarm group"; } leaf set-time { type string { length "0..64"; } description "Alarm set time"; } leaf set-timestamp { type uint64; description "Alarm set time(timestamp format)"; } leaf clear-time { type string { length "0..64"; } description "Alarm clear time"; } leaf clear-timestamp { type uint64; description "Alarm clear time(timestamp format)"; } leaf description { type string { length "0..256"; } description "Alarm description"; } } // container alarm } // list active-alarm } // container active-alarms } // container alarm-id container brief-rack { description "Show brief rack scope alarm related data."; container brief-numbers { description "Table of BriefNumber"; list brief-number { key "rack-num"; description "Specify a rack number for alarms."; container history { description "Show the history alarms at this scope."; list alarm-info { description "Alarm List"; leaf location { type string { length "0..128"; } description "Alarm location"; } leaf severity { type Alarm-severity; description "Alarm severity"; } leaf group { type Alarm-groups; description "Alarm group"; } leaf set-time { type string { length "0..64"; } description "Alarm set time"; } leaf set-timestamp { type uint64; description "Alarm set time(timestamp format)"; } leaf clear-time { type string { length "0..64"; } description "Alarm clear time"; } leaf clear-timestamp { type uint64; description "Alarm clear time(timestamp format)"; } leaf description { type string { length "0..256"; } description "Alarm description"; } } // list alarm-info } // container history container suppressed { description "Show the suppressed alarms at this scope."; list suppressed-info { description "Suppressed Alarm List"; leaf location { type string { length "0..128"; } description "Alarm location"; } leaf severity { type Alarm-severity; description "Alarm severity"; } leaf group { type Alarm-groups; description "Alarm group"; } leaf set-time { type string { length "0..64"; } description "Alarm set time"; } leaf set-timestamp { type uint64; description "Alarm set time(timestamp format)"; } leaf suppressed-time { type string { length "0..64"; } description "Alarm suppressed time"; } leaf suppressed-timestamp { type uint64; description "Alarm suppressed time(timestamp format)"; } leaf description { type string { length "0..256"; } description "Alarm description"; } } // list suppressed-info } // container suppressed container active { description "Show the active alarms at this scope."; list alarm-info { description "Alarm List"; leaf location { type string { length "0..128"; } description "Alarm location"; } leaf severity { type Alarm-severity; description "Alarm severity"; } leaf group { type Alarm-groups; description "Alarm group"; } leaf set-time { type string { length "0..64"; } description "Alarm set time"; } leaf set-timestamp { type uint64; description "Alarm set time(timestamp format)"; } leaf clear-time { type string { length "0..64"; } description "Alarm clear time"; } leaf clear-timestamp { type uint64; description "Alarm clear time(timestamp format)"; } leaf description { type string { length "0..256"; } description "Alarm description"; } } // list alarm-info } // container active leaf rack-num { type xr:Cisco-ios-xr-string; description "Rack Number"; } } // list brief-number } // container brief-numbers } // container brief-rack container brief-system { description "Show brief system scope alarm related data."; container history { description "Show the history alarms at this scope."; list alarm-info { description "Alarm List"; leaf location { type string { length "0..128"; } description "Alarm location"; } leaf severity { type Alarm-severity; description "Alarm severity"; } leaf group { type Alarm-groups; description "Alarm group"; } leaf set-time { type string { length "0..64"; } description "Alarm set time"; } leaf set-timestamp { type uint64; description "Alarm set time(timestamp format)"; } leaf clear-time { type string { length "0..64"; } description "Alarm clear time"; } leaf clear-timestamp { type uint64; description "Alarm clear time(timestamp format)"; } leaf description { type string { length "0..256"; } description "Alarm description"; } } // list alarm-info } // container history container conditions { description "Show the conditions present at this scope."; list alarm-info { description "Alarm List"; leaf location { type string { length "0..128"; } description "Alarm location"; } leaf severity { type Alarm-severity; description "Alarm severity"; } leaf group { type Alarm-groups; description "Alarm group"; } leaf set-time { type string { length "0..64"; } description "Alarm set time"; } leaf set-timestamp { type uint64; description "Alarm set time(timestamp format)"; } leaf clear-time { type string { length "0..64"; } description "Alarm clear time"; } leaf clear-timestamp { type uint64; description "Alarm clear time(timestamp format)"; } leaf description { type string { length "0..256"; } description "Alarm description"; } } // list alarm-info } // container conditions container suppressed { description "Show the suppressed alarms at this scope."; list suppressed-info { description "Suppressed Alarm List"; leaf location { type string { length "0..128"; } description "Alarm location"; } leaf severity { type Alarm-severity; description "Alarm severity"; } leaf group { type Alarm-groups; description "Alarm group"; } leaf set-time { type string { length "0..64"; } description "Alarm set time"; } leaf set-timestamp { type uint64; description "Alarm set time(timestamp format)"; } leaf suppressed-time { type string { length "0..64"; } description "Alarm suppressed time"; } leaf suppressed-timestamp { type uint64; description "Alarm suppressed time(timestamp format)"; } leaf description { type string { length "0..256"; } description "Alarm description"; } } // list suppressed-info } // container suppressed container active { description "Show the active alarms at this scope."; list alarm-info { description "Alarm List"; leaf location { type string { length "0..128"; } description "Alarm location"; } leaf severity { type Alarm-severity; description "Alarm severity"; } leaf group { type Alarm-groups; description "Alarm group"; } leaf set-time { type string { length "0..64"; } description "Alarm set time"; } leaf set-timestamp { type uint64; description "Alarm set time(timestamp format)"; } leaf clear-time { type string { length "0..64"; } description "Alarm clear time"; } leaf clear-timestamp { type uint64; description "Alarm clear time(timestamp format)"; } leaf description { type string { length "0..256"; } description "Alarm description"; } } // list alarm-info } // container active } // container brief-system container brief-card { description "Show brief card scope alarm related data."; container brief-locations { description "Table of BriefLocation"; list brief-location { key "node-id"; description "Specify a card location for alarms."; container history { description "Show the history alarms at this scope."; list alarm-info { description "Alarm List"; leaf location { type string { length "0..128"; } description "Alarm location"; } leaf severity { type Alarm-severity; description "Alarm severity"; } leaf group { type Alarm-groups; description "Alarm group"; } leaf set-time { type string { length "0..64"; } description "Alarm set time"; } leaf set-timestamp { type uint64; description "Alarm set time(timestamp format)"; } leaf clear-time { type string { length "0..64"; } description "Alarm clear time"; } leaf clear-timestamp { type uint64; description "Alarm clear time(timestamp format)"; } leaf description { type string { length "0..256"; } description "Alarm description"; } } // list alarm-info } // container history container conditions { description "Show the conditions present at this scope."; list alarm-info { description "Alarm List"; leaf location { type string { length "0..128"; } description "Alarm location"; } leaf severity { type Alarm-severity; description "Alarm severity"; } leaf group { type Alarm-groups; description "Alarm group"; } leaf set-time { type string { length "0..64"; } description "Alarm set time"; } leaf set-timestamp { type uint64; description "Alarm set time(timestamp format)"; } leaf clear-time { type string { length "0..64"; } description "Alarm clear time"; } leaf clear-timestamp { type uint64; description "Alarm clear time(timestamp format)"; } leaf description { type string { length "0..256"; } description "Alarm description"; } } // list alarm-info } // container conditions container suppressed { description "Show the suppressed alarms at this scope."; list suppressed-info { description "Suppressed Alarm List"; leaf location { type string { length "0..128"; } description "Alarm location"; } leaf severity { type Alarm-severity; description "Alarm severity"; } leaf group { type Alarm-groups; description "Alarm group"; } leaf set-time { type string { length "0..64"; } description "Alarm set time"; } leaf set-timestamp { type uint64; description "Alarm set time(timestamp format)"; } leaf suppressed-time { type string { length "0..64"; } description "Alarm suppressed time"; } leaf suppressed-timestamp { type uint64; description "Alarm suppressed time(timestamp format)"; } leaf description { type string { length "0..256"; } description "Alarm description"; } } // list suppressed-info } // container suppressed container active { description "Show the active alarms at this scope."; list alarm-info { description "Alarm List"; leaf location { type string { length "0..128"; } description "Alarm location"; } leaf severity { type Alarm-severity; description "Alarm severity"; } leaf group { type Alarm-groups; description "Alarm group"; } leaf set-time { type string { length "0..64"; } description "Alarm set time"; } leaf set-timestamp { type uint64; description "Alarm set time(timestamp format)"; } leaf clear-time { type string { length "0..64"; } description "Alarm clear time"; } leaf clear-timestamp { type uint64; description "Alarm clear time(timestamp format)"; } leaf description { type string { length "0..256"; } description "Alarm description"; } } // list alarm-info } // container active leaf node-id { type xr:Node-id; description "NodeID of the Location"; } } // list brief-location } // container brief-locations } // container brief-card } // container brief } // container alarms } // module Cisco-IOS-XR-alarmgr-server-oper
© 2023 YumaWorks, Inc. All rights reserved.