This module contains a collection of YANG definitions for Cisco IOS-XR infra-tc package operational data. This module contains ...
Version: 2019-06-17
module Cisco-IOS-XR-infra-tc-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-tc-oper"; prefix infra-tc-oper; import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } include Cisco-IOS-XR-infra-tc-oper-sub1 { revision-date "2019-06-17"; } 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 infra-tc package operational data. This module contains definitions for the following management objects: traffic-collector: Global Traffic Collector configuration commands Copyright (c) 2013-2019 by Cisco Systems, Inc. All rights reserved."; revision "2019-06-17" { description "Change type of tunnel interface name to string"; } revision "2019-05-30" { description "Fix to extend range of valid OC-AFT Labels"; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2019-01-01" { description "Yang evaluator: updates to schema descriptions."; } revision "2018-11-30" { description "Adding label data and total count stats for OC-AFT."; } revision "2018-10-05" { description "Removed stat collection message statistics. LDP label is provided in prefix info if present."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "1.0.0"; typedef Tc-oper-af-name { type enumeration { enum "ipv4" { value 0; description "IPv4"; } enum "ipv6" { value 1; description "IPv6"; } } description "Tc oper af name"; } typedef Tc-oper-ocaft-label { type uint32 { range "0..1048575"; } description "Tc oper ocaft label"; } typedef Tc-oper-local-label { type uint32 { range "16..1048575"; } description "Tc oper local label"; } container traffic-collector { config false; description "Global Traffic Collector configuration commands"; container summary-oc-aft { description "Traffic Collector summary for oc-aft"; leaf collection-interval { type uint8; units "minute"; description "Statistic collection interval in minutes"; } leaf collection-timer-is-running { type boolean; description "Flag to indicate if collection timer is running"; } leaf total-label-count { type uint32; description "Total count of oc-aft label entries"; } } // container summary-oc-aft container external-interfaces { description "List of interfaces in the traffic collector external interface database"; list external-interface { key "interface-name"; description "Information about a specific external interface"; leaf interface-name { type xr:Interface-name; description "The Interface Name"; } leaf interface-name-xr { type string; description "Interface name in Display format"; } leaf interface-handle { type uint32; description "Interface handle for the external interface"; } leaf vrfid { type uint32; description "Interface VRF ID"; } leaf is-interface-enabled { type boolean; description "Flag to indicate interface enabled or not"; } } // list external-interface } // container external-interfaces container summary { description "Traffic Collector summary"; container database-statistics-external-interface { description "Configured external interface counts"; leaf number-of-entries { type uint32; description "Number of entries in the database"; } leaf number-of-stale-entries { type uint32; description "Number of stale entries in the database"; } leaf number-of-add-operations { type uint64; description "Number of add operations for the database"; } leaf number-of-delete-operations { type uint64; description "Number of delete operations for the database"; } } // container database-statistics-external-interface leaf collection-interval { type uint8; units "minute"; description "Statistic collection interval in minutes"; } leaf collection-timer-is-running { type boolean; description "Flag to indicate if collection timer is running"; } leaf timeout-interval { type uint16; units "hour"; description "Statistic history timeout interval in hours"; } leaf timeout-timer-is-running { type boolean; description "Flag to indicate if history timeout timer is running"; } leaf history-size { type uint8; description "Statistics history size"; } leaf total-prefix-count { type uint32; description "Total count of prefix entries"; } list vrf-statistic { description "VRF table statistics"; container database-statistics-ipv4 { description "Database statistics for IPv4 table"; leaf number-of-entries { type uint32; description "Number of entries in the database"; } leaf number-of-stale-entries { type uint32; description "Number of stale entries in the database"; } leaf number-of-add-operations { type uint64; description "Number of add operations for the database"; } leaf number-of-delete-operations { type uint64; description "Number of delete operations for the database"; } } // container database-statistics-ipv4 container database-statistics-tunnel { description "Database statistics for Tunnel table"; leaf number-of-entries { type uint32; description "Number of entries in the database"; } leaf number-of-stale-entries { type uint32; description "Number of stale entries in the database"; } leaf number-of-add-operations { type uint64; description "Number of add operations for the database"; } leaf number-of-delete-operations { type uint64; description "Number of delete operations for the database"; } } // container database-statistics-tunnel leaf vrf-name { type string; description "VRF name"; } } // list vrf-statistic list checkpoint-message-statistic { description "Statistics per message type for Chkpt"; leaf packet-sent { type uint64; description "Number of packets sent"; } leaf byte-sent { type uint64; units "byte"; description "Number of bytes sent"; } leaf packet-received { type uint64; description "Number of packets received"; } leaf byte-received { type uint64; units "byte"; description "Number of bytes received"; } leaf maximum-roundtrip-latency { type uint32; description "Maximum message roundtrip latency in msec"; } leaf maimum-latency-timestamp { type uint64; description "Timestamp of maximum latency"; } } // list checkpoint-message-statistic } // container summary container vrf-table { description "VRF specific operational data"; container default-vrf { description "DefaultVRF specific operational data"; container afs { description "Address Family specific operational data"; list af { key "af-name"; description "Operational data for given Address Family"; container counters { description "Show Counters"; container labels { description "Label Database"; list label { key "label"; description "Show Label Counter"; leaf label { type Tc-oper-ocaft-label; description "Local Label"; } container base-counter-total { description "Base counter total bytes/packets"; leaf last-collection-time { type uint64; description "Last time the stats were collected"; } leaf transmit-packets-switched { type uint64; description "Total Packets switched"; } leaf transmit-bytes-switched { type uint64; units "byte"; description "Total Bytes switched"; } } // container base-counter-total leaf label-xr { type uint32; description "Label"; } leaf is-active { type boolean; description "Label is Active and collecting new Statistics"; } } // list label } // container labels container prefixes { description "Prefix Database"; list prefix { description "Show Prefix Counter"; leaf ipaddr { type xr:Cisco-ios-xr-string; description "IP Address"; } leaf mask { type xr:Cisco-ios-xr-string; description "Prefix Mask"; } leaf label { type Tc-oper-local-label; description "Local Label"; } container base-counter-statistics { description "Base counter statistics for the prefix"; leaf transmit-packets-per-second-switched { type uint64; units "packet/s"; description "Average Rate of Packets/second switched"; } leaf transmit-bytes-per-second-switched { type uint64; units "byte/s"; description "Average Rate of Bytes/second switched"; } list count-history { description "Counter History"; leaf event-start-timestamp { type uint64; description "Time when the collection interval started"; } leaf event-end-timestamp { type uint64; description "Time when the collection interval ended"; } leaf transmit-number-of-packets-switched { type uint64; description "Number of packets switched in this interval"; } leaf transmit-number-of-bytes-switched { type uint64; units "byte"; description "Number of Bytes switched in this interval"; } leaf is-valid { type boolean; description "Flag to indicate if this history entry is valid"; } } // list count-history } // container base-counter-statistics container traffic-matrix-counter-statistics { description "Traffic Matrix (TM) counter statistics for the prefix"; leaf transmit-packets-per-second-switched { type uint64; units "packet/s"; description "Average Rate of Packets/second switched"; } leaf transmit-bytes-per-second-switched { type uint64; units "byte/s"; description "Average Rate of Bytes/second switched"; } list count-history { description "Counter History"; leaf event-start-timestamp { type uint64; description "Time when the collection interval started"; } leaf event-end-timestamp { type uint64; description "Time when the collection interval ended"; } leaf transmit-number-of-packets-switched { type uint64; description "Number of packets switched in this interval"; } leaf transmit-number-of-bytes-switched { type uint64; units "byte"; description "Number of Bytes switched in this interval"; } leaf is-valid { type boolean; description "Flag to indicate if this history entry is valid"; } } // list count-history } // container traffic-matrix-counter-statistics leaf prefix { type string; description "Prefix Address (V4 or V6 Format)"; } leaf label-xr { type uint32; description "SR Label"; } leaf ldp-label { type uint32; description "LDP Label"; } leaf is-active { type boolean; description "Prefix is Active and collecting new Statistics"; } } // list prefix } // container prefixes container tunnels { description "List of tunnels in the traffic collector tunnel database"; list tunnel { key "interface-name"; description "Information about a specific tunnel"; leaf interface-name { type xr:Cisco-ios-xr-string; description "The Interface Name"; } container base-counter-statistics { description "Base counter statistics for the tunnel"; leaf transmit-packets-per-second-switched { type uint64; units "packet/s"; description "Average Rate of Packets/second switched"; } leaf transmit-bytes-per-second-switched { type uint64; units "byte/s"; description "Average Rate of Bytes/second switched"; } list count-history { description "Counter History"; leaf event-start-timestamp { type uint64; description "Time when the collection interval started"; } leaf event-end-timestamp { type uint64; description "Time when the collection interval ended"; } leaf transmit-number-of-packets-switched { type uint64; description "Number of packets switched in this interval"; } leaf transmit-number-of-bytes-switched { type uint64; units "byte"; description "Number of Bytes switched in this interval"; } leaf is-valid { type boolean; description "Flag to indicate if this history entry is valid"; } } // list count-history } // container base-counter-statistics leaf interface-name-xr { type string; description "Interface name in Display format"; } leaf interface-handle { type uint32; description "Interface handle for the tunnel"; } leaf vrfid { type uint32; description "Interface VRF ID"; } leaf is-active { type boolean; description "Interface is Active and collecting new Statistics"; } } // list tunnel } // container tunnels } // container counters leaf af-name { type Tc-oper-af-name; description "Address Family name"; } } // list af } // container afs } // container default-vrf } // container vrf-table container afs { description "Address Family specific operational data"; list af { key "af-name"; description "Operational data for given Address Family"; container counters { description "Show Counters"; container labels { description "Label Database"; list label { key "label"; description "Show Label Counter"; leaf label { type Tc-oper-ocaft-label; description "Local Label"; } container base-counter-total { description "Base counter total bytes/packets"; leaf last-collection-time { type uint64; description "Last time the stats were collected"; } leaf transmit-packets-switched { type uint64; description "Total Packets switched"; } leaf transmit-bytes-switched { type uint64; units "byte"; description "Total Bytes switched"; } } // container base-counter-total leaf label-xr { type uint32; description "Label"; } leaf is-active { type boolean; description "Label is Active and collecting new Statistics"; } } // list label } // container labels container prefixes { description "Prefix Database"; list prefix { description "Show Prefix Counter"; leaf ipaddr { type xr:Cisco-ios-xr-string; description "IP Address"; } leaf mask { type xr:Cisco-ios-xr-string; description "Prefix Mask"; } leaf label { type Tc-oper-local-label; description "Local Label"; } container base-counter-statistics { description "Base counter statistics for the prefix"; leaf transmit-packets-per-second-switched { type uint64; units "packet/s"; description "Average Rate of Packets/second switched"; } leaf transmit-bytes-per-second-switched { type uint64; units "byte/s"; description "Average Rate of Bytes/second switched"; } list count-history { description "Counter History"; leaf event-start-timestamp { type uint64; description "Time when the collection interval started"; } leaf event-end-timestamp { type uint64; description "Time when the collection interval ended"; } leaf transmit-number-of-packets-switched { type uint64; description "Number of packets switched in this interval"; } leaf transmit-number-of-bytes-switched { type uint64; units "byte"; description "Number of Bytes switched in this interval"; } leaf is-valid { type boolean; description "Flag to indicate if this history entry is valid"; } } // list count-history } // container base-counter-statistics container traffic-matrix-counter-statistics { description "Traffic Matrix (TM) counter statistics for the prefix"; leaf transmit-packets-per-second-switched { type uint64; units "packet/s"; description "Average Rate of Packets/second switched"; } leaf transmit-bytes-per-second-switched { type uint64; units "byte/s"; description "Average Rate of Bytes/second switched"; } list count-history { description "Counter History"; leaf event-start-timestamp { type uint64; description "Time when the collection interval started"; } leaf event-end-timestamp { type uint64; description "Time when the collection interval ended"; } leaf transmit-number-of-packets-switched { type uint64; description "Number of packets switched in this interval"; } leaf transmit-number-of-bytes-switched { type uint64; units "byte"; description "Number of Bytes switched in this interval"; } leaf is-valid { type boolean; description "Flag to indicate if this history entry is valid"; } } // list count-history } // container traffic-matrix-counter-statistics leaf prefix { type string; description "Prefix Address (V4 or V6 Format)"; } leaf label-xr { type uint32; description "SR Label"; } leaf ldp-label { type uint32; description "LDP Label"; } leaf is-active { type boolean; description "Prefix is Active and collecting new Statistics"; } } // list prefix } // container prefixes container tunnels { description "List of tunnels in the traffic collector tunnel database"; list tunnel { key "interface-name"; description "Information about a specific tunnel"; leaf interface-name { type xr:Cisco-ios-xr-string; description "The Interface Name"; } container base-counter-statistics { description "Base counter statistics for the tunnel"; leaf transmit-packets-per-second-switched { type uint64; units "packet/s"; description "Average Rate of Packets/second switched"; } leaf transmit-bytes-per-second-switched { type uint64; units "byte/s"; description "Average Rate of Bytes/second switched"; } list count-history { description "Counter History"; leaf event-start-timestamp { type uint64; description "Time when the collection interval started"; } leaf event-end-timestamp { type uint64; description "Time when the collection interval ended"; } leaf transmit-number-of-packets-switched { type uint64; description "Number of packets switched in this interval"; } leaf transmit-number-of-bytes-switched { type uint64; units "byte"; description "Number of Bytes switched in this interval"; } leaf is-valid { type boolean; description "Flag to indicate if this history entry is valid"; } } // list count-history } // container base-counter-statistics leaf interface-name-xr { type string; description "Interface name in Display format"; } leaf interface-handle { type uint32; description "Interface handle for the tunnel"; } leaf vrfid { type uint32; description "Interface VRF ID"; } leaf is-active { type boolean; description "Interface is Active and collecting new Statistics"; } } // list tunnel } // container tunnels } // container counters leaf af-name { type Tc-oper-af-name; description "Address Family name"; } } // list af } // container afs } // container traffic-collector } // module Cisco-IOS-XR-infra-tc-oper
© 2023 YumaWorks, Inc. All rights reserved.