Cisco-IOS-XR-manageability-object-tracking-oper

This module contains a collection of YANG definitions for Cisco IOS-XR manageability-object-tracking package operational data. ...

  • Version: 2020-06-17

    Cisco-IOS-XR-manageability-object-tracking-oper@2020-06-17


    
      module Cisco-IOS-XR-manageability-object-tracking-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-manageability-object-tracking-oper";
    
        prefix
          manageability-object-tracking-oper;
    
        import cisco-semver {
          prefix semver;
        }
        import Cisco-IOS-XR-manageability-object-tracking-datatypes {
          prefix dt1;
        }
    
        include Cisco-IOS-XR-manageability-object-tracking-oper-sub1 {
          revision-date "2020-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 manageability-object-tracking package operational data.
         
         This module contains definitions
         for the following management objects:
           object-tracking: Object Tracking operational data
         
         Copyright (c) 2013-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-06-17" {
          description
            "Added support to display delay up/down values in show track.";
        }
    
        revision "2019-10-07" {
          description
            "Added support for track type bgp nbr af.";
        }
    
        revision "2019-09-07" {
          description
            "Removed IPv4 Route type nodes and added generic node for both IPv4 and IPv6.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "2.2.0";
        semver:module-version "2.1.0";
        semver:module-version "2.0.0";
        semver:module-version "1.0.0";
    
        container object-tracking {
          config false;
          description
            "Object Tracking operational data";
          container track-type-interface {
            description
              "Object Tracking Type interface info";
            list track-info {
              description "track info";
              container track-type-info {
                description
                  "Track type information";
                container interface-tracks {
                  when
                    "../discriminant = 'interface-type'" {
                    description
                      "../discriminant = 'InterfaceType'";
                  }
                  description
                    "track type interface info";
                  leaf interface-name {
                    type string {
                      length "0..120";
                    }
                    description "Interface Name";
                  }
                }  // container interface-tracks
    
                container route-tracks {
                  when
                    "../discriminant = 'route-type'" {
                    description
                      "../discriminant = 'RouteType'";
                  }
                  description
                    "track type route info";
                  leaf prefix {
                    type string {
                      length "0..46";
                    }
                    description
                      "IPv4 or IPv6 Prefix";
                  }
    
                  leaf prefix-length {
                    type uint32;
                    description "Prefix Length";
                  }
    
                  leaf vrf {
                    type string {
                      length "0..120";
                    }
                    description "VRF Name";
                  }
    
                  leaf next-hop {
                    type string {
                      length "0..120";
                    }
                    description "Next Hop";
                  }
                }  // container route-tracks
    
                container bgp-nbr-af-tracks {
                  when
                    "../discriminant = 'bgp-nbr-af-type'" {
                    description
                      "../discriminant = 'BgpNbrAfType'";
                  }
                  description
                    "track type bgp nbr af info";
                  leaf is-neighbor-ipv4 {
                    type boolean;
                    description
                      "Is BGP neighbor addr IPv4";
                  }
    
                  leaf ipv4-address {
                    type inet:ipv4-address;
                    description "IPv4 address";
                  }
    
                  leaf ipv6-address {
                    type inet:ipv6-address;
                    description "IPv6 address";
                  }
    
                  leaf afi {
                    type uint16;
                    description "AFI";
                  }
    
                  leaf safi {
                    type uint8;
                    description "SAFI";
                  }
    
                  leaf neighbor-object-state {
                    type uint32;
                    description
                      "BGP neighborship state";
                  }
    
                  leaf disable-fib-check {
                    type boolean;
                    description
                      "Disable Neighbor's route reachablity state";
                  }
    
                  leaf neighbor-route-reach-state {
                    type boolean;
                    description
                      "BGP Neighbor's route reachablity state";
                  }
    
                  leaf vrf {
                    type string {
                      length "0..120";
                    }
                    description "VRF Name";
                  }
    
                  leaf ins {
                    type string {
                      length "0..120";
                    }
                    description "VRF Name";
                  }
                }  // container bgp-nbr-af-tracks
    
                container ipsla-tracks {
                  when
                    "../discriminant = 'ipsla-type'" {
                    description
                      "../discriminant = 'IpslaType'";
                  }
                  description
                    "track type rtr info";
                  leaf ipsla-op-id {
                    type uint32;
                    description "Op Id";
                  }
    
                  leaf rtt {
                    type uint32;
                    description "Latest RTT";
                  }
    
                  leaf return-code {
                    type uint32;
                    description
                      "Latest Return Code";
                  }
    
                  leaf return-code-string {
                    type string {
                      length "0..120";
                    }
                    description
                      "Latest Ret Code String";
                  }
                }  // container ipsla-tracks
    
                container bfd-tracks {
                  when
                    "../discriminant = 'bfd-type'" {
                    description
                      "../discriminant = 'BfdType'";
                  }
                  description
                    "track type bfdrtr info";
                  leaf interface-name {
                    type string {
                      length "0..120";
                    }
                    description "Interface Name";
                  }
    
                  leaf destination-address {
                    type uint32;
                    description
                      "Destination Address";
                  }
    
                  leaf rate {
                    type uint32;
                    description "Rate";
                  }
    
                  leaf debounce-count {
                    type uint32;
                    description "Debounce Count";
                  }
                }  // container bfd-tracks
    
                leaf discriminant {
                  type Track;
                  description "discriminant";
                }
              }  // container track-type-info
    
              container bool-tracks {
                description "boolean objects";
                list bool-track-info {
                  description "bool track info";
                  leaf object-name {
                    type string {
                      length "0..33";
                    }
                    description "Object Name";
                  }
    
                  leaf track-state {
                    type boolean;
                    description "Track state";
                  }
    
                  leaf with-not {
                    type boolean;
                    description
                      "Track object with Not";
                  }
                }  // list bool-track-info
              }  // container bool-tracks
    
              container threshold-tracks {
                description "Threshold objects";
                list threshold-track-info {
                  description
                    "threshold track info";
                  leaf object-name {
                    type string {
                      length "0..33";
                    }
                    description "Object name";
                  }
    
                  leaf track-state {
                    type boolean;
                    description
                      "Track state. True means track is up; False
    means track is down.";
                  }
    
                  leaf weight {
                    type uint32;
                    units "percentage";
                    description
                      "Weight is the number assigned to a track object
    . In case of a type threshold weight( i.e.
    weighted sum list), weight is asigned by User
    at the time of configuration. In case of a type
    threshold percentage (i.e. percentage based
    list), weight is internally computed by
    (1/N)x100, where N is the number of objects in
    the list.";
                  }
                }  // list threshold-track-info
              }  // container threshold-tracks
    
              container tracking-interaces {
                description
                  "Tracking Interfaces";
                list interface-tracking-info {
                  description
                    "interface tracking info";
                  leaf interface-name {
                    type string {
                      length "0..120";
                    }
                    description "Interface Name";
                  }
                }  // list interface-tracking-info
              }  // container tracking-interaces
    
              container delayed {
                description
                  "Is the state change delay counter in progress";
                leaf time-remaining {
                  type uint32;
                  units "second";
                  description
                    "The time remaining in seconds for the counter to
    trigger state change";
                }
    
                leaf track-state {
                  type boolean;
                  description
                    "State the track will transition to. Track state.
    True means track is up; False means track is
    down.";
                }
              }  // container delayed
    
              leaf tracke-name {
                type string {
                  length "0..33";
                }
                description "Track Name";
              }
    
              leaf type {
                type Track;
                description "Track type";
              }
    
              leaf track-state {
                type boolean;
                description "Track state";
              }
    
              leaf state-change-counter {
                type uint32;
                description
                  "State Change Counter";
              }
    
              leaf seconds-last-change {
                type uint64;
                units "second";
                description
                  "Seconds Last Change";
              }
    
              leaf mili-seconds-last-change {
                type uint64;
                units "second";
                description
                  "Mili Seconds Last Change";
              }
    
              leaf threshold-up {
                type uint32;
                description
                  "User specified threshold upper limit";
              }
    
              leaf threshold-down {
                type uint32;
                description
                  "User specified threshold lower limit";
              }
    
              leaf delay-up-time {
                type uint16;
                units "second";
                description
                  "Delay up time in Seconds";
              }
    
              leaf delay-up-config {
                type boolean;
                description
                  "True, if Delay up is set in config";
              }
    
              leaf delay-down-time {
                type uint16;
                units "second";
                description
                  "Delay down time in Seconds";
              }
    
              leaf delay-down-config {
                type boolean;
                description
                  "True, if Delay down is set in Config";
              }
            }  // list track-info
          }  // container track-type-interface
    
          container track-briefs {
            description
              "Object Tracking Track table brief";
            list track-brief {
              key "track-name";
              description
                "Track name - maximum 32 characters";
              leaf track-name {
                type dt1:Object-tracking-name-string;
                description "Track name";
              }
    
              list track-info-brief {
                description "track info brief";
                container track-type-info {
                  description
                    "Track type information";
                  container interface-tracks {
                    when
                      "../discriminant = 'interface-type'" {
                      description
                        "../discriminant = 'InterfaceType'";
                    }
                    description
                      "track type interface info";
                    leaf interface-name {
                      type string {
                        length "0..120";
                      }
                      description
                        "Interface Name";
                    }
                  }  // container interface-tracks
    
                  container route-tracks {
                    when
                      "../discriminant = 'route-type'" {
                      description
                        "../discriminant = 'RouteType'";
                    }
                    description
                      "track type route info";
                    leaf prefix {
                      type string {
                        length "0..46";
                      }
                      description
                        "IPv4 or IPv6 Prefix";
                    }
    
                    leaf prefix-length {
                      type uint32;
                      description
                        "Prefix Length";
                    }
    
                    leaf vrf {
                      type string {
                        length "0..120";
                      }
                      description "VRF Name";
                    }
    
                    leaf next-hop {
                      type string {
                        length "0..120";
                      }
                      description "Next Hop";
                    }
                  }  // container route-tracks
    
                  container bgp-nbr-af-tracks {
                    when
                      "../discriminant = 'bgp-nbr-af-type'" {
                      description
                        "../discriminant = 'BgpNbrAfType'";
                    }
                    description
                      "track type bgp nbr af info";
                    leaf is-neighbor-ipv4 {
                      type boolean;
                      description
                        "Is BGP neighbor addr IPv4";
                    }
    
                    leaf ipv4-address {
                      type inet:ipv4-address;
                      description "IPv4 address";
                    }
    
                    leaf ipv6-address {
                      type inet:ipv6-address;
                      description "IPv6 address";
                    }
    
                    leaf afi {
                      type uint16;
                      description "AFI";
                    }
    
                    leaf safi {
                      type uint8;
                      description "SAFI";
                    }
    
                    leaf neighbor-object-state {
                      type uint32;
                      description
                        "BGP neighborship state";
                    }
    
                    leaf disable-fib-check {
                      type boolean;
                      description
                        "Disable Neighbor's route reachablity state";
                    }
    
                    leaf neighbor-route-reach-state {
                      type boolean;
                      description
                        "BGP Neighbor's route reachablity state";
                    }
    
                    leaf vrf {
                      type string {
                        length "0..120";
                      }
                      description "VRF Name";
                    }
    
                    leaf ins {
                      type string {
                        length "0..120";
                      }
                      description "VRF Name";
                    }
                  }  // container bgp-nbr-af-tracks
    
                  container ipsla-tracks {
                    when
                      "../discriminant = 'ipsla-type'" {
                      description
                        "../discriminant = 'IpslaType'";
                    }
                    description
                      "track type rtr info";
                    leaf ipsla-op-id {
                      type uint32;
                      description "Op Id";
                    }
    
                    leaf rtt {
                      type uint32;
                      description "Latest RTT";
                    }
    
                    leaf return-code {
                      type uint32;
                      description
                        "Latest Return Code";
                    }
    
                    leaf return-code-string {
                      type string {
                        length "0..120";
                      }
                      description
                        "Latest Ret Code String";
                    }
                  }  // container ipsla-tracks
    
                  container bfd-tracks {
                    when
                      "../discriminant = 'bfd-type'" {
                      description
                        "../discriminant = 'BfdType'";
                    }
                    description
                      "track type bfdrtr info";
                    leaf interface-name {
                      type string {
                        length "0..120";
                      }
                      description
                        "Interface Name";
                    }
    
                    leaf destination-address {
                      type uint32;
                      description
                        "Destination Address";
                    }
    
                    leaf rate {
                      type uint32;
                      description "Rate";
                    }
    
                    leaf debounce-count {
                      type uint32;
                      description
                        "Debounce Count";
                    }
                  }  // container bfd-tracks
    
                  leaf discriminant {
                    type Track;
                    description "discriminant";
                  }
                }  // container track-type-info
    
                leaf tracke-name {
                  type string {
                    length "0..33";
                  }
                  description "Track Name";
                }
    
                leaf type {
                  type Track;
                  description "Track type";
                }
    
                leaf track-state {
                  type boolean;
                  description "Track state";
                }
              }  // list track-info-brief
            }  // list track-brief
          }  // container track-briefs
    
          container track-type-rtr-reachability {
            description
              "Object Tracking Type RTR Reachability info";
            list track-info {
              description "track info";
              container track-type-info {
                description
                  "Track type information";
                container interface-tracks {
                  when
                    "../discriminant = 'interface-type'" {
                    description
                      "../discriminant = 'InterfaceType'";
                  }
                  description
                    "track type interface info";
                  leaf interface-name {
                    type string {
                      length "0..120";
                    }
                    description "Interface Name";
                  }
                }  // container interface-tracks
    
                container route-tracks {
                  when
                    "../discriminant = 'route-type'" {
                    description
                      "../discriminant = 'RouteType'";
                  }
                  description
                    "track type route info";
                  leaf prefix {
                    type string {
                      length "0..46";
                    }
                    description
                      "IPv4 or IPv6 Prefix";
                  }
    
                  leaf prefix-length {
                    type uint32;
                    description "Prefix Length";
                  }
    
                  leaf vrf {
                    type string {
                      length "0..120";
                    }
                    description "VRF Name";
                  }
    
                  leaf next-hop {
                    type string {
                      length "0..120";
                    }
                    description "Next Hop";
                  }
                }  // container route-tracks
    
                container bgp-nbr-af-tracks {
                  when
                    "../discriminant = 'bgp-nbr-af-type'" {
                    description
                      "../discriminant = 'BgpNbrAfType'";
                  }
                  description
                    "track type bgp nbr af info";
                  leaf is-neighbor-ipv4 {
                    type boolean;
                    description
                      "Is BGP neighbor addr IPv4";
                  }
    
                  leaf ipv4-address {
                    type inet:ipv4-address;
                    description "IPv4 address";
                  }
    
                  leaf ipv6-address {
                    type inet:ipv6-address;
                    description "IPv6 address";
                  }
    
                  leaf afi {
                    type uint16;
                    description "AFI";
                  }
    
                  leaf safi {
                    type uint8;
                    description "SAFI";
                  }
    
                  leaf neighbor-object-state {
                    type uint32;
                    description
                      "BGP neighborship state";
                  }
    
                  leaf disable-fib-check {
                    type boolean;
                    description
                      "Disable Neighbor's route reachablity state";
                  }
    
                  leaf neighbor-route-reach-state {
                    type boolean;
                    description
                      "BGP Neighbor's route reachablity state";
                  }
    
                  leaf vrf {
                    type string {
                      length "0..120";
                    }
                    description "VRF Name";
                  }
    
                  leaf ins {
                    type string {
                      length "0..120";
                    }
                    description "VRF Name";
                  }
                }  // container bgp-nbr-af-tracks
    
                container ipsla-tracks {
                  when
                    "../discriminant = 'ipsla-type'" {
                    description
                      "../discriminant = 'IpslaType'";
                  }
                  description
                    "track type rtr info";
                  leaf ipsla-op-id {
                    type uint32;
                    description "Op Id";
                  }
    
                  leaf rtt {
                    type uint32;
                    description "Latest RTT";
                  }
    
                  leaf return-code {
                    type uint32;
                    description
                      "Latest Return Code";
                  }
    
                  leaf return-code-string {
                    type string {
                      length "0..120";
                    }
                    description
                      "Latest Ret Code String";
                  }
                }  // container ipsla-tracks
    
                container bfd-tracks {
                  when
                    "../discriminant = 'bfd-type'" {
                    description
                      "../discriminant = 'BfdType'";
                  }
                  description
                    "track type bfdrtr info";
                  leaf interface-name {
                    type string {
                      length "0..120";
                    }
                    description "Interface Name";
                  }
    
                  leaf destination-address {
                    type uint32;
                    description
                      "Destination Address";
                  }
    
                  leaf rate {
                    type uint32;
                    description "Rate";
                  }
    
                  leaf debounce-count {
                    type uint32;
                    description "Debounce Count";
                  }
                }  // container bfd-tracks
    
                leaf discriminant {
                  type Track;
                  description "discriminant";
                }
              }  // container track-type-info
    
              container bool-tracks {
                description "boolean objects";
                list bool-track-info {
                  description "bool track info";
                  leaf object-name {
                    type string {
                      length "0..33";
                    }
                    description "Object Name";
                  }
    
                  leaf track-state {
                    type boolean;
                    description "Track state";
                  }
    
                  leaf with-not {
                    type boolean;
                    description
                      "Track object with Not";
                  }
                }  // list bool-track-info
              }  // container bool-tracks
    
              container threshold-tracks {
                description "Threshold objects";
                list threshold-track-info {
                  description
                    "threshold track info";
                  leaf object-name {
                    type string {
                      length "0..33";
                    }
                    description "Object name";
                  }
    
                  leaf track-state {
                    type boolean;
                    description
                      "Track state. True means track is up; False
    means track is down.";
                  }
    
                  leaf weight {
                    type uint32;
                    units "percentage";
                    description
                      "Weight is the number assigned to a track object
    . In case of a type threshold weight( i.e.
    weighted sum list), weight is asigned by User
    at the time of configuration. In case of a type
    threshold percentage (i.e. percentage based
    list), weight is internally computed by
    (1/N)x100, where N is the number of objects in
    the list.";
                  }
                }  // list threshold-track-info
              }  // container threshold-tracks
    
              container tracking-interaces {
                description
                  "Tracking Interfaces";
                list interface-tracking-info {
                  description
                    "interface tracking info";
                  leaf interface-name {
                    type string {
                      length "0..120";
                    }
                    description "Interface Name";
                  }
                }  // list interface-tracking-info
              }  // container tracking-interaces
    
              container delayed {
                description
                  "Is the state change delay counter in progress";
                leaf time-remaining {
                  type uint32;
                  units "second";
                  description
                    "The time remaining in seconds for the counter to
    trigger state change";
                }
    
                leaf track-state {
                  type boolean;
                  description
                    "State the track will transition to. Track state.
    True means track is up; False means track is
    down.";
                }
              }  // container delayed
    
              leaf tracke-name {
                type string {
                  length "0..33";
                }
                description "Track Name";
              }
    
              leaf type {
                type Track;
                description "Track type";
              }
    
              leaf track-state {
                type boolean;
                description "Track state";
              }
    
              leaf state-change-counter {
                type uint32;
                description
                  "State Change Counter";
              }
    
              leaf seconds-last-change {
                type uint64;
                units "second";
                description
                  "Seconds Last Change";
              }
    
              leaf mili-seconds-last-change {
                type uint64;
                units "second";
                description
                  "Mili Seconds Last Change";
              }
    
              leaf threshold-up {
                type uint32;
                description
                  "User specified threshold upper limit";
              }
    
              leaf threshold-down {
                type uint32;
                description
                  "User specified threshold lower limit";
              }
    
              leaf delay-up-time {
                type uint16;
                units "second";
                description
                  "Delay up time in Seconds";
              }
    
              leaf delay-up-config {
                type boolean;
                description
                  "True, if Delay up is set in config";
              }
    
              leaf delay-down-time {
                type uint16;
                units "second";
                description
                  "Delay down time in Seconds";
              }
    
              leaf delay-down-config {
                type boolean;
                description
                  "True, if Delay down is set in Config";
              }
            }  // list track-info
          }  // container track-type-rtr-reachability
    
          container track-type-rtr-reachability-brief {
            description
              "Object Tracking Type RTR Reachability brief info";
            list track-info-brief {
              description "track info brief";
              container track-type-info {
                description
                  "Track type information";
                container interface-tracks {
                  when
                    "../discriminant = 'interface-type'" {
                    description
                      "../discriminant = 'InterfaceType'";
                  }
                  description
                    "track type interface info";
                  leaf interface-name {
                    type string {
                      length "0..120";
                    }
                    description "Interface Name";
                  }
                }  // container interface-tracks
    
                container route-tracks {
                  when
                    "../discriminant = 'route-type'" {
                    description
                      "../discriminant = 'RouteType'";
                  }
                  description
                    "track type route info";
                  leaf prefix {
                    type string {
                      length "0..46";
                    }
                    description
                      "IPv4 or IPv6 Prefix";
                  }
    
                  leaf prefix-length {
                    type uint32;
                    description "Prefix Length";
                  }
    
                  leaf vrf {
                    type string {
                      length "0..120";
                    }
                    description "VRF Name";
                  }
    
                  leaf next-hop {
                    type string {
                      length "0..120";
                    }
                    description "Next Hop";
                  }
                }  // container route-tracks
    
                container bgp-nbr-af-tracks {
                  when
                    "../discriminant = 'bgp-nbr-af-type'" {
                    description
                      "../discriminant = 'BgpNbrAfType'";
                  }
                  description
                    "track type bgp nbr af info";
                  leaf is-neighbor-ipv4 {
                    type boolean;
                    description
                      "Is BGP neighbor addr IPv4";
                  }
    
                  leaf ipv4-address {
                    type inet:ipv4-address;
                    description "IPv4 address";
                  }
    
                  leaf ipv6-address {
                    type inet:ipv6-address;
                    description "IPv6 address";
                  }
    
                  leaf afi {
                    type uint16;
                    description "AFI";
                  }
    
                  leaf safi {
                    type uint8;
                    description "SAFI";
                  }
    
                  leaf neighbor-object-state {
                    type uint32;
                    description
                      "BGP neighborship state";
                  }
    
                  leaf disable-fib-check {
                    type boolean;
                    description
                      "Disable Neighbor's route reachablity state";
                  }
    
                  leaf neighbor-route-reach-state {
                    type boolean;
                    description
                      "BGP Neighbor's route reachablity state";
                  }
    
                  leaf vrf {
                    type string {
                      length "0..120";
                    }
                    description "VRF Name";
                  }
    
                  leaf ins {
                    type string {
                      length "0..120";
                    }
                    description "VRF Name";
                  }
                }  // container bgp-nbr-af-tracks
    
                container ipsla-tracks {
                  when
                    "../discriminant = 'ipsla-type'" {
                    description
                      "../discriminant = 'IpslaType'";
                  }
                  description
                    "track type rtr info";
                  leaf ipsla-op-id {
                    type uint32;
                    description "Op Id";
                  }
    
                  leaf rtt {
                    type uint32;
                    description "Latest RTT";
                  }
    
                  leaf return-code {
                    type uint32;
                    description
                      "Latest Return Code";
                  }
    
                  leaf return-code-string {
                    type string {
                      length "0..120";
                    }
                    description
                      "Latest Ret Code String";
                  }
                }  // container ipsla-tracks
    
                container bfd-tracks {
                  when
                    "../discriminant = 'bfd-type'" {
                    description
                      "../discriminant = 'BfdType'";
                  }
                  description
                    "track type bfdrtr info";
                  leaf interface-name {
                    type string {
                      length "0..120";
                    }
                    description "Interface Name";
                  }
    
                  leaf destination-address {
                    type uint32;
                    description
                      "Destination Address";
                  }
    
                  leaf rate {
                    type uint32;
                    description "Rate";
                  }
    
                  leaf debounce-count {
                    type uint32;
                    description "Debounce Count";
                  }
                }  // container bfd-tracks
    
                leaf discriminant {
                  type Track;
                  description "discriminant";
                }
              }  // container track-type-info
    
              leaf tracke-name {
                type string {
                  length "0..33";
                }
                description "Track Name";
              }
    
              leaf type {
                type Track;
                description "Track type";
              }
    
              leaf track-state {
                type boolean;
                description "Track state";
              }
            }  // list track-info-brief
          }  // container track-type-rtr-reachability-brief
    
          container tracks {
            description
              "Object Tracking Track table";
            list track {
              key "track-name";
              description
                "Track name - maximum 32 characters";
              leaf track-name {
                type dt1:Object-tracking-name-string;
                description "Track name";
              }
    
              list track-info {
                description "track info";
                container track-type-info {
                  description
                    "Track type information";
                  container interface-tracks {
                    when
                      "../discriminant = 'interface-type'" {
                      description
                        "../discriminant = 'InterfaceType'";
                    }
                    description
                      "track type interface info";
                    leaf interface-name {
                      type string {
                        length "0..120";
                      }
                      description
                        "Interface Name";
                    }
                  }  // container interface-tracks
    
                  container route-tracks {
                    when
                      "../discriminant = 'route-type'" {
                      description
                        "../discriminant = 'RouteType'";
                    }
                    description
                      "track type route info";
                    leaf prefix {
                      type string {
                        length "0..46";
                      }
                      description
                        "IPv4 or IPv6 Prefix";
                    }
    
                    leaf prefix-length {
                      type uint32;
                      description
                        "Prefix Length";
                    }
    
                    leaf vrf {
                      type string {
                        length "0..120";
                      }
                      description "VRF Name";
                    }
    
                    leaf next-hop {
                      type string {
                        length "0..120";
                      }
                      description "Next Hop";
                    }
                  }  // container route-tracks
    
                  container bgp-nbr-af-tracks {
                    when
                      "../discriminant = 'bgp-nbr-af-type'" {
                      description
                        "../discriminant = 'BgpNbrAfType'";
                    }
                    description
                      "track type bgp nbr af info";
                    leaf is-neighbor-ipv4 {
                      type boolean;
                      description
                        "Is BGP neighbor addr IPv4";
                    }
    
                    leaf ipv4-address {
                      type inet:ipv4-address;
                      description "IPv4 address";
                    }
    
                    leaf ipv6-address {
                      type inet:ipv6-address;
                      description "IPv6 address";
                    }
    
                    leaf afi {
                      type uint16;
                      description "AFI";
                    }
    
                    leaf safi {
                      type uint8;
                      description "SAFI";
                    }
    
                    leaf neighbor-object-state {
                      type uint32;
                      description
                        "BGP neighborship state";
                    }
    
                    leaf disable-fib-check {
                      type boolean;
                      description
                        "Disable Neighbor's route reachablity state";
                    }
    
                    leaf neighbor-route-reach-state {
                      type boolean;
                      description
                        "BGP Neighbor's route reachablity state";
                    }
    
                    leaf vrf {
                      type string {
                        length "0..120";
                      }
                      description "VRF Name";
                    }
    
                    leaf ins {
                      type string {
                        length "0..120";
                      }
                      description "VRF Name";
                    }
                  }  // container bgp-nbr-af-tracks
    
                  container ipsla-tracks {
                    when
                      "../discriminant = 'ipsla-type'" {
                      description
                        "../discriminant = 'IpslaType'";
                    }
                    description
                      "track type rtr info";
                    leaf ipsla-op-id {
                      type uint32;
                      description "Op Id";
                    }
    
                    leaf rtt {
                      type uint32;
                      description "Latest RTT";
                    }
    
                    leaf return-code {
                      type uint32;
                      description
                        "Latest Return Code";
                    }
    
                    leaf return-code-string {
                      type string {
                        length "0..120";
                      }
                      description
                        "Latest Ret Code String";
                    }
                  }  // container ipsla-tracks
    
                  container bfd-tracks {
                    when
                      "../discriminant = 'bfd-type'" {
                      description
                        "../discriminant = 'BfdType'";
                    }
                    description
                      "track type bfdrtr info";
                    leaf interface-name {
                      type string {
                        length "0..120";
                      }
                      description
                        "Interface Name";
                    }
    
                    leaf destination-address {
                      type uint32;
                      description
                        "Destination Address";
                    }
    
                    leaf rate {
                      type uint32;
                      description "Rate";
                    }
    
                    leaf debounce-count {
                      type uint32;
                      description
                        "Debounce Count";
                    }
                  }  // container bfd-tracks
    
                  leaf discriminant {
                    type Track;
                    description "discriminant";
                  }
                }  // container track-type-info
    
                container bool-tracks {
                  description "boolean objects";
                  list bool-track-info {
                    description
                      "bool track info";
                    leaf object-name {
                      type string {
                        length "0..33";
                      }
                      description "Object Name";
                    }
    
                    leaf track-state {
                      type boolean;
                      description "Track state";
                    }
    
                    leaf with-not {
                      type boolean;
                      description
                        "Track object with Not";
                    }
                  }  // list bool-track-info
                }  // container bool-tracks
    
                container threshold-tracks {
                  description
                    "Threshold objects";
                  list threshold-track-info {
                    description
                      "threshold track info";
                    leaf object-name {
                      type string {
                        length "0..33";
                      }
                      description "Object name";
                    }
    
                    leaf track-state {
                      type boolean;
                      description
                        "Track state. True means track is up; False
    means track is down.";
                    }
    
                    leaf weight {
                      type uint32;
                      units "percentage";
                      description
                        "Weight is the number assigned to a track object
    . In case of a type threshold weight( i.e.
    weighted sum list), weight is asigned by User
    at the time of configuration. In case of a type
    threshold percentage (i.e. percentage based
    list), weight is internally computed by
    (1/N)x100, where N is the number of objects in
    the list.";
                    }
                  }  // list threshold-track-info
                }  // container threshold-tracks
    
                container tracking-interaces {
                  description
                    "Tracking Interfaces";
                  list interface-tracking-info {
                    description
                      "interface tracking info";
                    leaf interface-name {
                      type string {
                        length "0..120";
                      }
                      description
                        "Interface Name";
                    }
                  }  // list interface-tracking-info
                }  // container tracking-interaces
    
                container delayed {
                  description
                    "Is the state change delay counter in progress";
                  leaf time-remaining {
                    type uint32;
                    units "second";
                    description
                      "The time remaining in seconds for the counter to
    trigger state change";
                  }
    
                  leaf track-state {
                    type boolean;
                    description
                      "State the track will transition to. Track state.
    True means track is up; False means track is
    down.";
                  }
                }  // container delayed
    
                leaf tracke-name {
                  type string {
                    length "0..33";
                  }
                  description "Track Name";
                }
    
                leaf type {
                  type Track;
                  description "Track type";
                }
    
                leaf track-state {
                  type boolean;
                  description "Track state";
                }
    
                leaf state-change-counter {
                  type uint32;
                  description
                    "State Change Counter";
                }
    
                leaf seconds-last-change {
                  type uint64;
                  units "second";
                  description
                    "Seconds Last Change";
                }
    
                leaf mili-seconds-last-change {
                  type uint64;
                  units "second";
                  description
                    "Mili Seconds Last Change";
                }
    
                leaf threshold-up {
                  type uint32;
                  description
                    "User specified threshold upper limit";
                }
    
                leaf threshold-down {
                  type uint32;
                  description
                    "User specified threshold lower limit";
                }
    
                leaf delay-up-time {
                  type uint16;
                  units "second";
                  description
                    "Delay up time in Seconds";
                }
    
                leaf delay-up-config {
                  type boolean;
                  description
                    "True, if Delay up is set in config";
                }
    
                leaf delay-down-time {
                  type uint16;
                  units "second";
                  description
                    "Delay down time in Seconds";
                }
    
                leaf delay-down-config {
                  type boolean;
                  description
                    "True, if Delay down is set in Config";
                }
              }  // list track-info
            }  // list track
          }  // container tracks
    
          container track-type-route {
            description
              "Object Tracking Type Route info";
            list track-info {
              description "track info";
              container track-type-info {
                description
                  "Track type information";
                container interface-tracks {
                  when
                    "../discriminant = 'interface-type'" {
                    description
                      "../discriminant = 'InterfaceType'";
                  }
                  description
                    "track type interface info";
                  leaf interface-name {
                    type string {
                      length "0..120";
                    }
                    description "Interface Name";
                  }
                }  // container interface-tracks
    
                container route-tracks {
                  when
                    "../discriminant = 'route-type'" {
                    description
                      "../discriminant = 'RouteType'";
                  }
                  description
                    "track type route info";
                  leaf prefix {
                    type string {
                      length "0..46";
                    }
                    description
                      "IPv4 or IPv6 Prefix";
                  }
    
                  leaf prefix-length {
                    type uint32;
                    description "Prefix Length";
                  }
    
                  leaf vrf {
                    type string {
                      length "0..120";
                    }
                    description "VRF Name";
                  }
    
                  leaf next-hop {
                    type string {
                      length "0..120";
                    }
                    description "Next Hop";
                  }
                }  // container route-tracks
    
                container bgp-nbr-af-tracks {
                  when
                    "../discriminant = 'bgp-nbr-af-type'" {
                    description
                      "../discriminant = 'BgpNbrAfType'";
                  }
                  description
                    "track type bgp nbr af info";
                  leaf is-neighbor-ipv4 {
                    type boolean;
                    description
                      "Is BGP neighbor addr IPv4";
                  }
    
                  leaf ipv4-address {
                    type inet:ipv4-address;
                    description "IPv4 address";
                  }
    
                  leaf ipv6-address {
                    type inet:ipv6-address;
                    description "IPv6 address";
                  }
    
                  leaf afi {
                    type uint16;
                    description "AFI";
                  }
    
                  leaf safi {
                    type uint8;
                    description "SAFI";
                  }
    
                  leaf neighbor-object-state {
                    type uint32;
                    description
                      "BGP neighborship state";
                  }
    
                  leaf disable-fib-check {
                    type boolean;
                    description
                      "Disable Neighbor's route reachablity state";
                  }
    
                  leaf neighbor-route-reach-state {
                    type boolean;
                    description
                      "BGP Neighbor's route reachablity state";
                  }
    
                  leaf vrf {
                    type string {
                      length "0..120";
                    }
                    description "VRF Name";
                  }
    
                  leaf ins {
                    type string {
                      length "0..120";
                    }
                    description "VRF Name";
                  }
                }  // container bgp-nbr-af-tracks
    
                container ipsla-tracks {
                  when
                    "../discriminant = 'ipsla-type'" {
                    description
                      "../discriminant = 'IpslaType'";
                  }
                  description
                    "track type rtr info";
                  leaf ipsla-op-id {
                    type uint32;
                    description "Op Id";
                  }
    
                  leaf rtt {
                    type uint32;
                    description "Latest RTT";
                  }
    
                  leaf return-code {
                    type uint32;
                    description
                      "Latest Return Code";
                  }
    
                  leaf return-code-string {
                    type string {
                      length "0..120";
                    }
                    description
                      "Latest Ret Code String";
                  }
                }  // container ipsla-tracks
    
                container bfd-tracks {
                  when
                    "../discriminant = 'bfd-type'" {
                    description
                      "../discriminant = 'BfdType'";
                  }
                  description
                    "track type bfdrtr info";
                  leaf interface-name {
                    type string {
                      length "0..120";
                    }
                    description "Interface Name";
                  }
    
                  leaf destination-address {
                    type uint32;
                    description
                      "Destination Address";
                  }
    
                  leaf rate {
                    type uint32;
                    description "Rate";
                  }
    
                  leaf debounce-count {
                    type uint32;
                    description "Debounce Count";
                  }
                }  // container bfd-tracks
    
                leaf discriminant {
                  type Track;
                  description "discriminant";
                }
              }  // container track-type-info
    
              container bool-tracks {
                description "boolean objects";
                list bool-track-info {
                  description "bool track info";
                  leaf object-name {
                    type string {
                      length "0..33";
                    }
                    description "Object Name";
                  }
    
                  leaf track-state {
                    type boolean;
                    description "Track state";
                  }
    
                  leaf with-not {
                    type boolean;
                    description
                      "Track object with Not";
                  }
                }  // list bool-track-info
              }  // container bool-tracks
    
              container threshold-tracks {
                description "Threshold objects";
                list threshold-track-info {
                  description
                    "threshold track info";
                  leaf object-name {
                    type string {
                      length "0..33";
                    }
                    description "Object name";
                  }
    
                  leaf track-state {
                    type boolean;
                    description
                      "Track state. True means track is up; False
    means track is down.";
                  }
    
                  leaf weight {
                    type uint32;
                    units "percentage";
                    description
                      "Weight is the number assigned to a track object
    . In case of a type threshold weight( i.e.
    weighted sum list), weight is asigned by User
    at the time of configuration. In case of a type
    threshold percentage (i.e. percentage based
    list), weight is internally computed by
    (1/N)x100, where N is the number of objects in
    the list.";
                  }
                }  // list threshold-track-info
              }  // container threshold-tracks
    
              container tracking-interaces {
                description
                  "Tracking Interfaces";
                list interface-tracking-info {
                  description
                    "interface tracking info";
                  leaf interface-name {
                    type string {
                      length "0..120";
                    }
                    description "Interface Name";
                  }
                }  // list interface-tracking-info
              }  // container tracking-interaces
    
              container delayed {
                description
                  "Is the state change delay counter in progress";
                leaf time-remaining {
                  type uint32;
                  units "second";
                  description
                    "The time remaining in seconds for the counter to
    trigger state change";
                }
    
                leaf track-state {
                  type boolean;
                  description
                    "State the track will transition to. Track state.
    True means track is up; False means track is
    down.";
                }
              }  // container delayed
    
              leaf tracke-name {
                type string {
                  length "0..33";
                }
                description "Track Name";
              }
    
              leaf type {
                type Track;
                description "Track type";
              }
    
              leaf track-state {
                type boolean;
                description "Track state";
              }
    
              leaf state-change-counter {
                type uint32;
                description
                  "State Change Counter";
              }
    
              leaf seconds-last-change {
                type uint64;
                units "second";
                description
                  "Seconds Last Change";
              }
    
              leaf mili-seconds-last-change {
                type uint64;
                units "second";
                description
                  "Mili Seconds Last Change";
              }
    
              leaf threshold-up {
                type uint32;
                description
                  "User specified threshold upper limit";
              }
    
              leaf threshold-down {
                type uint32;
                description
                  "User specified threshold lower limit";
              }
    
              leaf delay-up-time {
                type uint16;
                units "second";
                description
                  "Delay up time in Seconds";
              }
    
              leaf delay-up-config {
                type boolean;
                description
                  "True, if Delay up is set in config";
              }
    
              leaf delay-down-time {
                type uint16;
                units "second";
                description
                  "Delay down time in Seconds";
              }
    
              leaf delay-down-config {
                type boolean;
                description
                  "True, if Delay down is set in Config";
              }
            }  // list track-info
          }  // container track-type-route
    
          container track-type-route-brief {
            description
              "Object Tracking Type Route brief info";
            list track-info-brief {
              description "track info brief";
              container track-type-info {
                description
                  "Track type information";
                container interface-tracks {
                  when
                    "../discriminant = 'interface-type'" {
                    description
                      "../discriminant = 'InterfaceType'";
                  }
                  description
                    "track type interface info";
                  leaf interface-name {
                    type string {
                      length "0..120";
                    }
                    description "Interface Name";
                  }
                }  // container interface-tracks
    
                container route-tracks {
                  when
                    "../discriminant = 'route-type'" {
                    description
                      "../discriminant = 'RouteType'";
                  }
                  description
                    "track type route info";
                  leaf prefix {
                    type string {
                      length "0..46";
                    }
                    description
                      "IPv4 or IPv6 Prefix";
                  }
    
                  leaf prefix-length {
                    type uint32;
                    description "Prefix Length";
                  }
    
                  leaf vrf {
                    type string {
                      length "0..120";
                    }
                    description "VRF Name";
                  }
    
                  leaf next-hop {
                    type string {
                      length "0..120";
                    }
                    description "Next Hop";
                  }
                }  // container route-tracks
    
                container bgp-nbr-af-tracks {
                  when
                    "../discriminant = 'bgp-nbr-af-type'" {
                    description
                      "../discriminant = 'BgpNbrAfType'";
                  }
                  description
                    "track type bgp nbr af info";
                  leaf is-neighbor-ipv4 {
                    type boolean;
                    description
                      "Is BGP neighbor addr IPv4";
                  }
    
                  leaf ipv4-address {
                    type inet:ipv4-address;
                    description "IPv4 address";
                  }
    
                  leaf ipv6-address {
                    type inet:ipv6-address;
                    description "IPv6 address";
                  }
    
                  leaf afi {
                    type uint16;
                    description "AFI";
                  }
    
                  leaf safi {
                    type uint8;
                    description "SAFI";
                  }
    
                  leaf neighbor-object-state {
                    type uint32;
                    description
                      "BGP neighborship state";
                  }
    
                  leaf disable-fib-check {
                    type boolean;
                    description
                      "Disable Neighbor's route reachablity state";
                  }
    
                  leaf neighbor-route-reach-state {
                    type boolean;
                    description
                      "BGP Neighbor's route reachablity state";
                  }
    
                  leaf vrf {
                    type string {
                      length "0..120";
                    }
                    description "VRF Name";
                  }
    
                  leaf ins {
                    type string {
                      length "0..120";
                    }
                    description "VRF Name";
                  }
                }  // container bgp-nbr-af-tracks
    
                container ipsla-tracks {
                  when
                    "../discriminant = 'ipsla-type'" {
                    description
                      "../discriminant = 'IpslaType'";
                  }
                  description
                    "track type rtr info";
                  leaf ipsla-op-id {
                    type uint32;
                    description "Op Id";
                  }
    
                  leaf rtt {
                    type uint32;
                    description "Latest RTT";
                  }
    
                  leaf return-code {
                    type uint32;
                    description
                      "Latest Return Code";
                  }
    
                  leaf return-code-string {
                    type string {
                      length "0..120";
                    }
                    description
                      "Latest Ret Code String";
                  }
                }  // container ipsla-tracks
    
                container bfd-tracks {
                  when
                    "../discriminant = 'bfd-type'" {
                    description
                      "../discriminant = 'BfdType'";
                  }
                  description
                    "track type bfdrtr info";
                  leaf interface-name {
                    type string {
                      length "0..120";
                    }
                    description "Interface Name";
                  }
    
                  leaf destination-address {
                    type uint32;
                    description
                      "Destination Address";
                  }
    
                  leaf rate {
                    type uint32;
                    description "Rate";
                  }
    
                  leaf debounce-count {
                    type uint32;
                    description "Debounce Count";
                  }
                }  // container bfd-tracks
    
                leaf discriminant {
                  type Track;
                  description "discriminant";
                }
              }  // container track-type-info
    
              leaf tracke-name {
                type string {
                  length "0..33";
                }
                description "Track Name";
              }
    
              leaf type {
                type Track;
                description "Track type";
              }
    
              leaf track-state {
                type boolean;
                description "Track state";
              }
            }  // list track-info-brief
          }  // container track-type-route-brief
    
          container track-type-interface-brief {
            description
              "Object Tracking Type Interface brief info";
            list track-info-brief {
              description "track info brief";
              container track-type-info {
                description
                  "Track type information";
                container interface-tracks {
                  when
                    "../discriminant = 'interface-type'" {
                    description
                      "../discriminant = 'InterfaceType'";
                  }
                  description
                    "track type interface info";
                  leaf interface-name {
                    type string {
                      length "0..120";
                    }
                    description "Interface Name";
                  }
                }  // container interface-tracks
    
                container route-tracks {
                  when
                    "../discriminant = 'route-type'" {
                    description
                      "../discriminant = 'RouteType'";
                  }
                  description
                    "track type route info";
                  leaf prefix {
                    type string {
                      length "0..46";
                    }
                    description
                      "IPv4 or IPv6 Prefix";
                  }
    
                  leaf prefix-length {
                    type uint32;
                    description "Prefix Length";
                  }
    
                  leaf vrf {
                    type string {
                      length "0..120";
                    }
                    description "VRF Name";
                  }
    
                  leaf next-hop {
                    type string {
                      length "0..120";
                    }
                    description "Next Hop";
                  }
                }  // container route-tracks
    
                container bgp-nbr-af-tracks {
                  when
                    "../discriminant = 'bgp-nbr-af-type'" {
                    description
                      "../discriminant = 'BgpNbrAfType'";
                  }
                  description
                    "track type bgp nbr af info";
                  leaf is-neighbor-ipv4 {
                    type boolean;
                    description
                      "Is BGP neighbor addr IPv4";
                  }
    
                  leaf ipv4-address {
                    type inet:ipv4-address;
                    description "IPv4 address";
                  }
    
                  leaf ipv6-address {
                    type inet:ipv6-address;
                    description "IPv6 address";
                  }
    
                  leaf afi {
                    type uint16;
                    description "AFI";
                  }
    
                  leaf safi {
                    type uint8;
                    description "SAFI";
                  }
    
                  leaf neighbor-object-state {
                    type uint32;
                    description
                      "BGP neighborship state";
                  }
    
                  leaf disable-fib-check {
                    type boolean;
                    description
                      "Disable Neighbor's route reachablity state";
                  }
    
                  leaf neighbor-route-reach-state {
                    type boolean;
                    description
                      "BGP Neighbor's route reachablity state";
                  }
    
                  leaf vrf {
                    type string {
                      length "0..120";
                    }
                    description "VRF Name";
                  }
    
                  leaf ins {
                    type string {
                      length "0..120";
                    }
                    description "VRF Name";
                  }
                }  // container bgp-nbr-af-tracks
    
                container ipsla-tracks {
                  when
                    "../discriminant = 'ipsla-type'" {
                    description
                      "../discriminant = 'IpslaType'";
                  }
                  description
                    "track type rtr info";
                  leaf ipsla-op-id {
                    type uint32;
                    description "Op Id";
                  }
    
                  leaf rtt {
                    type uint32;
                    description "Latest RTT";
                  }
    
                  leaf return-code {
                    type uint32;
                    description
                      "Latest Return Code";
                  }
    
                  leaf return-code-string {
                    type string {
                      length "0..120";
                    }
                    description
                      "Latest Ret Code String";
                  }
                }  // container ipsla-tracks
    
                container bfd-tracks {
                  when
                    "../discriminant = 'bfd-type'" {
                    description
                      "../discriminant = 'BfdType'";
                  }
                  description
                    "track type bfdrtr info";
                  leaf interface-name {
                    type string {
                      length "0..120";
                    }
                    description "Interface Name";
                  }
    
                  leaf destination-address {
                    type uint32;
                    description
                      "Destination Address";
                  }
    
                  leaf rate {
                    type uint32;
                    description "Rate";
                  }
    
                  leaf debounce-count {
                    type uint32;
                    description "Debounce Count";
                  }
                }  // container bfd-tracks
    
                leaf discriminant {
                  type Track;
                  description "discriminant";
                }
              }  // container track-type-info
    
              leaf tracke-name {
                type string {
                  length "0..33";
                }
                description "Track Name";
              }
    
              leaf type {
                type Track;
                description "Track type";
              }
    
              leaf track-state {
                type boolean;
                description "Track state";
              }
            }  // list track-info-brief
          }  // container track-type-interface-brief
        }  // container object-tracking
      }  // module Cisco-IOS-XR-manageability-object-tracking-oper
    

© 2023 YumaWorks, Inc. All rights reserved.