This submodule contains a collection of YANG definitions for Cisco IOS-XR snmp-agent package operational data. Copyright (c) 20...
Version: 2020-09-15
submodule Cisco-IOS-XR-snmp-agent-oper-sub2 { yang-version 1; belongs-to Cisco-IOS-XR-snmp-agent-oper { prefix Cisco-IOS-XR-snmp-agent-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 snmp-agent package operational data. Copyright (c) 2013-2020 by Cisco Systems, Inc. All rights reserved."; revision "2020-09-15" { description "Updated oper path for show snmp traps details"; } revision "2020-03-31" { description "Fixing backward compatibility error in module."; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2018-07-20" { description "Fixed English plural name transformation error."; } revision "2017-09-07" { description "Fixed type translation error."; } revision "2017-05-01" { description "Fixing backward compatibility error in module."; } revision "2016-06-01" { description "IOS XR 6.0.1 revision."; } revision "2015-01-07" { description "IOS XR 5.3.1 revision."; } semver:module-version "2.0.0"; semver:module-version "1.1.0"; semver:module-version "1.0.1"; typedef Snmp-corr-vbind-match { type enumeration { enum "index" { value 0; description "Match regexp to varbind index"; } enum "value" { value 1; description "Match regexp to varbind value"; } } description "Snmp corr vbind match"; } typedef Snmp-corr-rule-state { type enumeration { enum "rule-unapplied" { value 0; description "Rule is in Unapplied state"; } enum "rule-applied" { value 1; description "Rule is Applied to specified hosts"; } enum "rule-applied-all" { value 2; description "Rule is Applied to all of router"; } } description "Snmp corr rule state"; } grouping SNMP-CORR-VBIND { description "Varbind"; leaf oid { type string; description "OID of the varbind"; } leaf value { type string; description "Value of the varbind"; } } // grouping SNMP-CORR-VBIND grouping SNMP-CORR-TRAP-BAG { description "Trap Information"; leaf oid { type string; description "Object ID"; } leaf relative-timestamp { type uint32; units "second"; description "Number of hsecs elapsed since snmpd was started"; } leaf timestamp { type uint64; units "millisecond"; description "Time when the trap was generated. It is expressed in number of milliseconds since 00:00 :00 UTC, January 1, 1970"; } list var-bind { description "VarBinds on the trap"; uses SNMP-CORR-VBIND; } // list var-bind } // grouping SNMP-CORR-TRAP-BAG grouping SNMP-CORR-TRAP-BUFFER-BAG { description "Trap Buffer Record"; container trap-info { description "Correlated trap information"; uses SNMP-CORR-TRAP-BAG; } // container trap-info leaf correlation-id { type uint32; description "Correlation ID"; } leaf is-root-cause { type boolean; description "True if this is the rootcause"; } leaf rule-name { type string; description "Correlation rule name"; } } // grouping SNMP-CORR-TRAP-BUFFER-BAG grouping SNMP-CORR-RULESET-DETAIL-BAG { description "Correlation Ruleset detail information"; leaf rule-set-name-xr { type string; description "Ruleset Name"; } list rules { description "Rules contained in a ruleset"; uses SNMP-CORR-RULE-SUMMARY-BAG; } // list rules } // grouping SNMP-CORR-RULESET-DETAIL-BAG grouping SNMP-CORR-BUFFER-INFO-BAG { description "Correlator buffer usage information"; leaf current-size { type uint32; description "Current buffer usage"; } leaf configured-size { type uint32; description "Configured buffer size"; } } // grouping SNMP-CORR-BUFFER-INFO-BAG grouping SNMP-CORR-HOST { description "Host Definition"; leaf ip-address { type string; description "IP address of the host"; } leaf port { type uint16; description "Port of the host"; } } // grouping SNMP-CORR-HOST grouping SNMP-CORR-VBIND-MATCH { description "Varbind Match Parameters"; leaf oid { type string; description "OID of the varbind"; } leaf match-type { type Snmp-corr-vbind-match; description "Varbind match type"; } leaf reg-exp { type string; description "Regular expression to match"; } } // grouping SNMP-CORR-VBIND-MATCH grouping SNMP-CORR-TRAP-MATCH { description "Trap Match Definition"; leaf oid { type string; description "OID of the trap"; } list var-bind { description "VarBinds of the trap"; uses SNMP-CORR-VBIND-MATCH; } // list var-bind } // grouping SNMP-CORR-TRAP-MATCH grouping SNMP-CORR-RULE-SUMMARY-BAG { description "Correlation Rule summary information"; leaf rule-name { type string; description "Correlation Rule Name"; } leaf rule-state { type Snmp-corr-rule-state; description "Applied state of the rule It could be not applied, applied or applied to all"; } leaf buffered-traps-count { type uint32; description "Number of buffered traps correlated to this rule"; } } // grouping SNMP-CORR-RULE-SUMMARY-BAG grouping SNMP-CORR-RULE-DETAIL-BAG { description "Correlation Rule detail information"; container rule-summary { description "Rule summary, name, etc"; uses SNMP-CORR-RULE-SUMMARY-BAG; } // container rule-summary container root-cause { description "OID/VarBinds defining the rootcause match conditions."; uses SNMP-CORR-TRAP-MATCH; } // container root-cause leaf timeout { type uint32; description "Time window (in ms) for which root/all messages are kept in correlater before sending them to hosts"; } list non-root-cause { description "OIDs/VarBinds defining the nonrootcause match conditions."; uses SNMP-CORR-TRAP-MATCH; } // list non-root-cause list apply-host { description "Hosts (IP/port) to which the rule is applied"; uses SNMP-CORR-HOST; } // list apply-host } // grouping SNMP-CORR-RULE-DETAIL-BAG } // submodule Cisco-IOS-XR-snmp-agent-oper-sub2
© 2023 YumaWorks, Inc. All rights reserved.