This module contains a collection of YANG definitions for Cisco IOS-XR action package configuration. Copyright (c) 2017-2019 by...
Version: 2019-10-01
module Cisco-IOS-XR-snmp-test-trap-act { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-test-trap-act"; prefix snmp-test-trap-act; import cisco-semver { prefix semver; } import ietf-inet-types { prefix inet; } 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 action package configuration. Copyright (c) 2017-2019 by Cisco Systems, Inc. All rights reserved."; revision "2019-10-01" { description "Made changes to be RFC6087 compliant"; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2017-05-01" { description "Fixing backward compatibility error in module."; } revision "2016-10-25" { description "IOS XR 6.2.1 revision."; } semver:module-version "1.0.1"; semver:module-version "1.0.0"; rpc snmp-cold-start { description "Generate SNMPv2-MIB::coldStart"; } // rpc snmp-cold-start rpc snmp-warm-start { description "Generate SNMPv2-MIB::warmStart"; } // rpc snmp-warm-start rpc interface-link-up { description "Generate IF-MIB::linkUp"; input { leaf ifindex { type uint32 { range "1..2147483647"; } description "interface index for which to generate LinkUp trap"; } } } // rpc interface-link-up rpc interface-link-down { description "Generate IF-MIB::linkDown"; input { leaf ifindex { type uint32 { range "1..2147483647"; } description "interface index for which to generate LinkDown trap"; } } } // rpc interface-link-down rpc sonet-section-status { description "Generate CISCO-SONET-MIB::ciscoSonetSectionStatusChange"; input { leaf ifindex { type uint32 { range "1..2147483647"; } description "interface index for which to generate ciscoSonetSectionStatusChange trap"; } } } // rpc sonet-section-status rpc sonet-line-status { description "Generate CISCO-SONET-MIB::ciscoSonetLineStatusChange"; input { leaf ifindex { type uint32 { range "1..2147483647"; } description "interface index for which to generate ciscoSonetLineStatusChange trap"; } } } // rpc sonet-line-status rpc sonet-path-status { description "Generate CISCO-SONET-MIB::ciscoSonetPathStatusChange"; input { leaf ifindex { type uint32 { range "1..2147483647"; } description "interface index for which to generate ciscoSonetPathStatusChange trap"; } } } // rpc sonet-path-status rpc infra-syslog-message-generated { description "Generate CISCO-SYSLOG-MIB::clogMessageGenerated"; } // rpc infra-syslog-message-generated rpc infra-flash-device-inserted { description "Generate CISCO-FLASH-MIB::ciscoFlashDeviceInsertedNotif"; } // rpc infra-flash-device-inserted rpc infra-flash-device-removed { description "Generate CISCO-FLASH-MIB::ciscoFlashDeviceRemovedNotif"; } // rpc infra-flash-device-removed rpc infra-redundancy-progression { description "Generate CISCO-RF-MIB::ciscoRFProgressionNotif"; } // rpc infra-redundancy-progression rpc infra-redundancy-switch { description "Generate CISCO-RF-MIB::ciscoRFSwactNotif"; } // rpc infra-redundancy-switch rpc infra-bridge-new-root { description "Generate BRIDGE-MIB::newRoot"; } // rpc infra-bridge-new-root rpc infra-bridge-topology-change { description "Generate BRIDGE-MIB::topologyChange"; } // rpc infra-bridge-topology-change rpc infra-config-event { description "Generate CISCO-CONFIG-MAN-MIB::ciscoConfigManEvent"; } // rpc infra-config-event rpc entity-sensor-threshold-notification { description "Generate CISCO-ENTITY-SENSOR-MIB::entSensorThresholdNotification"; input { leaf entindex { type uint32 { range "1..2147483647"; } description "entity Physical Index for which to generate trap"; } } } // rpc entity-sensor-threshold-notification rpc entity-fru-power-status-change-failed { description "oper status changed to failed"; input { leaf entindex { type uint32 { range "1..2147483647"; } description "entity Physical Index for which to generate trap"; } } } // rpc entity-fru-power-status-change-failed rpc entity-fru-module-status-change-up { description "fu trap module status changed as ok"; input { leaf entindex { type uint32 { range "1..2147483647"; } description "entity Physical Index for which to generate trap"; } } } // rpc entity-fru-module-status-change-up rpc entity-fru-module-status-change-down { description "fu trap module status changed as failed"; input { leaf entindex { type uint32 { range "1..2147483647"; } description "entity Physical Index for which to generate trap"; } } } // rpc entity-fru-module-status-change-down rpc entity-fru-fan-tray-oper-status-up { description "Generate CISCO-ENTITY-FRU-CONTROL-MIB::cefcFanTrayStatusChange"; input { leaf entindex { type uint32 { range "1..2147483647"; } description "entity Physical Index for which to generate trap"; } } } // rpc entity-fru-fan-tray-oper-status-up rpc entity-fru-fan-tray-inserted { description "Generate CISCO-ENTITY-FRU-CONTROL-MIB::cefcFRUInserted"; input { leaf entindex { type uint32 { range "1..2147483647"; } description "entity Physical Index for which to generate trap"; } } } // rpc entity-fru-fan-tray-inserted rpc entity-fru-fan-tray-removed { description "Generate CISCO-ENTITY-FRU-CONTROL-MIB::cefcFRURemoved"; input { leaf entindex { type uint32 { range "1..2147483647"; } description "entity Physical Index for which to generate trap"; } } } // rpc entity-fru-fan-tray-removed rpc platform-hfr-bundle-downed-link { description "Generate CISCO-FABRIC-HFR-MIB::cfhBundleDownedLinkNotification"; input { leaf bundle-name { type string; description "bundle name for which to generate the trap"; } } } // rpc platform-hfr-bundle-downed-link rpc platform-hfr-bundle-state { description "Generate CISCO-FABRIC-HFR-MIB::cfhBundleStateNotification"; input { leaf bundle-name { type string; description "bundle name for which to generate the trap"; } } } // rpc platform-hfr-bundle-state rpc platform-hfr-plane-state { description "Generate CISCO-FABRIC-HFR-MIB::cfhPlaneStateNotification"; input { leaf plane-id { type uint32; description "plane identifier for which to generate the trap"; } } } // rpc platform-hfr-plane-state rpc routing-bgp-established { description "Generate BGP4-MIB::bglEstablishedNotification"; } // rpc routing-bgp-established rpc routing-bgp-established-remote-peer { description "Generate BGP4-MIB::bglEstablishedNotification remote peer"; input { leaf address { type inet:ipv4-address-no-zone; mandatory true; description "BGP remote peer IP address for which to generate the trap"; } } } // rpc routing-bgp-established-remote-peer rpc routing-bgp-state-change { description "Generate CISCO-BGP-MIB::cbgpBackwardTransition"; } // rpc routing-bgp-state-change rpc routing-bgp-state-change-remote-peer { description "Generate CISCO-BGP-MIB::cbgpBackwardTransition remote peer"; input { leaf address { type inet:ipv4-address-no-zone; mandatory true; description "BGP remote peer IP address for which to generate the trap"; } } } // rpc routing-bgp-state-change-remote-peer rpc routing-ospf-neighbor-state-change { description "Generate OSPF-TRAP-MIB::ospfNbrStateChange"; } // rpc routing-ospf-neighbor-state-change rpc routing-ospf-neighbor-state-change-address { description "Generate OSPF-TRAP-MIB::ospfNbrStateChange address"; input { leaf address { type inet:ipv4-address-no-zone; mandatory true; description "neighbor's IP source address for which to generate the trap"; } leaf ifindex { type uint32 { range "0..2147483647"; } mandatory true; description "0 for interfaces having IP addresses or IF-MIB ifindex of addressless interface"; } } } // rpc routing-ospf-neighbor-state-change-address rpc routing-mpls-ldp-session-down { description "Generate MPLS-LDP-STD-MIB::mplsLdpSessionDown"; } // rpc routing-mpls-ldp-session-down rpc routing-mpls-ldp-session-down-entity-id { description "Generate MPLS-LDP-STD-MIB::mplsLdpSessionDown entity-id"; input { leaf entity-id { type string { length "23"; } mandatory true; description "entity ldp-id in x.x.x.x.y.y format where x.x.x.x is the entity IP address and y.y is the label space"; } leaf entity-index { type uint32 { range "1..4294967295"; } mandatory true; description "entity index for which to generate the trap"; } leaf peer-id { type string { length "23"; } mandatory true; description "peer ldp-id in x.x.x.x.y.y format where x.x.x.x is the entity IP address and y.y is the label space"; } } } // rpc routing-mpls-ldp-session-down-entity-id rpc routing-mpls-tunnel-re-routed { description "Generate MPLS-TE-STD-MIB::mplsTunnelRerouted"; } // rpc routing-mpls-tunnel-re-routed rpc routing-mpls-tunnel-re-routed-index { description "Generate MPLS-TE-STD-MIB::mplsTunnelRerouted index"; input { leaf index { type uint32 { range "0..65535"; } mandatory true; description "tunnel index for which to generate the trap"; } leaf instance { type uint32 { range "0..65535"; } mandatory true; description "tunnel instance for which to generate the trap"; } leaf source { type inet:ipv4-address-no-zone; mandatory true; description "source address for which to generate the trap"; } leaf destination { type inet:ipv4-address-no-zone; mandatory true; description "destination address for which to generate the trap"; } } } // rpc routing-mpls-tunnel-re-routed-index rpc routing-mpls-tunnel-re-optimized { description "Generate MPLS-TE-STD-MIB::mplsTunnelReoptimized"; } // rpc routing-mpls-tunnel-re-optimized rpc routing-mpls-tunnel-re-optimized-index { description "Generate MPLS-TE-STD-MIB::mplsTunnelReoptimized index"; input { leaf index { type uint32 { range "0..65535"; } mandatory true; description "tunnel index for which to generate the trap"; } leaf instance { type uint32 { range "0..65535"; } mandatory true; description "tunnel instance for which to generate the trap"; } leaf source { type inet:ipv4-address-no-zone; mandatory true; description "source address for which to generate the trap"; } leaf destination { type inet:ipv4-address-no-zone; mandatory true; description "destination address for which to generate the trap"; } } } // rpc routing-mpls-tunnel-re-optimized-index rpc routing-mpls-tunnel-down { description "Generate MPLS-TE-STD-MIB::mplsTunnelDown"; } // rpc routing-mpls-tunnel-down rpc routing-mpls-tunnel-down-index { description "Generate MPLS-TE-STD-MIB::mplsTunnelDown index"; input { leaf index { type uint32 { range "0..65535"; } mandatory true; description "tunnel index for which to generate the trap"; } leaf instance { type uint32 { range "0..65535"; } mandatory true; description "tunnel instance for which to generate the trap"; } leaf source { type inet:ipv4-address-no-zone; mandatory true; description "src address"; } leaf destination { type inet:ipv4-address-no-zone; mandatory true; description "destination address for which to generate the trap"; } } } // rpc routing-mpls-tunnel-down-index rpc all { description "generate all the supported traps"; } // rpc all } // module Cisco-IOS-XR-snmp-test-trap-act
© 2023 YumaWorks, Inc. All rights reserved.